indicator_bar.xml revision adab2bddc93bf4af535cb58e7167bf8690d97d8c
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.IndicatorControlContainer xmlns:android="http://schemas.android.com/apk/res/android" 17 android:id="@+id/indicator_control" 18 android:layout_width="48dp" 19 android:layout_height="match_parent" 20 android:layout_marginTop="6dp" 21 android:layout_marginRight="6dp" 22 android:layout_marginBottom="6dp" 23 android:clickable="true" 24 android:layout_alignParentRight="true"> 25 <com.android.camera.ui.IndicatorBar 26 android:id="@+id/indicator_bar" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent"> 29 <ImageView 30 android:id="@+id/zoom_control_icon" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:layout_centerInParent="true" 34 android:src="@drawable/btn_zoom_control" 35 android:visibility="gone" /> 36 <com.android.camera.ui.RotateImageView 37 android:id="@+id/second_level_indicator_bar_icon" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:layout_alignParentBottom="true" 41 android:src="@drawable/ic_settings_holo_light" /> 42 </com.android.camera.ui.IndicatorBar> 43 44 <com.android.camera.ui.ZoomControlBar 45 android:id="@+id/zoom_control" 46 android:layout_width="match_parent" 47 android:layout_height="match_parent" 48 android:visibility="gone" /> 49 <com.android.camera.ui.SecondLevelIndicatorBar 50 android:id="@+id/second_level_indicator_bar" 51 android:layout_width="match_parent" 52 android:layout_height="match_parent" 53 android:visibility="gone" /> 54</com.android.camera.ui.IndicatorControlContainer> 55