diff options
author | Chih-yu Huang <akahuang@google.com> | 2011-11-11 19:41:34 +0800 |
---|---|---|
committer | Chih-yu Huang <akahuang@google.com> | 2011-11-11 22:15:28 +0800 |
commit | 204224ce0423e4a6a29fa015128131c71b9bb9d8 (patch) | |
tree | d49fbd81e6483d5b588fb5fdd52598c241f09766 /res/layout | |
parent | bba9566c7d74e80a53548853114a7512fb3d416f (diff) | |
download | LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.zip LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.tar.gz LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.tar.bz2 |
Add indicators of settings on the viewfinder.
Add exposure, flash, scene, white balance, and focus indicators.
bug:5039279
Change-Id: I7ef87ee35855030dbc8fdc2d4c52fa5d8b6549ba
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/priority_indicators.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/res/layout/priority_indicators.xml b/res/layout/priority_indicators.xml index 794dfb8..a8318e0 100644 --- a/res/layout/priority_indicators.xml +++ b/res/layout/priority_indicators.xml @@ -20,19 +20,23 @@ android:layout_height="wrap_content" android:layout_width="wrap_content" android:padding="8dp"> - <ImageView style="@style/OnScreenIndicator" - android:padding="1dp" - android:id="@+id/onscreen_gps_indicator_no_signal" - android:src="@drawable/ic_viewfinder_gps_no_signal"/> - <ImageView style="@style/OnScreenIndicator" - android:padding="1dp" - android:id="@+id/onscreen_gps_indicator_on" - android:src="@drawable/ic_viewfinder_gps_on"/> - <TextView style="@style/OnScreenIndicator" - android:id="@+id/onscreen_exposure_indicator" + <ImageView android:id="@+id/onscreen_flash_indicator" + style="@style/OnScreenIndicator" + android:visibility="visible"/> + <ImageView android:id="@+id/onscreen_white_balance_indicator" + style="@style/OnScreenIndicator"/> + <TextView android:id="@+id/onscreen_exposure_indicator" + style="@style/OnScreenIndicator" android:layout_marginTop="6dp" - android:rotation="90.0" + android:layout_marginBottom="6dp" android:gravity="center_vertical" android:textSize="15dp" android:textColor="@android:color/white"/> + <ImageView android:id="@+id/onscreen_scene_indicator" + style="@style/OnScreenIndicator" + android:src="@drawable/ic_indicators_scn"/> + <ImageView android:id="@+id/onscreen_gps_indicator" + style="@style/OnScreenIndicator"/> + <ImageView android:id="@+id/onscreen_focus_indicator" + style="@style/OnScreenIndicator"/> </LinearLayout> |