summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-11-10 14:00:40 +0800
committerChung-yih Wang <cywang@google.com>2011-11-14 16:05:00 +0800
commit006baced4746ddaf31fbd170bcb76abc5f1f8325 (patch)
tree8bc2e96bf777b41079b701f1cf8b806276948fce /src/com/android
parent8d51fc281ca4e14c87eac278d153e162c0e1fcf2 (diff)
downloadLegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.zip
LegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.tar.gz
LegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.tar.bz2
Fix several UI bugs.
bug:5575970 1. The cancel button of the background replacer message should be on the bottom. 2. The location of recording timer was too low in the landscape mode. 3. Fix the animation of the setting popup. Change-Id: Ia2345e72efc0118cd0172af4bd6243815c602493
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/camera/ui/AbstractIndicatorButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/ui/AbstractIndicatorButton.java b/src/com/android/camera/ui/AbstractIndicatorButton.java
index 362becf..fd0f664 100644
--- a/src/com/android/camera/ui/AbstractIndicatorButton.java
+++ b/src/com/android/camera/ui/AbstractIndicatorButton.java
@@ -44,8 +44,8 @@ public abstract class AbstractIndicatorButton extends RotateImageView implements
public AbstractIndicatorButton(Context context) {
super(context);
- mFadeIn = AnimationUtils.loadAnimation(context, R.anim.grow_fade_in_from_right);
- mFadeOut = AnimationUtils.loadAnimation(context, R.anim.shrink_fade_out_from_right);
+ mFadeIn = AnimationUtils.loadAnimation(context, R.anim.setting_popup_grow_fade_in);
+ mFadeOut = AnimationUtils.loadAnimation(context, R.anim.setting_popup_shrink_fade_out);
HIGHLIGHT_COLOR = context.getResources().getColor(R.color.review_control_pressed_color);
setScaleType(ImageView.ScaleType.CENTER);
PopupManager.getInstance(context).setOnOtherPopupShowedListener(this);