OSDN Git Service

Adjust text on Apply button
authorBart Sears <bsears@google.com>
Fri, 12 Oct 2012 03:34:21 +0000 (20:34 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 12 Oct 2012 04:12:10 +0000 (21:12 -0700)
ALL CAPS was a bit loud, so go back to mixed case, lower
font size to 18dip, and remove ":".

Bug: 7333492
Change-Id: I18885808437e6328ec94c40df25ea0678d381825

res/layout/filtershow_activity.xml
src/com/android/gallery3d/filtershow/PanelController.java

index f2b4736..f9d04aa 100644 (file)
                     android:layout_gravity="center"
                     android:layout_weight="1"
                     android:background="@android:color/transparent"
-                    android:textAllCaps="true"
                     android:gravity="center"
                     android:text="@string/apply_effect"
-                    android:textSize="24dip" />
+                    android:textSize="18dip" />
             </LinearLayout>
 
             <HorizontalScrollView
index fe2be56..f13cdd4 100644 (file)
@@ -142,10 +142,10 @@ public class PanelController implements OnClickListener {
         public void updateText() {
             String apply = mContext.getString(R.string.apply_effect);
             if (mShowParameterValue) {
-                mTextView.setText(Html.fromHtml(apply + ": " + mEffectName + " "
+                mTextView.setText(Html.fromHtml(apply + " " + mEffectName + " "
                         + mParameterValue));
             } else {
-                mTextView.setText(Html.fromHtml(apply + ": " + mEffectName));
+                mTextView.setText(Html.fromHtml(apply + " " + mEffectName));
             }
         }