xref: /aosp_15_r20/pdk/apps/TestingCamera2/res/layout/target_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/target_pane_camera_spinner"
29*ac7df209SYuntao Xu            android:layout_width="0px"
30*ac7df209SYuntao Xu            android:layout_height="wrap_content"
31*ac7df209SYuntao Xu            android:layout_weight="2"
32*ac7df209SYuntao Xu            android:prompt="@string/target_pane_camera_prompt" />
33*ac7df209SYuntao Xu        <ToggleButton
34*ac7df209SYuntao Xu            android:id="@+id/target_pane_configure_toggle"
35*ac7df209SYuntao Xu            android:layout_width="0px"
36*ac7df209SYuntao Xu            android:layout_height="wrap_content"
37*ac7df209SYuntao Xu            android:layout_weight="2"
38*ac7df209SYuntao Xu            android:textOn="@string/target_pane_configure_button_on"
39*ac7df209SYuntao Xu            android:textOff="@string/target_pane_configure_button_off" />
40*ac7df209SYuntao Xu        <Button
41*ac7df209SYuntao Xu            android:id="@+id/target_pane_prepare_button"
42*ac7df209SYuntao Xu            android:layout_width="0px"
43*ac7df209SYuntao Xu            android:layout_height="wrap_content"
44*ac7df209SYuntao Xu            android:text="@string/target_pane_prepare_button"
45*ac7df209SYuntao Xu            android:layout_weight="1" />
46*ac7df209SYuntao Xu    </LinearLayout>
47*ac7df209SYuntao Xu    <Spinner
48*ac7df209SYuntao Xu        android:id="@+id/target_pane_output_spinner"
49*ac7df209SYuntao Xu        android:layout_width="match_parent"
50*ac7df209SYuntao Xu        android:layout_height="wrap_content"
51*ac7df209SYuntao Xu        android:prompt="@string/target_pane_output_prompt" />
52*ac7df209SYuntao Xu</merge>
53