blob: 8d9870f1cec19dbc8d87c2b872eeff3fa1911e19 [file] [log] [blame]
Jeff Sharkey94635992015-04-13 14:15:26 -07001<?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 Changc1f86002018-12-11 02:22:55 +000017<com.google.android.setupdesign.GlifLayout
Jeff Sharkey94635992015-04-13 14:15:26 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Sharkey94635992015-04-13 14:15:26 -070019 android:id="@+id/setup_wizard_layout"
20 android:layout_width="match_parent"
pastychang28fd9b12018-12-20 16:54:38 +080021 android:layout_height="match_parent">
Jeff Sharkey94635992015-04-13 14:15:26 -070022
23 <LinearLayout
pastychang79614822019-01-03 10:12:54 +080024 style="@style/SudContentFrame"
Jeff Sharkey94635992015-04-13 14:15:26 -070025 android:layout_width="match_parent"
26 android:layout_height="match_parent"
27 android:orientation="vertical">
28
Jeff Sharkey2af67a92018-04-01 18:25:54 -060029 <LinearLayout
Jeff Sharkey94635992015-04-13 14:15:26 -070030 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080032 android:layout_marginTop="@dimen/sud_description_margin_top"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060033 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"
pastychang79614822019-01-03 10:12:54 +080044 android:layout_marginStart="@dimen/sud_glif_margin_sides"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060045 android:orientation="vertical">
46 <TextView
47 android:layout_width="match_parent"
48 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080049 android:layout_marginBottom="@dimen/sud_description_margin_bottom"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050050 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060051 android:text="@string/storage_wizard_init_v2_internal_title" />
52 <TextView
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080055 android:layout_marginBottom="@dimen/sud_description_margin_bottom"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060056 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"
pastychang79614822019-01-03 10:12:54 +080060 style="@style/SudGlifButton.Primary"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060061 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 Sharkey94635992015-04-13 14:15:26 -070067
Jeff Sharkey2af67a92018-04-01 18:25:54 -060068 <LinearLayout
Jeff Sharkey94635992015-04-13 14:15:26 -070069 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080071 android:layout_marginTop="@dimen/sud_description_margin_top"
Jeff Sharkey2af67a92018-04-01 18:25:54 -060072 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 Sharkey94635992015-04-13 14:15:26 -070097 android:layout_width="match_parent"
98 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080099 android:layout_marginTop="@dimen/sud_description_margin_top"
Jeff Sharkey2af67a92018-04-01 18:25:54 -0600100 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"
pastychang79614822019-01-03 10:12:54 +0800111 android:layout_marginStart="@dimen/sud_glif_margin_sides"
Jeff Sharkey2af67a92018-04-01 18:25:54 -0600112 android:orientation="vertical">
113 <TextView
114 android:layout_width="match_parent"
115 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +0800116 android:layout_marginBottom="@dimen/sud_description_margin_bottom"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500117 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Jeff Sharkey2af67a92018-04-01 18:25:54 -0600118 android:text="@string/storage_wizard_init_v2_external_title" />
119 <TextView
120 android:layout_width="match_parent"
121 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +0800122 android:layout_marginBottom="@dimen/sud_description_margin_bottom"
Jeff Sharkey2af67a92018-04-01 18:25:54 -0600123 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"
pastychang79614822019-01-03 10:12:54 +0800127 style="@style/SudGlifButton.Primary"
Jeff Sharkey2af67a92018-04-01 18:25:54 -0600128 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 Sharkey94635992015-04-13 14:15:26 -0700134
135 </LinearLayout>
136
Pasty Changc1f86002018-12-11 02:22:55 +0000137</com.google.android.setupdesign.GlifLayout>