Loading core/java/android/widget/CompoundButton.java +11 −0 Original line number Diff line number Diff line Loading @@ -244,6 +244,17 @@ public abstract class CompoundButton extends Button implements Checkable { } } /** * @hide */ @Override public void onResolveDrawables(@ResolvedLayoutDir int layoutDirection) { super.onResolveDrawables(layoutDirection); if (mButtonDrawable != null) { mButtonDrawable.setLayoutDirection(layoutDirection); } } /** * @return the drawable used as the compound button image * @see #setButtonDrawable(Drawable) Loading Loading
core/java/android/widget/CompoundButton.java +11 −0 Original line number Diff line number Diff line Loading @@ -244,6 +244,17 @@ public abstract class CompoundButton extends Button implements Checkable { } } /** * @hide */ @Override public void onResolveDrawables(@ResolvedLayoutDir int layoutDirection) { super.onResolveDrawables(layoutDirection); if (mButtonDrawable != null) { mButtonDrawable.setLayoutDirection(layoutDirection); } } /** * @return the drawable used as the compound button image * @see #setButtonDrawable(Drawable) Loading