1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<com.android.camera.ui.IndicatorControlBarContainer xmlns:android="http://schemas.android.com/apk/res/android"
17        android:id="@+id/indicator_control"
18        android:layout_height="wrap_content"
19        android:layout_width="match_parent"
20        android:clickable="true"
21        android:layout_alignParentBottom="true">
22
23    <RelativeLayout
24            android:id="@+id/control_bars"
25            android:layout_height="@dimen/indicator_bar_width"
26            android:layout_width="match_parent">
27        <com.android.camera.ui.IndicatorControlBar
28                android:id="@+id/indicator_bar"
29                android:paddingRight="8dp"
30                android:paddingLeft="8dp"
31                android:layout_height="match_parent"
32                android:layout_width="match_parent"
33                android:layout_centerVertical="true">
34            <com.android.camera.ui.ZoomControlBar
35                    android:id="@+id/zoom_control"
36                    android:layout_height="match_parent"
37                    android:layout_width="match_parent"
38                    android:visibility="gone" />
39            <com.android.camera.ui.RotateImageView
40                    android:id="@+id/second_level_indicator_bar_icon"
41                    android:layout_height="match_parent"
42                    android:layout_width="wrap_content"
43                    android:layout_alignParentLeft="true"
44                    android:contentDescription="@string/accessibility_second_level_indicators"
45                    android:background="@drawable/bg_pressed"
46                    android:src="@drawable/ic_settings_holo_light" />
47        </com.android.camera.ui.IndicatorControlBar>
48
49        <com.android.camera.ui.SecondLevelIndicatorControlBar
50                android:id="@+id/second_level_indicator_bar"
51                android:layout_height="match_parent"
52                android:layout_width="match_parent"
53                android:paddingRight="8dp"
54                android:paddingLeft="8dp"
55                android:layout_centerVertical="true"
56                android:background="@color/indicator_background"
57                android:visibility="gone">
58            <View android:id="@+id/divider"
59                    android:layout_height="match_parent"
60                    android:layout_width="1dp"
61                    android:background="@android:color/white" />
62            <com.android.camera.ui.TwoStateImageView
63                    android:id="@+id/back_to_first_level"
64                    android:layout_height="match_parent"
65                    android:layout_width="wrap_content"
66                    android:contentDescription="@string/accessibility_back_to_first_level"
67                    android:background="@drawable/bg_pressed"
68                    android:src="@drawable/btn_close_settings" />
69        </com.android.camera.ui.SecondLevelIndicatorControlBar>
70    </RelativeLayout>
71</com.android.camera.ui.IndicatorControlBarContainer>
72