diff options
author | Chih-yu Huang <akahuang@google.com> | 2011-11-04 16:20:19 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2011-11-08 10:25:32 +0800 |
commit | 4b9791ff6763d310c750892b774119ad750c512a (patch) | |
tree | 071021e3f99994563c35ef70e9aa92b2caa8964a /res/layout/indicator_bar.xml | |
parent | 08ce47f0a87dac202bfe3b97a12d1d059a3c88f6 (diff) | |
download | LegacyCamera-4b9791ff6763d310c750892b774119ad750c512a.zip LegacyCamera-4b9791ff6763d310c750892b774119ad750c512a.tar.gz LegacyCamera-4b9791ff6763d310c750892b774119ad750c512a.tar.bz2 |
Change highlight pattern in indicatorbar.
Use the blue press state for all the icons in the setting bar,
fill the whole bar width with a square instead of blue arc.
Also make the share icon touch area larger.
bug:5521011
Change-Id: I2db26c41758d230e8455696346a90a33b7e3efb6
Diffstat (limited to 'res/layout/indicator_bar.xml')
-rw-r--r-- | res/layout/indicator_bar.xml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/res/layout/indicator_bar.xml b/res/layout/indicator_bar.xml index b7348b4..b3877d3 100644 --- a/res/layout/indicator_bar.xml +++ b/res/layout/indicator_bar.xml @@ -26,7 +26,8 @@ android:layout_width="match_parent"> <com.android.camera.ui.IndicatorControlBar android:id="@+id/indicator_bar" - android:padding="8dp" + android:paddingRight="8dp" + android:paddingLeft="8dp" android:layout_height="match_parent" android:layout_width="match_parent" android:layout_centerVertical="true"> @@ -41,6 +42,7 @@ android:layout_width="wrap_content" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_second_level_indicators" + android:background="@drawable/bg_pressed" android:src="@drawable/ic_settings_holo_light" /> </com.android.camera.ui.IndicatorControlBar> @@ -57,19 +59,13 @@ android:layout_height="match_parent" android:layout_width="1dp" android:background="@android:color/white" /> - <View android:id="@+id/indicator_highlight" - android:layout_alignParentTop="true" - android:layout_height="3dp" - android:layout_width="0dp" - android:background="@color/mode_selection_border" - android:visibility="gone" /> <com.android.camera.ui.TwoStateImageView android:id="@+id/back_to_first_level" android:layout_height="match_parent" android:layout_width="wrap_content" android:contentDescription="@string/accessibility_back_to_first_level" + android:background="@drawable/bg_pressed" android:src="@drawable/btn_close_settings" /> </com.android.camera.ui.SecondLevelIndicatorControlBar> - </RelativeLayout> </com.android.camera.ui.IndicatorControlBarContainer> |