diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-09-15 03:24:43 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-09-15 07:39:55 +0800 |
commit | 977d06c6278cb7b131ed3c0960853d9168aacbdd (patch) | |
tree | 879136c52bcf2a4ebdbaca5a72e0e7f3b9db71ae /res/values | |
parent | c24192e3b9a3d4f6e5e77e408fd4d91333b1275e (diff) | |
download | LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.zip LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.tar.gz LegacyCamera-977d06c6278cb7b131ed3c0960853d9168aacbdd.tar.bz2 |
Update share UI to match redlines.
- Change animation to crossfade.
- Remove border in the normal state.
- Remove the divider of the application icons.
- Change the area of the share popup to viewfinder only in panorama.
bug:5290450
Change-Id: Ia483c65f846e568a942d855119634f02c2c30c14
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/dimens.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 5aed274..f0778dd 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -21,7 +21,7 @@ <dimen name="hint_y_offset">64dp</dimen> <dimen name="share_icon_length">36dp</dimen> <dimen name="share_item_width">54dp</dimen> - <dimen name="share_item_height">60dp</dimen> + <dimen name="share_item_height">54dp</dimen> <dimen name="pano_control_layout_min_width">76dp</dimen> <dimen name="pano_control_start_button_size">70dp</dimen> <dimen name="pano_mosaic_surface_height">240dp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index bd46fc3..8076cc9 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -164,4 +164,8 @@ <item name="android:layout_alignParentTop">true</item> <item name="android:layout_centerHorizontal">true</item> </style> + <style name="AnimationPopup" parent="android:Animation"> + <item name="android:windowEnterAnimation">@anim/share_popup_enter</item> + <item name="android:windowExitAnimation">@anim/share_popup_exit</item> + </style> </resources> |