| <?xml version="1.0" encoding="utf-8"?> |
| |
| <!-- |
| Copyright 2021 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| https://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| |
| <CheckBox |
| android:id="@+id/cbx_get_content" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="ACTION_GET_CONTENT" |
| android:textSize="16sp" /> |
| |
| <CheckBox |
| android:id="@+id/cbx_allow_multiple" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="ALLOW MULTIPLE" |
| android:textSize="16sp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox |
| android:id="@+id/cbx_set_image_only" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="SHOW IMAGE ONLY" |
| android:textSize="16sp" /> |
| |
| <CheckBox |
| android:id="@+id/cbx_set_video_only" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="SHOW VIDEO ONLY" |
| android:textSize="16sp" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox |
| android:id="@+id/cbx_set_mime_type" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="SET MIME TYPE" |
| android:textSize="16sp" /> |
| |
| <EditText |
| android:id="@+id/edittext_mime_type" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:gravity="center" |
| android:enabled="false" |
| android:textSize="16sp" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox |
| android:id="@+id/cbx_set_selection_count" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="SET SELECTION COUNT" |
| android:textSize="16sp" /> |
| |
| <EditText |
| android:id="@+id/edittext_max_count" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:gravity="center" |
| android:enabled="false" |
| android:text="10" |
| android:textSize="16sp" /> |
| </LinearLayout> |
| |
| <Button |
| android:id="@+id/launch_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="Launch" |
| android:textSize="16sp" /> |
| |
| <ScrollView |
| android:id="@+id/scrollview" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <LinearLayout |
| android:id="@+id/item_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" /> |
| </ScrollView> |
| </LinearLayout> |