xref: /aosp_15_r20/pdk/apps/TestingCamera2/res/layout/main3.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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19*ac7df209SYuntao Xu    xmlns:tools="http://schemas.android.com/tools"
20*ac7df209SYuntao Xu    xmlns:custom="http://schemas.android.com/apk/res/com.android.testingcamera2"
21*ac7df209SYuntao Xu    android:id="@+id/main_list"
22*ac7df209SYuntao Xu    android:layout_width="match_parent"
23*ac7df209SYuntao Xu    android:layout_height="match_parent"
24*ac7df209SYuntao Xu    android:divider="?android:attr/listDivider"
25*ac7df209SYuntao Xu    android:dividerPadding="0dip"
26*ac7df209SYuntao Xu    android:showDividers="middle"
27*ac7df209SYuntao Xu    tools:context="com.android.testingcamera2.TestingCamera21" >
28*ac7df209SYuntao Xu
29*ac7df209SYuntao Xu    <ScrollView
30*ac7df209SYuntao Xu        android:id="@+id/output_view_scroller"
31*ac7df209SYuntao Xu        android:layout_width="0px"
32*ac7df209SYuntao Xu        android:layout_height="match_parent"
33*ac7df209SYuntao Xu        android:layout_weight="@dimen/output_view_list_weight" >
34*ac7df209SYuntao Xu
35*ac7df209SYuntao Xu        <LinearLayout
36*ac7df209SYuntao Xu            android:id="@+id/output_list"
37*ac7df209SYuntao Xu            android:layout_width="match_parent"
38*ac7df209SYuntao Xu            android:layout_height="wrap_content"
39*ac7df209SYuntao Xu            android:divider="?android:attr/listDivider"
40*ac7df209SYuntao Xu            android:dividerPadding="2dip"
41*ac7df209SYuntao Xu            android:orientation="vertical"
42*ac7df209SYuntao Xu            android:showDividers="middle" >
43*ac7df209SYuntao Xu
44*ac7df209SYuntao Xu            <TextView
45*ac7df209SYuntao Xu                android:id="@+id/output_view_label"
46*ac7df209SYuntao Xu                android:layout_width="match_parent"
47*ac7df209SYuntao Xu                android:layout_height="wrap_content"
48*ac7df209SYuntao Xu                android:text="@string/output_view_label"
49*ac7df209SYuntao Xu                android:textSize="@dimen/section_title_text" />
50*ac7df209SYuntao Xu            <view
51*ac7df209SYuntao Xu                class="com.android.testingcamera2.PaneLayout$TargetPaneLayout"
52*ac7df209SYuntao Xu                android:id="@+id/target_list"
53*ac7df209SYuntao Xu                android:layout_width="match_parent"
54*ac7df209SYuntao Xu                android:layout_height="wrap_content"
55*ac7df209SYuntao Xu                android:divider="?android:attr/listDivider"
56*ac7df209SYuntao Xu                android:dividerPadding="4dip"
57*ac7df209SYuntao Xu                android:orientation="vertical"
58*ac7df209SYuntao Xu                android:showDividers="middle"
59*ac7df209SYuntao Xu                custom:headerTitle="@string/target_list_label" />
60*ac7df209SYuntao Xu            <com.android.testingcamera2.LogPane
61*ac7df209SYuntao Xu                android:id="@+id/log_pane"
62*ac7df209SYuntao Xu                android:layout_width="match_parent"
63*ac7df209SYuntao Xu                android:layout_height="wrap_content" />
64*ac7df209SYuntao Xu        </LinearLayout> <!-- output_view_list -->
65*ac7df209SYuntao Xu    </ScrollView>
66*ac7df209SYuntao Xu    <View
67*ac7df209SYuntao Xu        android:id="@+id/main_section_divider"
68*ac7df209SYuntao Xu        android:layout_width="@dimen/main_section_divider_thickness"
69*ac7df209SYuntao Xu        android:layout_height="match_parent"
70*ac7df209SYuntao Xu        android:background="@color/main_section_divider_color" />
71*ac7df209SYuntao Xu    <ScrollView
72*ac7df209SYuntao Xu        android:id="@+id/control_scroller"
73*ac7df209SYuntao Xu        android:layout_width="0px"
74*ac7df209SYuntao Xu        android:layout_height="match_parent"
75*ac7df209SYuntao Xu        android:layout_weight="@dimen/control_list_weight" >
76*ac7df209SYuntao Xu
77*ac7df209SYuntao Xu        <LinearLayout
78*ac7df209SYuntao Xu            android:id="@+id/control_list"
79*ac7df209SYuntao Xu            android:layout_width="match_parent"
80*ac7df209SYuntao Xu            android:layout_height="wrap_content"
81*ac7df209SYuntao Xu            android:divider="?android:attr/listDivider"
82*ac7df209SYuntao Xu            android:dividerPadding="2dip"
83*ac7df209SYuntao Xu            android:orientation="vertical"
84*ac7df209SYuntao Xu            android:showDividers="middle" >
85*ac7df209SYuntao Xu
86*ac7df209SYuntao Xu            <TextView
87*ac7df209SYuntao Xu                android:id="@+id/control_list_label"
88*ac7df209SYuntao Xu                android:layout_width="match_parent"
89*ac7df209SYuntao Xu                android:layout_height="wrap_content"
90*ac7df209SYuntao Xu                android:text="@string/control_list_label"
91*ac7df209SYuntao Xu                android:textSize="@dimen/section_title_text" />
92*ac7df209SYuntao Xu            <view
93*ac7df209SYuntao Xu                class="com.android.testingcamera2.PaneLayout$CameraPaneLayout"
94*ac7df209SYuntao Xu                android:id="@+id/camera_list"
95*ac7df209SYuntao Xu                android:layout_width="match_parent"
96*ac7df209SYuntao Xu                android:layout_height="wrap_content"
97*ac7df209SYuntao Xu                android:divider="?android:attr/listDivider"
98*ac7df209SYuntao Xu                android:dividerPadding="4dip"
99*ac7df209SYuntao Xu                android:orientation="vertical"
100*ac7df209SYuntao Xu                android:showDividers="middle"
101*ac7df209SYuntao Xu                custom:headerTitle="@string/camera_list_label" />
102*ac7df209SYuntao Xu            <view
103*ac7df209SYuntao Xu                class="com.android.testingcamera2.PaneLayout$RequestPaneLayout"
104*ac7df209SYuntao Xu                android:id="@+id/request_list"
105*ac7df209SYuntao Xu                android:layout_width="match_parent"
106*ac7df209SYuntao Xu                android:layout_height="wrap_content"
107*ac7df209SYuntao Xu                android:divider="?android:attr/listDivider"
108*ac7df209SYuntao Xu                android:dividerPadding="4dip"
109*ac7df209SYuntao Xu                android:orientation="vertical"
110*ac7df209SYuntao Xu                android:showDividers="middle"
111*ac7df209SYuntao Xu                custom:headerTitle="@string/request_list_label" />
112*ac7df209SYuntao Xu            <view
113*ac7df209SYuntao Xu                class="com.android.testingcamera2.PaneLayout$BurstPaneLayout"
114*ac7df209SYuntao Xu                android:id="@+id/burst_list"
115*ac7df209SYuntao Xu                android:layout_width="match_parent"
116*ac7df209SYuntao Xu                android:layout_height="wrap_content"
117*ac7df209SYuntao Xu                android:divider="?android:attr/listDivider"
118*ac7df209SYuntao Xu                android:dividerPadding="4dip"
119*ac7df209SYuntao Xu                android:orientation="vertical"
120*ac7df209SYuntao Xu                android:showDividers="middle"
121*ac7df209SYuntao Xu                custom:headerTitle="@string/burst_list_label" />
122*ac7df209SYuntao Xu            <view
123*ac7df209SYuntao Xu                class="com.android.testingcamera2.PaneLayout$UtilPaneLayout"
124*ac7df209SYuntao Xu                android:id="@+id/util_list"
125*ac7df209SYuntao Xu                android:layout_width="match_parent"
126*ac7df209SYuntao Xu                android:layout_height="wrap_content"
127*ac7df209SYuntao Xu                android:divider="?android:attr/listDivider"
128*ac7df209SYuntao Xu                android:dividerPadding="4dip"
129*ac7df209SYuntao Xu                android:orientation="vertical"
130*ac7df209SYuntao Xu                android:showDividers="middle"
131*ac7df209SYuntao Xu                custom:headerTitle="@string/util_list_label" />
132*ac7df209SYuntao Xu        </LinearLayout> <!-- control_list -->
133*ac7df209SYuntao Xu    </ScrollView>
134*ac7df209SYuntao Xu</LinearLayout>