Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2014 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     xmlns:custom="http://schemas.android.com/apk/res/com.android.testingcamera2"
     21     android:id="@+id/main_list"
     22     android:layout_width="match_parent"
     23     android:layout_height="match_parent"
     24     android:divider="?android:attr/listDivider"
     25     android:dividerPadding="0dip"
     26     android:showDividers="middle"
     27     tools:context="com.android.testingcamera2.TestingCamera21" >
     28 
     29     <ScrollView
     30         android:id="@+id/output_view_scroller"
     31         android:layout_width="0px"
     32         android:layout_height="match_parent"
     33         android:layout_weight="@dimen/output_view_list_weight" >
     34 
     35         <LinearLayout
     36             android:id="@+id/output_list"
     37             android:layout_width="match_parent"
     38             android:layout_height="wrap_content"
     39             android:divider="?android:attr/listDivider"
     40             android:dividerPadding="2dip"
     41             android:orientation="vertical"
     42             android:showDividers="middle" >
     43 
     44             <TextView
     45                 android:id="@+id/output_view_label"
     46                 android:layout_width="match_parent"
     47                 android:layout_height="wrap_content"
     48                 android:text="@string/output_view_label"
     49                 android:textSize="@dimen/section_title_text" />
     50             <view
     51                 class="com.android.testingcamera2.PaneLayout$TargetPaneLayout"
     52                 android:id="@+id/target_list"
     53                 android:layout_width="match_parent"
     54                 android:layout_height="wrap_content"
     55                 android:divider="?android:attr/listDivider"
     56                 android:dividerPadding="4dip"
     57                 android:orientation="vertical"
     58                 android:showDividers="middle"
     59                 custom:headerTitle="@string/target_list_label" />
     60             <com.android.testingcamera2.LogPane
     61                 android:id="@+id/log_pane"
     62                 android:layout_width="match_parent"
     63                 android:layout_height="wrap_content" />
     64         </LinearLayout> <!-- output_view_list -->
     65     </ScrollView>
     66     <View
     67         android:id="@+id/main_section_divider"
     68         android:layout_width="@dimen/main_section_divider_thickness"
     69         android:layout_height="match_parent"
     70         android:background="@color/main_section_divider_color" />
     71     <ScrollView
     72         android:id="@+id/control_scroller"
     73         android:layout_width="0px"
     74         android:layout_height="match_parent"
     75         android:layout_weight="@dimen/control_list_weight" >
     76 
     77         <LinearLayout
     78             android:id="@+id/control_list"
     79             android:layout_width="match_parent"
     80             android:layout_height="wrap_content"
     81             android:divider="?android:attr/listDivider"
     82             android:dividerPadding="2dip"
     83             android:orientation="vertical"
     84             android:showDividers="middle" >
     85 
     86             <TextView
     87                 android:id="@+id/control_list_label"
     88                 android:layout_width="match_parent"
     89                 android:layout_height="wrap_content"
     90                 android:text="@string/control_list_label"
     91                 android:textSize="@dimen/section_title_text" />
     92             <view
     93                 class="com.android.testingcamera2.PaneLayout$CameraPaneLayout"
     94                 android:id="@+id/camera_list"
     95                 android:layout_width="match_parent"
     96                 android:layout_height="wrap_content"
     97                 android:divider="?android:attr/listDivider"
     98                 android:dividerPadding="4dip"
     99                 android:orientation="vertical"
    100                 android:showDividers="middle"
    101                 custom:headerTitle="@string/camera_list_label" />
    102             <view
    103                 class="com.android.testingcamera2.PaneLayout$RequestPaneLayout"
    104                 android:id="@+id/request_list"
    105                 android:layout_width="match_parent"
    106                 android:layout_height="wrap_content"
    107                 android:divider="?android:attr/listDivider"
    108                 android:dividerPadding="4dip"
    109                 android:orientation="vertical"
    110                 android:showDividers="middle"
    111                 custom:headerTitle="@string/request_list_label" />
    112             <view
    113                 class="com.android.testingcamera2.PaneLayout$BurstPaneLayout"
    114                 android:id="@+id/burst_list"
    115                 android:layout_width="match_parent"
    116                 android:layout_height="wrap_content"
    117                 android:divider="?android:attr/listDivider"
    118                 android:dividerPadding="4dip"
    119                 android:orientation="vertical"
    120                 android:showDividers="middle"
    121                 custom:headerTitle="@string/burst_list_label" />
    122             <view
    123                 class="com.android.testingcamera2.PaneLayout$UtilPaneLayout"
    124                 android:id="@+id/util_list"
    125                 android:layout_width="match_parent"
    126                 android:layout_height="wrap_content"
    127                 android:divider="?android:attr/listDivider"
    128                 android:dividerPadding="4dip"
    129                 android:orientation="vertical"
    130                 android:showDividers="middle"
    131                 custom:headerTitle="@string/util_list_label" />
    132         </LinearLayout> <!-- control_list -->
    133     </ScrollView>
    134 </LinearLayout>