diff options
author | Yuli Huang <yuli@google.com> | 2011-10-18 12:42:50 +0800 |
---|---|---|
committer | Yuli Huang <yuli@google.com> | 2011-10-18 13:10:10 +0800 |
commit | 5ac228e7d9a7e57d8c3bfa9dca08378762aa8b47 (patch) | |
tree | 27fa1b8456084ea27939d00f53f90f48e110f324 /res/layout/photoeditor_actionbar.xml | |
parent | ad3229857bd9585129824b0bffa966bfbc2e8a3c (diff) | |
download | android_packages_apps_Snap-5ac228e7d9a7e57d8c3bfa9dca08378762aa8b47.tar.gz android_packages_apps_Snap-5ac228e7d9a7e57d8c3bfa9dca08378762aa8b47.tar.bz2 android_packages_apps_Snap-5ac228e7d9a7e57d8c3bfa9dca08378762aa8b47.zip |
Fix b/5403449.
1. Extract code that recreates/restores ActionBar as RestorableView, and
make both ActionBar and EffectsMenu extend RestorableView.
2. Fix effects-menu buttons too close to each other.
3. Remove effects-menu buttons' highlight animations to look more
responsive.
Change-Id: I68e5bdcde702e611ccced5e169852c0e58a949fc
Diffstat (limited to 'res/layout/photoeditor_actionbar.xml')
-rw-r--r-- | res/layout/photoeditor_actionbar.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/photoeditor_actionbar.xml b/res/layout/photoeditor_actionbar.xml index 2437611a2..8bd51ed43 100644 --- a/res/layout/photoeditor_actionbar.xml +++ b/res/layout/photoeditor_actionbar.xml @@ -14,10 +14,10 @@ limitations under the License. --> -<com.android.gallery3d.photoeditor.ActionBar +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/action_bar" - style="@style/TopActionBar"> + style="@style/ActionBarInner" + android:background="@drawable/photoeditor_actionbar_translucent"> <LinearLayout style="@style/ActionBarLinearLayout"> @@ -62,4 +62,4 @@ </ViewSwitcher> </LinearLayout> -</com.android.gallery3d.photoeditor.ActionBar> +</RelativeLayout> |