Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 17 | <com.google.android.setupdesign.GlifLayout |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 19 | android:id="@+id/setup_wizard_layout" |
| 20 | android:layout_width="match_parent" |
pastychang | 28fd9b1 | 2018-12-20 16:54:38 +0800 | [diff] [blame] | 21 | android:layout_height="match_parent"> |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 22 | |
| 23 | <LinearLayout |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 24 | style="@style/SudContentFrame" |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
| 27 | android:orientation="vertical"> |
| 28 | |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 29 | <LinearLayout |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 32 | android:layout_marginTop="@dimen/sud_description_margin_top" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 33 | android:orientation="horizontal" |
| 34 | android:gravity="center_vertical"> |
| 35 | <ImageView |
| 36 | android:layout_width="144dp" |
| 37 | android:layout_height="144dp" |
| 38 | android:scaleType="centerInside" |
| 39 | android:src="@drawable/ic_storage_wizard_internal" /> |
| 40 | <LinearLayout |
| 41 | android:layout_width="0dp" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_weight="1" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 44 | android:layout_marginStart="@dimen/sud_glif_margin_sides" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 45 | android:orientation="vertical"> |
| 46 | <TextView |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 49 | android:layout_marginBottom="@dimen/sud_description_margin_bottom" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 50 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 51 | android:text="@string/storage_wizard_init_v2_internal_title" /> |
| 52 | <TextView |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 55 | android:layout_marginBottom="@dimen/sud_description_margin_bottom" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 56 | android:textColor="?android:attr/textColorSecondary" |
| 57 | android:text="@string/storage_wizard_init_v2_internal_summary" /> |
| 58 | <Button |
| 59 | android:id="@+id/storage_wizard_init_internal" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 60 | style="@style/SudGlifButton.Primary" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:text="@string/storage_wizard_init_v2_internal_action" |
| 64 | android:onClick="onNavigateInternal" /> |
| 65 | </LinearLayout> |
| 66 | </LinearLayout> |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 67 | |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 68 | <LinearLayout |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 71 | android:layout_marginTop="@dimen/sud_description_margin_top" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 72 | android:orientation="horizontal" |
| 73 | android:gravity="center_vertical"> |
| 74 | <View |
| 75 | android:layout_width="0dp" |
| 76 | android:layout_height="1dp" |
| 77 | android:layout_weight="1" |
| 78 | android:background="@android:color/black" |
| 79 | android:backgroundTint="?android:attr/textColorTertiary" /> |
| 80 | <TextView |
| 81 | android:layout_width="wrap_content" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:layout_marginStart="8dp" |
| 84 | android:layout_marginEnd="8dp" |
| 85 | android:text="@string/storage_wizard_init_v2_or" |
| 86 | android:textColor="?android:attr/textColorTertiary" |
| 87 | android:textAllCaps="true" /> |
| 88 | <View |
| 89 | android:layout_width="0dp" |
| 90 | android:layout_height="1dp" |
| 91 | android:layout_weight="1" |
| 92 | android:background="@android:color/black" |
| 93 | android:backgroundTint="?android:attr/textColorTertiary" /> |
| 94 | </LinearLayout> |
| 95 | |
| 96 | <LinearLayout |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 97 | android:layout_width="match_parent" |
| 98 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 99 | android:layout_marginTop="@dimen/sud_description_margin_top" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 100 | android:orientation="horizontal" |
| 101 | android:gravity="center_vertical"> |
| 102 | <ImageView |
| 103 | android:layout_width="144dp" |
| 104 | android:layout_height="144dp" |
| 105 | android:scaleType="centerInside" |
| 106 | android:src="@drawable/ic_storage_wizard_external" /> |
| 107 | <LinearLayout |
| 108 | android:layout_width="0dp" |
| 109 | android:layout_height="wrap_content" |
| 110 | android:layout_weight="1" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 111 | android:layout_marginStart="@dimen/sud_glif_margin_sides" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 112 | android:orientation="vertical"> |
| 113 | <TextView |
| 114 | android:layout_width="match_parent" |
| 115 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 116 | android:layout_marginBottom="@dimen/sud_description_margin_bottom" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 117 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 118 | android:text="@string/storage_wizard_init_v2_external_title" /> |
| 119 | <TextView |
| 120 | android:layout_width="match_parent" |
| 121 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 122 | android:layout_marginBottom="@dimen/sud_description_margin_bottom" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 123 | android:textColor="?android:attr/textColorSecondary" |
| 124 | android:text="@string/storage_wizard_init_v2_external_summary" /> |
| 125 | <Button |
| 126 | android:id="@+id/storage_wizard_init_external" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 127 | style="@style/SudGlifButton.Primary" |
Jeff Sharkey | 2af67a9 | 2018-04-01 18:25:54 -0600 | [diff] [blame] | 128 | android:layout_width="wrap_content" |
| 129 | android:layout_height="wrap_content" |
| 130 | android:text="@string/storage_wizard_init_v2_external_action" |
| 131 | android:onClick="onNavigateExternal" /> |
| 132 | </LinearLayout> |
| 133 | </LinearLayout> |
Jeff Sharkey | 9463599 | 2015-04-13 14:15:26 -0700 | [diff] [blame] | 134 | |
| 135 | </LinearLayout> |
| 136 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 137 | </com.google.android.setupdesign.GlifLayout> |