diff options
Diffstat (limited to 'res/layout/indicator_bar.xml')
-rw-r--r-- | res/layout/indicator_bar.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/res/layout/indicator_bar.xml b/res/layout/indicator_bar.xml new file mode 100644 index 0000000..b3d8c09 --- /dev/null +++ b/res/layout/indicator_bar.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<com.android.camera.ui.IndicatorControlContainer xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/indicator_control" + android:layout_width="48dp" + android:layout_height="match_parent" + android:layout_marginTop="6dp" + android:layout_marginRight="6dp" + android:layout_marginBottom="6dp" + android:clickable="true" + android:layout_alignParentRight="true"> + <com.android.camera.ui.IndicatorBar + android:id="@+id/indicator_bar" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <ImageView + android:id="@+id/zoom_control_icon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:src="@drawable/btn_zoom_control" + android:visibility="gone" /> + <com.android.camera.ui.RotateImageView + android:id="@+id/second_level_indicator_bar_icon" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:src="@drawable/ic_settings_holo_light" /> + </com.android.camera.ui.IndicatorBar> + + <com.android.camera.ui.ZoomControlBar + android:id="@+id/zoom_control" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> + <com.android.camera.ui.SecondLevelIndicatorBar + android:id="@+id/second_level_indicator_bar" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> +</com.android.camera.ui.IndicatorControlContainer> |