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:paddingStart="?android:attr/listPreferredItemPaddingStart"
     29         android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
     30         android:paddingTop="5dip"
     31         android:paddingBottom="5dip"
     32         android:orientation="vertical">
     33 
     34         <include layout="@layout/app_percentage_item" />
     35 
     36         <!-- Force stop and report buttons -->
     37         <LinearLayout
     38                 android:id="@+id/two_buttons_panel"
     39                 android:layout_width="match_parent"
     40                 android:layout_height="wrap_content"
     41                 android:paddingBottom="6dip"
     42                 android:orientation="vertical">
     43             <include
     44                     layout="@layout/two_buttons_panel"/>
     45         </LinearLayout>
     46 
     47         <TextView
     48                 style="?android:attr/listSeparatorTextViewStyle"
     49                 android:text="@string/details_subtitle" />
     50 
     51         <LinearLayout
     52                 android:id="@+id/details"
     53                 android:layout_width="match_parent"
     54                 android:layout_height="wrap_content"
     55                 android:paddingStart="6dip"
     56                 android:orientation="vertical">
     57 
     58             <!-- Insert detail items here -->
     59 
     60         </LinearLayout>
     61 
     62         <LinearLayout
     63                 android:id="@+id/controls"
     64                 android:layout_width="match_parent"
     65                 android:layout_height="wrap_content"
     66                 android:orientation="vertical">
     67 
     68             <TextView
     69                     android:id="@+id/controls_title"
     70                     style="?android:attr/listSeparatorTextViewStyle"
     71                     android:layout_marginTop="6dip"
     72                     android:text="@string/controls_subtitle" />
     73 
     74             <!-- Controls go here ... -->
     75 
     76         </LinearLayout>
     77 
     78         <LinearLayout
     79                 android:id="@+id/messages"
     80                 android:layout_width="match_parent"
     81                 android:layout_height="wrap_content"
     82                 android:orientation="vertical">
     83 
     84             <TextView
     85                     android:id="@+id/messages_title"
     86                     style="?android:attr/listSeparatorTextViewStyle"
     87                     android:layout_marginTop="6dip" />
     88 
     89             <!-- Messages go here ... -->
     90 
     91         </LinearLayout>
     92 
     93         <TextView
     94                 android:id="@+id/packages_section_title"
     95                 style="?android:attr/listSeparatorTextViewStyle"
     96                 android:layout_marginTop="6dip"
     97                 android:text="@string/packages_subtitle" />
     98 
     99         <LinearLayout
    100                 android:id="@+id/packages_section"
    101                 android:layout_width="match_parent"
    102                 android:layout_height="wrap_content"
    103                 android:paddingStart="6dip"
    104                 android:orientation="vertical">
    105 
    106             <!-- Insert detail items here -->
    107 
    108         </LinearLayout>
    109 
    110     </LinearLayout>
    111 </ScrollView>
    112