1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 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<!-- This layout is shared by phone and tablet in landscape orientation. --> 17 <!-- TODO: make horizontal once nine patch stretches horizontally --> 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/mode_options_toggle" 20 android:layout_width="wrap_content" 21 android:layout_height="wrap_content" 22 android:padding="@dimen/mode_options_toggle_padding" 23 android:layout_margin="@dimen/mode_options_toggle_padding" 24 android:orientation="horizontal" 25 android:contentDescription="@string/accessibility_mode_options" 26 android:background="@drawable/bg_options_indicator" 27 android:layout_gravity="bottom|right" > 28 <ImageView 29 android:id="@+id/exposure_n2_indicator" 30 style="@style/IndicatorIcon" 31 android:src="@drawable/ic_exposure_n2_indicator" /> 32 <ImageView 33 android:id="@+id/exposure_n1_indicator" 34 style="@style/IndicatorIcon" 35 android:src="@drawable/ic_exposure_n1_indicator" /> 36 <ImageView 37 android:id="@+id/exposure_p1_indicator" 38 style="@style/IndicatorIcon" 39 android:src="@drawable/ic_exposure_p1_indicator" /> 40 <ImageView 41 android:id="@+id/exposure_p2_indicator" 42 style="@style/IndicatorIcon" 43 android:src="@drawable/ic_exposure_p2_indicator" /> 44 <ImageView 45 android:id="@+id/pano_indicator" 46 style="@style/IndicatorIcon" /> 47 <ImageView 48 android:id="@+id/hdr_indicator" 49 style="@style/IndicatorIcon" /> 50 <ImageView 51 android:id="@+id/countdown_timer_indicator" 52 style="@style/IndicatorIcon" /> 53 <ImageView 54 android:id="@+id/flash_indicator" 55 style="@style/IndicatorIcon" /> 56 <ImageView 57 android:id="@+id/three_dots" 58 style="@style/IndicatorIcon" 59 android:src="@drawable/ic_options_port" 60 android:contentDescription="@string/accessibility_mode_options" 61 android:visibility="visible" /> 62</LinearLayout> 63