OSDN Git Service

Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
[android-x86/packages-apps-Settings.git] / res / layout-sw600dp / setup_preference.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3     Copyright (C) 2014 Google Inc.
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16 -->
17
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="match_parent"
21     android:orientation="vertical">
22
23     <com.android.settings.widget.SetupWizardIllustration
24         android:id="@+id/setup_illustration"
25         android:layout_width="match_parent"
26         android:layout_height="0dp"
27         android:layout_weight="1"
28         android:background="@drawable/setup_illustration_bg"
29         android:foreground="@drawable/setup_illustration">
30
31         <LinearLayout
32             android:layout_width="match_parent"
33             android:layout_height="match_parent"
34             android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
35             android:orientation="vertical"
36             android:paddingLeft="@dimen/setup_wizard_card_port_margin_sides"
37             android:paddingRight="@dimen/setup_wizard_card_port_margin_sides">
38
39             <TextView
40                 android:id="@+id/title"
41                 style="@style/SetupCardTitle"
42                 android:layout_width="match_parent"
43                 android:layout_height="wrap_content"
44                 android:text="@string/wifi_setup_wizard_title" />
45
46             <LinearLayout
47                 android:layout_width="match_parent"
48                 android:layout_height="0dp"
49                 android:layout_weight="1"
50                 android:background="@drawable/setup_wizard_card_bg"
51                 android:elevation="@dimen/setup_wizard_card_elevation"
52                 android:orientation="vertical">
53
54                 <TextView
55                     android:id="@+id/wifi_required_info"
56                     android:layout_width="match_parent"
57                     android:layout_height="wrap_content"
58                     android:layout_marginBottom="6dp"
59                     android:text="@string/wifi_required_info_text"
60                     android:textAppearance="?android:attr/textAppearanceMedium"
61                     android:visibility="gone" />
62
63                 <ListView
64                     android:id="@android:id/list"
65                     android:layout_width="match_parent"
66                     android:layout_height="0dp"
67                     android:layout_weight="1"
68                     android:cacheColorHint="@android:color/transparent"
69                     android:clipToPadding="false"
70                     android:drawSelectorOnTop="false"
71                     android:headerDividersEnabled="false"
72                     android:scrollbarAlwaysDrawVerticalTrack="true" />
73
74             </LinearLayout>
75
76         </LinearLayout>
77
78     </com.android.settings.widget.SetupWizardIllustration>
79
80     <fragment
81         android:id="@+id/navigation_bar"
82         android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
83         style="@style/setup_wizard_navbar_style" />
84
85 </LinearLayout>
86