1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- 4 Copyright 2021 The Android Open Source Project 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 https://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 --> 18 19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical"> 23 24 <CheckBox 25 android:id="@+id/cbx_get_content" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:text="ACTION_GET_CONTENT" 29 android:textSize="16sp" /> 30 31 <CheckBox 32 android:id="@+id/cbx_allow_multiple" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="ALLOW MULTIPLE" 36 android:textSize="16sp" /> 37 38 <LinearLayout 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:orientation="horizontal"> 42 43 <CheckBox 44 android:id="@+id/cbx_set_image_only" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:text="SHOW IMAGE ONLY" 48 android:textSize="16sp" /> 49 50 <CheckBox 51 android:id="@+id/cbx_set_video_only" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:text="SHOW VIDEO ONLY" 55 android:textSize="16sp" /> 56 </LinearLayout> 57 58 <LinearLayout 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:orientation="horizontal"> 62 63 <CheckBox 64 android:id="@+id/cbx_set_mime_type" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:text="SET MIME TYPE" 68 android:textSize="16sp" /> 69 70 <EditText 71 android:id="@+id/edittext_mime_type" 72 android:layout_width="0dp" 73 android:layout_height="wrap_content" 74 android:layout_weight="1" 75 android:gravity="center" 76 android:enabled="false" 77 android:textSize="16sp" /> 78 </LinearLayout> 79 80 <LinearLayout 81 android:layout_width="match_parent" 82 android:layout_height="wrap_content" 83 android:orientation="horizontal"> 84 85 <CheckBox 86 android:id="@+id/cbx_set_selection_count" 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:text="SET SELECTION COUNT" 90 android:textSize="16sp" /> 91 92 <EditText 93 android:id="@+id/edittext_max_count" 94 android:layout_width="0dp" 95 android:layout_height="wrap_content" 96 android:layout_weight="1" 97 android:gravity="center" 98 android:enabled="false" 99 android:text="10" 100 android:textSize="16sp" /> 101 </LinearLayout> 102 103 <Button 104 android:id="@+id/launch_button" 105 android:layout_width="match_parent" 106 android:layout_height="wrap_content" 107 android:text="Launch" 108 android:textSize="16sp" /> 109 110 <ScrollView 111 android:id="@+id/scrollview" 112 android:layout_width="match_parent" 113 android:layout_height="wrap_content"> 114 115 <LinearLayout 116 android:id="@+id/item_container" 117 android:layout_width="match_parent" 118 android:layout_height="wrap_content" 119 android:orientation="vertical" /> 120 </ScrollView> 121</LinearLayout> 122