Home | History | Annotate | Download | only in layout
      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="wrap_content"
     29                  android:layout_height="wrap_content"
     30                  android:visibility="gone" />
     31 
     32     <ListView android:id="@android:id/list"
     33               style="@style/PreferenceFragmentListSinglePane"
     34               android:layout_width="match_parent"
     35               android:layout_height="0px"
     36               android:layout_weight="1"
     37               android:paddingStart="@dimen/settings_side_margin"
     38               android:paddingEnd="@dimen/settings_side_margin"
     39               android:paddingTop="@dimen/dashboard_padding_top"
     40               android:paddingBottom="@dimen/dashboard_padding_bottom"
     41               android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle"
     42               android:clipToPadding="false"
     43               android:drawSelectorOnTop="false"
     44               android:elevation="@dimen/dashboard_category_elevation"
     45               android:scrollbarAlwaysDrawVerticalTrack="true" />
     46 
     47     <TextView android:id="@android:id/empty"
     48               android:layout_width="match_parent"
     49               android:layout_height="match_parent"
     50               android:padding="@*android:dimen/preference_fragment_padding_side"
     51               android:gravity="center"
     52               android:visibility="gone" />
     53 
     54     <RelativeLayout android:id="@+id/button_bar"
     55                     android:layout_height="wrap_content"
     56                     android:layout_width="match_parent"
     57                     android:layout_weight="0"
     58                     android:visibility="gone">
     59 
     60         <Button android:id="@+id/back_button"
     61                 android:layout_width="150dip"
     62                 android:layout_height="wrap_content"
     63                 android:layout_margin="5dip"
     64                 android:layout_alignParentStart="true"
     65                 android:text="@*android:string/back_button_label"
     66                 />
     67 
     68         <LinearLayout
     69                 android:orientation="horizontal"
     70                 android:layout_width="wrap_content"
     71                 android:layout_height="wrap_content"
     72                 android:layout_alignParentEnd="true">
     73 
     74             <Button android:id="@+id/skip_button"
     75                     android:layout_width="150dip"
     76                     android:layout_height="wrap_content"
     77                     android:layout_margin="5dip"
     78                     android:text="@*android:string/skip_button_label"
     79                     android:visibility="gone"
     80                     />
     81 
     82             <Button android:id="@+id/next_button"
     83                     android:layout_width="150dip"
     84                     android:layout_height="wrap_content"
     85                     android:layout_margin="5dip"
     86                     android:text="@*android:string/next_button_label"
     87                     />
     88 
     89         </LinearLayout>
     90 
     91     </RelativeLayout>
     92 
     93 </LinearLayout>
     94 
     95