xref: /aosp_15_r20/pdk/apps/TestingCamera2/res/layout/request_pane.xml (revision ac7df209e3ba002eb4fcfc7c8d4b818a0371fca4)
1*ac7df209SYuntao Xu<?xml version="1.0" encoding="utf-8"?>
2*ac7df209SYuntao Xu<!--
3*ac7df209SYuntao Xu     Copyright (C) 2014 The Android Open Source Project
4*ac7df209SYuntao Xu
5*ac7df209SYuntao Xu     Licensed under the Apache License, Version 2.0 (the "License");
6*ac7df209SYuntao Xu     you may not use this file except in compliance with the License.
7*ac7df209SYuntao Xu     You may obtain a copy of the License at
8*ac7df209SYuntao Xu
9*ac7df209SYuntao Xu          http://www.apache.org/licenses/LICENSE-2.0
10*ac7df209SYuntao Xu
11*ac7df209SYuntao Xu     Unless required by applicable law or agreed to in writing, software
12*ac7df209SYuntao Xu     distributed under the License is distributed on an "AS IS" BASIS,
13*ac7df209SYuntao Xu     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*ac7df209SYuntao Xu     See the License for the specific language governing permissions and
15*ac7df209SYuntao Xu     limitations under the License.
16*ac7df209SYuntao Xu-->
17*ac7df209SYuntao Xu
18*ac7df209SYuntao Xu<merge xmlns:android="http://schemas.android.com/apk/res/android"
19*ac7df209SYuntao Xu    android:layout_width="match_parent"
20*ac7df209SYuntao Xu    android:layout_height="match_parent" >
21*ac7df209SYuntao Xu
22*ac7df209SYuntao Xu    <LinearLayout
23*ac7df209SYuntao Xu        android:layout_width="match_parent"
24*ac7df209SYuntao Xu        android:layout_height="wrap_content"
25*ac7df209SYuntao Xu        android:orientation="horizontal" >
26*ac7df209SYuntao Xu
27*ac7df209SYuntao Xu        <Spinner
28*ac7df209SYuntao Xu            android:id="@+id/request_pane_camera_spinner"
29*ac7df209SYuntao Xu            android:layout_width="0px"
30*ac7df209SYuntao Xu            android:layout_height="wrap_content"
31*ac7df209SYuntao Xu            android:layout_weight="1"
32*ac7df209SYuntao Xu            android:prompt="@string/request_pane_camera_prompt" />
33*ac7df209SYuntao Xu        <Spinner
34*ac7df209SYuntao Xu            android:id="@+id/request_pane_template_spinner"
35*ac7df209SYuntao Xu            android:layout_width="0px"
36*ac7df209SYuntao Xu            android:layout_height="wrap_content"
37*ac7df209SYuntao Xu            android:layout_weight="1"
38*ac7df209SYuntao Xu            android:prompt="@string/request_pane_template_prompt" />
39*ac7df209SYuntao Xu    </LinearLayout>
40*ac7df209SYuntao Xu
41*ac7df209SYuntao Xu    <!-- FIXME: Should not have a ListView in a scrollable view, need to rethink layout -->
42*ac7df209SYuntao Xu    <ListView android:id="@+id/request_pane_output_listview"
43*ac7df209SYuntao Xu        android:layout_width="match_parent"
44*ac7df209SYuntao Xu        android:layout_height="100dp" />
45*ac7df209SYuntao Xu
46*ac7df209SYuntao Xu    <LinearLayout
47*ac7df209SYuntao Xu        android:layout_width="match_parent"
48*ac7df209SYuntao Xu        android:layout_height="wrap_content"
49*ac7df209SYuntao Xu        android:orientation="horizontal" >
50*ac7df209SYuntao Xu
51*ac7df209SYuntao Xu        <Button
52*ac7df209SYuntao Xu            android:id="@+id/request_pane_capture_button"
53*ac7df209SYuntao Xu            android:layout_width="0px"
54*ac7df209SYuntao Xu            android:layout_height="wrap_content"
55*ac7df209SYuntao Xu            android:layout_weight="1"
56*ac7df209SYuntao Xu            android:text="@string/request_pane_capture_button" />
57*ac7df209SYuntao Xu        <Button
58*ac7df209SYuntao Xu            android:id="@+id/request_pane_repeat_button"
59*ac7df209SYuntao Xu            android:layout_width="0px"
60*ac7df209SYuntao Xu            android:layout_height="wrap_content"
61*ac7df209SYuntao Xu            android:layout_weight="1"
62*ac7df209SYuntao Xu            android:text="@string/request_pane_repeat_button" />
63*ac7df209SYuntao Xu    </LinearLayout>
64*ac7df209SYuntao Xu</merge>
65