Skip to content

Commit 81453f7

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics"
2 parents bb3968f + 8a551a5 commit 81453f7

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

core/res/res/values/attrs.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@
20612061
</attr>
20622062
<!-- Direction of the text. A heuristic is used to determine the resolved text direction
20632063
of paragraphs. -->
2064-
<attr name="textDirection" format="integer">
2064+
<attr name="textDirection" format="integer">
20652065
<!-- Default -->
20662066
<enum name="inherit" value="0" />
20672067
<!-- Default for the root view. The first strong directional character determines the
@@ -2072,16 +2072,12 @@
20722072
it is LTR if it contains any strong LTR characters. If there are neither, the
20732073
paragraph direction is the view’s resolved layout direction. -->
20742074
<enum name="anyRtl" value="2" />
2075-
<!-- The paragraph direction is the same as the one held by a 60% majority of the
2076-
characters. If there is no majority then the paragraph direction is the resolved
2077-
layout direction of the View. -->
2078-
<enum name="charCount" value="3" />
20792075
<!-- The paragraph direction is left to right. -->
2080-
<enum name="ltr" value="4" />
2076+
<enum name="ltr" value="3" />
20812077
<!-- The paragraph direction is right to left. -->
2082-
<enum name="rtl" value="5" />
2078+
<enum name="rtl" value="4" />
20832079
<!-- The paragraph direction is coming from the system Locale. -->
2084-
<enum name="locale" value="6" />
2080+
<enum name="locale" value="5" />
20852081
</attr>
20862082
</declare-styleable>
20872083

0 commit comments

Comments
 (0)