Home | History | Annotate | Download | only in layout-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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 small size tablet. -->
     17 <com.android.camera.ui.IndicatorControlBarContainer xmlns:android="http://schemas.android.com/apk/res/android"
     18         android:id="@+id/indicator_control"
     19         android:layout_width="wrap_content"
     20         android:layout_height="match_parent"
     21         android:clickable="true"
     22         android:layout_alignParentRight="true">
     23 
     24     <RelativeLayout
     25             android:layout_width="@dimen/indicator_bar_width"
     26             android:layout_height="match_parent">
     27         <com.android.camera.ui.IndicatorControlBar
     28                 android:id="@+id/indicator_bar"
     29                 android:paddingBottom="@dimen/indicator_bar_padding"
     30                 android:paddingTop="@dimen/indicator_bar_padding"
     31                 android:layout_height="match_parent"
     32                 android:layout_width="match_parent"
     33                 android:layout_centerHorizontal="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"
     41                     android:layout_width="match_parent"
     42                     android:layout_height="wrap_content"
     43                     android:contentDescription="@string/accessibility_second_level_indicators"
     44                     android:background="@drawable/bg_pressed"
     45                     android:src="@drawable/ic_settings_holo_light" />
     46         </com.android.camera.ui.IndicatorControlBar>
     47 
     48         <com.android.camera.ui.SecondLevelIndicatorControlBar
     49                 android:id="@+id/second_level_indicator_bar"
     50                 android:layout_height="match_parent"
     51                 android:layout_width="match_parent"
     52                 android:paddingTop="@dimen/indicator_bar_padding"
     53                 android:paddingBottom="@dimen/indicator_bar_padding"
     54                 android:layout_centerHorizontal="true"
     55                 android:background="@color/indicator_background"
     56                 android:visibility="gone">
     57             <View android:id="@+id/divider"
     58                     android:layout_width="match_parent"
     59                     android:layout_height="1dp"
     60                     android:background="@android:color/white" />
     61             <com.android.camera.ui.TwoStateImageView
     62                     android:id="@+id/back_to_first_level"
     63                     android:layout_width="match_parent"
     64                     android:layout_height="wrap_content"
     65                     android:contentDescription="@string/accessibility_back_to_first_level"
     66                     android:background="@drawable/bg_pressed"
     67                     android:src="@drawable/btn_close_settings"
     68                     android:rotation="270" />
     69         </com.android.camera.ui.SecondLevelIndicatorControlBar>
     70     </RelativeLayout>
     71 </com.android.camera.ui.IndicatorControlBarContainer>
     72