Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2015 The Android Open Source Project
      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 <ScrollView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:clipToPadding="false"
     23     android:scrollbarStyle="@integer/preference_scrollbar_style">
     24 
     25     <LinearLayout
     26         android:id="@+id/all_details"
     27         android:layout_width="match_parent"
     28         android:layout_height="match_parent"
     29         android:paddingStart="?android:attr/listPreferredItemPaddingStart"
     30         android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
     31         android:paddingBottom="5dip"
     32         android:orientation="vertical">
     33 
     34         <!-- Permissions section -->
     35         <LinearLayout
     36             android:id="@+id/permissions_section"
     37             android:layout_width="match_parent"
     38             android:layout_height="match_parent"
     39             android:orientation="vertical">
     40             <TextView
     41                 style="?android:attr/listSeparatorTextViewStyle"
     42                 android:layout_marginTop="8dip"
     43                 android:text="@string/permissions_label" />
     44             <TextView android:id="@+id/security_settings_billing_desc"
     45                 android:text="@string/security_settings_billing_desc"
     46                 android:textColor="#ffffb060"
     47                 android:textAppearance="?android:attr/textAppearanceSmall"
     48                 android:paddingTop="6dip"
     49                 android:paddingBottom="6dip"
     50                 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
     51                 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
     52                 android:layout_width="match_parent"
     53                 android:layout_height="wrap_content" />
     54             <LinearLayout
     55                 android:id="@+id/security_settings_billing_list"
     56                 android:layout_width="match_parent"
     57                 android:layout_height="match_parent"
     58                 android:orientation="vertical">
     59                 <TextView
     60                     android:layout_width="wrap_content"
     61                     android:layout_height="wrap_content"
     62                     android:text="@string/security_settings_premium_sms_desc" />
     63                 <Spinner
     64                     android:id="@+id/security_settings_premium_sms_list"
     65                     android:layout_width="fill_parent"
     66                     android:layout_height="wrap_content"
     67                     android:spinnerMode="dropdown" />
     68             </LinearLayout>
     69             <TextView android:id="@+id/security_settings_desc"
     70                 android:text="@string/security_settings_desc"
     71                 android:textAppearance="?android:attr/textAppearanceSmall"
     72                 android:paddingTop="6dip"
     73                 android:paddingBottom="6dip"
     74                 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
     75                 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
     76                 android:layout_width="match_parent"
     77                 android:layout_height="wrap_content" />
     78             <LinearLayout
     79                 android:id="@+id/security_settings_list"
     80                 android:layout_width="match_parent"
     81                 android:layout_height="match_parent"
     82                 android:orientation="vertical"/>
     83         </LinearLayout>
     84 
     85 
     86     </LinearLayout>
     87 </ScrollView>
     88