am 1eb5c055: am cf33fe68: am e1190a99: am cb6dcd7a: am 2b58a29f: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE" into klp-dev
* commit '1eb5c0551f98b0340db37525f1f490c2d100cf38': Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API - DO NOT MERGE
This commit is contained in:
@@ -8667,6 +8667,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
super.onRtlPropertiesChanged(layoutDirection);
|
super.onRtlPropertiesChanged(layoutDirection);
|
||||||
|
|
||||||
mTextDir = getTextDirectionHeuristic();
|
mTextDir = getTextDirectionHeuristic();
|
||||||
|
|
||||||
|
if (mLayout != null) {
|
||||||
|
checkForRelayout();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextDirectionHeuristic getTextDirectionHeuristic() {
|
TextDirectionHeuristic getTextDirectionHeuristic() {
|
||||||
|
|||||||
Reference in New Issue
Block a user