|
| 1 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + android:layout_width="match_parent" |
| 5 | + android:layout_height="match_parent" |
| 6 | + android:background="@color/arduino_clouds" |
| 7 | + tools:context="com.google.android.apps.forscience.whistlepunk.gdrivesync.GDriveSyncSetupActivity"> |
| 8 | + |
| 9 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 10 | + android:id="@+id/drive_header" |
| 11 | + android:layout_width="0dp" |
| 12 | + android:layout_height="wrap_content" |
| 13 | + android:clipChildren="false" |
| 14 | + android:paddingTop="20dp" |
| 15 | + app:layout_constraintEnd_toEndOf="parent" |
| 16 | + app:layout_constraintStart_toStartOf="parent" |
| 17 | + app:layout_constraintTop_toTopOf="parent"> |
| 18 | + |
| 19 | + <View |
| 20 | + android:id="@+id/placeholder_start" |
| 21 | + android:layout_width="48dp" |
| 22 | + android:layout_height="48dp" |
| 23 | + android:layout_marginStart="10dp" |
| 24 | + android:visibility="invisible" |
| 25 | + app:layout_constraintBottom_toBottomOf="parent" |
| 26 | + app:layout_constraintStart_toStartOf="parent" |
| 27 | + app:layout_constraintTop_toTopOf="parent" /> |
| 28 | + |
| 29 | + <View |
| 30 | + android:id="@+id/placeholder_end" |
| 31 | + android:layout_width="48dp" |
| 32 | + android:layout_height="48dp" |
| 33 | + android:layout_marginEnd="10dp" |
| 34 | + app:layout_constraintBottom_toBottomOf="parent" |
| 35 | + app:layout_constraintEnd_toEndOf="parent" |
| 36 | + app:layout_constraintTop_toTopOf="parent" /> |
| 37 | + |
| 38 | + <TextView |
| 39 | + style="@style/ArduinoAuth_Text.Header" |
| 40 | + android:layout_width="wrap_content" |
| 41 | + android:layout_height="wrap_content" |
| 42 | + android:contentDescription="@null" |
| 43 | + android:text="@string/drive_setup_step_3_title" |
| 44 | + app:layout_constraintBottom_toBottomOf="parent" |
| 45 | + app:layout_constraintEnd_toStartOf="@id/placeholder_end" |
| 46 | + app:layout_constraintStart_toEndOf="@id/placeholder_start" |
| 47 | + app:layout_constraintTop_toTopOf="parent" /> |
| 48 | + </androidx.constraintlayout.widget.ConstraintLayout> |
| 49 | + |
| 50 | + <TextView |
| 51 | + android:id="@+id/drive_description" |
| 52 | + style="@style/ArduinoAuth_Text" |
| 53 | + android:layout_width="wrap_content" |
| 54 | + android:layout_height="wrap_content" |
| 55 | + android:layout_marginTop="48dp" |
| 56 | + android:gravity="center" |
| 57 | + android:maxWidth="360dp" |
| 58 | + android:paddingStart="20dp" |
| 59 | + android:paddingEnd="20dp" |
| 60 | + android:text="@string/drive_setup_step_3_description" |
| 61 | + app:layout_constraintEnd_toEndOf="parent" |
| 62 | + app:layout_constraintStart_toStartOf="parent" |
| 63 | + app:layout_constraintTop_toBottomOf="@id/drive_header" /> |
| 64 | + |
| 65 | + <TextView |
| 66 | + android:id="@+id/drive_folder" |
| 67 | + style="@style/ArduinoAuth_Text" |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:layout_marginTop="20dp" |
| 71 | + android:background="@drawable/drive_step3_folder_bg" |
| 72 | + android:drawablePadding="10dp" |
| 73 | + android:gravity="center" |
| 74 | + android:maxWidth="300dp" |
| 75 | + android:padding="10dp" |
| 76 | + android:textColor="@color/arduino_gris" |
| 77 | + app:drawableStartCompat="@drawable/ic_drive_folder" |
| 78 | + app:layout_constraintEnd_toEndOf="parent" |
| 79 | + app:layout_constraintStart_toStartOf="parent" |
| 80 | + app:layout_constraintTop_toBottomOf="@id/drive_description" /> |
| 81 | + |
| 82 | + <TextView |
| 83 | + android:id="@+id/drive_btn_sync" |
| 84 | + style="@style/ArduinoAuth_Button" |
| 85 | + android:layout_width="wrap_content" |
| 86 | + android:layout_height="wrap_content" |
| 87 | + android:layout_marginTop="50dp" |
| 88 | + android:paddingStart="30dp" |
| 89 | + android:paddingEnd="30dp" |
| 90 | + android:text="@string/arduino_auth_settings_drive_start_button" |
| 91 | + app:layout_constraintEnd_toEndOf="parent" |
| 92 | + app:layout_constraintStart_toStartOf="parent" |
| 93 | + app:layout_constraintTop_toBottomOf="@id/drive_folder" /> |
| 94 | +</androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments