1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 The Android Open Source Project 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 http://www.apache.org/licenses/LICENSE-2.0 7 Unless required by applicable law or agreed to in writing, software 8 distributed under the License is distributed on an "AS IS" BASIS, 9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 See the License for the specific language governing permissions and 11 limitations under the License. 12--> 13<LinearLayout 14 android:layout_width="fill_parent" 15 android:layout_height="match_parent" 16 android:orientation="vertical" 17 xmlns:android="http://schemas.android.com/apk/res/android"> 18 <LinearLayout 19 android:id="@+id/header" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:layout_margin="@dimen/header_margin" 23 android:orientation="horizontal"> 24 <Spinner 25 android:id = "@+id/spinner" 26 android:layout_width = "wrap_content" 27 android:layout_height = "wrap_content" 28 android:layout_weight = "1" 29 android:paddingLeft="@dimen/header_padding" 30 android:prompt = "@string/select_user" 31 android:textSize = "@dimen/spinner_text_size" 32 /> 33 <CheckBox 34 android:id = "@+id/checkbox_activities" 35 android:layout_width = "wrap_content" 36 android:layout_height = "wrap_content" 37 android:layout_weight = "1" 38 android:paddingLeft="@dimen/header_padding" 39 android:text = "@string/checkbox_activities" 40 android:textSize = "@dimen/checkbox_text_size" 41 /> 42 <CheckBox 43 android:id = "@+id/checkbox_services" 44 android:layout_width = "wrap_content" 45 android:layout_height = "wrap_content" 46 android:layout_weight = "1" 47 android:text = "@string/checkbox_services" 48 android:textSize = "@dimen/checkbox_text_size" 49 /> 50 <CheckBox 51 android:id = "@+id/checkbox_permissions" 52 android:layout_width = "wrap_content" 53 android:layout_height = "wrap_content" 54 android:layout_weight = "1" 55 android:text = "@string/checkbox_permissions" 56 android:textSize = "@dimen/checkbox_text_size" 57 /> 58 <CheckBox 59 android:id = "@+id/checkbox_shareduid" 60 android:layout_width = "wrap_content" 61 android:layout_height = "wrap_content" 62 android:layout_weight = "1" 63 android:text = "@string/checkbox_shareduid" 64 android:textSize = "@dimen/checkbox_text_size" 65 /> 66 <Button 67 android:id = "@+id/button_show" 68 android:layout_width = "wrap_content" 69 android:layout_height = "wrap_content" 70 android:layout_weight = "1" 71 android:text = "@string/button_show" 72 android:textSize = "@dimen/checkbox_text_size" 73 /> 74 </LinearLayout> 75 <ScrollView 76 android:layout_width="match_parent" 77 android:layout_height="match_parent"> 78 <TextView 79 android:layout_width="match_parent" 80 android:layout_height="match_parent" 81 android:id="@+id/packages"/> 82 </ScrollView> 83</LinearLayout> 84