1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** Copyright 2014, The Android Open Source Project 5 ** 6 ** Licensed under the Apache License, Version 2.0 (the "License"); 7 ** you may not use this file except in compliance with the License. 8 ** You may obtain a copy of the License at 9 ** 10 ** http://www.apache.org/licenses/LICENSE-2.0 11 ** 12 ** Unless required by applicable law or agreed to in writing, software 13 ** distributed under the License is distributed on an "AS IS" BASIS, 14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ** See the License for the specific language governing permissions and 16 ** limitations under the License. 17 */ 18 --> 19 20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/container_material" 22 android:orientation="vertical" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:background="@android:color/transparent"> 26 27 <FrameLayout android:id="@+id/pinned_header" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:visibility="gone" /> 31 32 <FrameLayout 33 android:id="@android:id/list_container" 34 android:layout_height="0px" 35 android:layout_weight="1" 36 android:layout_width="match_parent" 37 android:paddingStart="@dimen/settings_side_margin" 38 android:paddingEnd="@dimen/settings_side_margin"> 39 40 <ListView android:id="@+id/backup_list" 41 style="@style/PreferenceFragmentListSinglePane" 42 android:layout_width="match_parent" 43 android:layout_height="match_parent" 44 android:paddingTop="@dimen/dashboard_padding_top" 45 android:paddingBottom="@dimen/dashboard_padding_bottom" 46 android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle" 47 android:clipToPadding="false" 48 android:drawSelectorOnTop="false" 49 android:elevation="@dimen/dashboard_category_elevation" 50 android:visibility="gone" 51 android:scrollbarAlwaysDrawVerticalTrack="true" /> 52 53 <include layout="@layout/loading_container" /> 54 55 <com.android.settings.widget.FloatingActionButton 56 android:id="@+id/fab" 57 android:visibility="gone" 58 android:clickable="true" 59 android:layout_width="@dimen/fab_size" 60 android:layout_height="@dimen/fab_size" 61 android:layout_gravity="bottom|end" 62 android:layout_marginEnd="@dimen/fab_margin" 63 android:layout_marginBottom="@dimen/fab_margin" 64 android:elevation="@dimen/fab_elevation" 65 android:background="@drawable/fab_background" /> 66 67 </FrameLayout> 68 69 <TextView android:id="@android:id/empty" 70 android:layout_width="wrap_content" 71 android:layout_height="match_parent" 72 android:padding="@*android:dimen/preference_fragment_padding_side" 73 android:layout_gravity="center" 74 android:gravity="center_vertical" 75 android:visibility="gone" /> 76 77 <include layout="@layout/admin_support_details_empty_view" /> 78 79 <RelativeLayout android:id="@+id/button_bar" 80 android:layout_height="wrap_content" 81 android:layout_width="match_parent" 82 android:layout_weight="0" 83 android:visibility="gone"> 84 85 <Button android:id="@+id/back_button" 86 style="?android:attr/buttonBarButtonStyle" 87 android:layout_width="150dip" 88 android:layout_height="wrap_content" 89 android:layout_margin="5dip" 90 android:layout_alignParentStart="true" 91 android:text="@*android:string/back_button_label" 92 /> 93 94 <LinearLayout 95 android:orientation="horizontal" 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:layout_alignParentEnd="true"> 99 100 <Button android:id="@+id/skip_button" 101 style="?android:attr/buttonBarButtonStyle" 102 android:layout_width="wrap_content" 103 android:layout_height="wrap_content" 104 android:layout_margin="5dip" 105 android:text="@*android:string/skip_button_label" 106 android:visibility="gone" 107 /> 108 109 <Button android:id="@+id/next_button" 110 style="?android:attr/buttonBarButtonStyle" 111 android:layout_width="wrap_content" 112 android:layout_height="wrap_content" 113 android:layout_margin="5dip" 114 android:text="@*android:string/next_button_label" 115 /> 116 117 </LinearLayout> 118 119 </RelativeLayout> 120 121 </LinearLayout> 122 123