Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c1c4600 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I425ca595 into eclair

* changes:
  Fix 2261626: Don't show text on button if orientation is vertical.
parents 20aec2dd 425ca595
Loading
Loading
Loading
Loading
+23 −20
Original line number Diff line number Diff line
@@ -201,7 +201,6 @@ public class SlidingTab extends ViewGroup {
        }

        void setHintText(int resId) {
            // TODO: Text should be blank if widget is vertical
            text.setText(resId);
        }

@@ -564,8 +563,10 @@ public class SlidingTab extends ViewGroup {
     * @param resId
     */
    public void setLeftHintText(int resId) {
        if (isHorizontal()) {
            mLeftSlider.setHintText(resId);
        }
    }

    /**
     * Sets the right handle icon to a given resource.
@@ -592,8 +593,10 @@ public class SlidingTab extends ViewGroup {
     * @param resId
     */
    public void setRightHintText(int resId) {
        if (isHorizontal()) {
            mRightSlider.setHintText(resId);
        }
    }

    /**
     * Triggers haptic feedback.