Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 
     17 <ScrollView
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     android:clipToPadding="false"
     22     android:scrollbarStyle="@integer/preference_scrollbar_style">
     23 
     24     <LinearLayout
     25         android:id="@+id/all_details"
     26         android:layout_width="match_parent"
     27         android:layout_height="match_parent"
     28         android:paddingTop="5dip"
     29         android:paddingBottom="5dip"
     30         android:orientation="vertical">
     31 
     32         <include layout="@layout/app_percentage_item" />
     33 
     34         <!-- Force stop and report buttons -->
     35         <LinearLayout
     36             android:id="@+id/two_buttons_panel"
     37             android:layout_width="match_parent"
     38             android:layout_height="wrap_content"
     39             android:paddingBottom="6dip"
     40             android:orientation="vertical">
     41             <include
     42                 layout="@layout/two_buttons_panel"/>
     43         </LinearLayout>
     44                     
     45         <TextView
     46             style="?android:attr/listSeparatorTextViewStyle"
     47             android:text="@string/details_subtitle" />
     48 
     49         <LinearLayout
     50             android:id="@+id/details"
     51             android:layout_width="match_parent"
     52             android:layout_height="wrap_content"
     53             android:paddingStart="6dip"
     54             android:orientation="vertical">
     55 
     56             <!-- Insert detail items here -->
     57 
     58         </LinearLayout>
     59 
     60         <LinearLayout
     61             android:id="@+id/controls"
     62             android:layout_width="match_parent"
     63             android:layout_height="wrap_content"
     64             android:orientation="vertical">
     65 
     66             <TextView
     67                 android:id="@+id/controls_title"
     68                 style="?android:attr/listSeparatorTextViewStyle"
     69                 android:layout_marginTop="6dip"
     70                 android:text="@string/controls_subtitle" />
     71 
     72             <!-- Controls go here ... -->
     73 
     74         </LinearLayout>
     75                     
     76         <TextView
     77             android:id="@+id/packages_section_title"
     78             style="?android:attr/listSeparatorTextViewStyle"
     79             android:layout_marginTop="6dip"
     80             android:text="@string/packages_subtitle" />
     81 
     82         <LinearLayout
     83             android:id="@+id/packages_section"
     84             android:layout_width="match_parent"
     85             android:layout_height="wrap_content"
     86             android:paddingStart="6dip"
     87             android:orientation="vertical">
     88 
     89             <!-- Insert detail items here -->
     90 
     91         </LinearLayout>
     92     </LinearLayout>
     93 </ScrollView>
     94