priority_indicators.xml revision 0ca031ca9fef394f27b7cc9722ffc5a198cb964e
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.RotateLayout xmlns:android="http://schemas.android.com/apk/res/android"
17        android:id="@+id/on_screen_indicators"
18        android:layout_height="match_parent"
19        android:layout_width="match_parent"
20        style="@style/OnScreenIndicators">
21    <RelativeLayout
22            android:layout_height="match_parent"
23            android:layout_width="match_parent">
24        <LinearLayout
25                android:orientation="horizontal"
26                android:layout_height="@dimen/onscreen_indicators_height"
27                android:layout_width="wrap_content"
28                android:layout_alignParentTop="true"
29                android:layout_alignParentLeft="true"
30                android:gravity="center_vertical">
31            <ImageView android:id="@+id/onscreen_flash_indicator"
32                    style="@style/OnScreenIndicator"
33                    android:visibility="visible"/>
34            <ImageView android:id="@+id/onscreen_white_balance_indicator"
35                    style="@style/OnScreenIndicator"/>
36            <TextView android:id="@+id/onscreen_exposure_indicator"
37                    style="@style/OnScreenIndicator"
38                    android:paddingLeft="3dp"
39                    android:paddingRight="3dp"
40                    android:gravity="center_vertical"
41                    android:textSize="@dimen/onscreen_exposure_indicator_text_size"
42                    android:textColor="@android:color/white"/>
43            <ImageView android:id="@+id/onscreen_scene_indicator"
44                    style="@style/OnScreenIndicator"
45                    android:src="@drawable/ic_indicators_scn"/>
46            <ImageView android:id="@+id/onscreen_gps_indicator"
47                    style="@style/OnScreenIndicator"/>
48            <ImageView android:id="@+id/onscreen_focus_indicator"
49                    style="@style/OnScreenIndicator"/>
50        </LinearLayout>
51    </RelativeLayout>
52</com.android.camera.ui.RotateLayout>