1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2013 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 android:paddingStart="?android:attr/listPreferredItemPaddingStart" 32 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> 33 34 <include layout="@layout/app_percentage_item" /> 35 36 <LinearLayout 37 android:layout_width="match_parent" 38 android:layout_height="match_parent" 39 android:orientation="vertical"> 40 41 <!-- Force stop and report buttons --> 42 <LinearLayout 43 android:id="@+id/two_buttons_panel" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" 46 android:paddingBottom="6dip" 47 android:orientation="vertical"> 48 49 <include layout="@layout/two_buttons_panel"/> 50 </LinearLayout> 51 52 <TextView 53 style="?android:attr/listSeparatorTextViewStyle" 54 android:text="@string/details_subtitle" /> 55 56 <LinearLayout 57 android:id="@+id/details" 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content" 60 android:orientation="vertical"> 61 62 <!-- Insert detail items here --> 63 64 </LinearLayout> 65 66 <TextView 67 style="?android:attr/listSeparatorTextViewStyle" 68 android:text="@string/services_subtitle" /> 69 70 <LinearLayout 71 android:id="@+id/services" 72 android:layout_width="match_parent" 73 android:layout_height="wrap_content" 74 android:orientation="vertical"> 75 76 <!-- Insert service items here --> 77 78 </LinearLayout> 79 80 </LinearLayout> 81 82 </LinearLayout> 83 84 </ScrollView> 85