xref: /aosp_15_r20/pdk/apps/TestingCamera2/res/layout/camera_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<merge xmlns:android="http://schemas.android.com/apk/res/android">
18*ac7df209SYuntao Xu    <Spinner
19*ac7df209SYuntao Xu        android:id="@+id/camera_pane_camera_spinner"
20*ac7df209SYuntao Xu        android:layout_width="match_parent"
21*ac7df209SYuntao Xu        android:layout_height="wrap_content"
22*ac7df209SYuntao Xu        android:prompt="@string/camera_pane_spinner_prompt" />
23*ac7df209SYuntao Xu    <LinearLayout
24*ac7df209SYuntao Xu        android:layout_width="match_parent"
25*ac7df209SYuntao Xu        android:layout_height="wrap_content"
26*ac7df209SYuntao Xu        android:orientation="horizontal" >
27*ac7df209SYuntao Xu
28*ac7df209SYuntao Xu        <ToggleButton
29*ac7df209SYuntao Xu            android:id="@+id/camera_pane_open_button"
30*ac7df209SYuntao Xu            android:layout_width="0px"
31*ac7df209SYuntao Xu            android:layout_height="wrap_content"
32*ac7df209SYuntao Xu            android:layout_weight="1"
33*ac7df209SYuntao Xu            android:textOff="@string/camera_pane_open_button_off"
34*ac7df209SYuntao Xu            android:textOn="@string/camera_pane_open_button_on" />
35*ac7df209SYuntao Xu        <Button
36*ac7df209SYuntao Xu            android:id="@+id/camera_pane_info_button"
37*ac7df209SYuntao Xu            android:layout_width="0px"
38*ac7df209SYuntao Xu            android:layout_height="wrap_content"
39*ac7df209SYuntao Xu            android:layout_weight="1"
40*ac7df209SYuntao Xu            android:text="@string/camera_pane_info_button" />
41*ac7df209SYuntao Xu        <TextView
42*ac7df209SYuntao Xu            android:id="@+id/camera_pane_status_text"
43*ac7df209SYuntao Xu            android:layout_width="0px"
44*ac7df209SYuntao Xu            android:layout_height="wrap_content"
45*ac7df209SYuntao Xu            android:layout_weight="1" />
46*ac7df209SYuntao Xu    </LinearLayout>
47*ac7df209SYuntao Xu    <LinearLayout
48*ac7df209SYuntao Xu        android:layout_width="match_parent"
49*ac7df209SYuntao Xu        android:layout_height="wrap_content"
50*ac7df209SYuntao Xu        android:orientation="horizontal" >
51*ac7df209SYuntao Xu
52*ac7df209SYuntao Xu        <Button
53*ac7df209SYuntao Xu            android:id="@+id/camera_pane_configure_button"
54*ac7df209SYuntao Xu            android:layout_width="0px"
55*ac7df209SYuntao Xu            android:layout_height="wrap_content"
56*ac7df209SYuntao Xu            android:layout_weight="1"
57*ac7df209SYuntao Xu            android:text="@string/camera_pane_configure_button" />
58*ac7df209SYuntao Xu        <Button
59*ac7df209SYuntao Xu            android:id="@+id/camera_pane_stop_button"
60*ac7df209SYuntao Xu            android:layout_width="0px"
61*ac7df209SYuntao Xu            android:layout_height="wrap_content"
62*ac7df209SYuntao Xu            android:layout_weight="1"
63*ac7df209SYuntao Xu            android:text="@string/camera_pane_stop_button" />
64*ac7df209SYuntao Xu        <Button
65*ac7df209SYuntao Xu            android:id="@+id/camera_pane_flush_button"
66*ac7df209SYuntao Xu            android:layout_width="0px"
67*ac7df209SYuntao Xu            android:layout_height="wrap_content"
68*ac7df209SYuntao Xu            android:layout_weight="1"
69*ac7df209SYuntao Xu            android:text="@string/camera_pane_flush_button" />
70*ac7df209SYuntao Xu    </LinearLayout>
71*ac7df209SYuntao Xu</merge>
72