Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit f2e2343

Browse files
committed
Use enums for TextView.AutoSizeType property
This is new in API 8.0 and so it only appeared once targeting 8.0
1 parent 8e879f4 commit f2e2343

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

support-compat/source/Transforms/EnumMethods.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,9 @@
3838
<method jni-name="onStartNestedScroll" parameter="p2" clr-enum-type="Android.Views.ScrollAxis" />
3939
<method jni-name="getNestedScrollAxes" parameter="return" clr-enum-type="Android.Views.ScrollAxis" />
4040
</mapping>
41+
42+
<mapping jni-class="android/support/v4/widget/AutoSizeTextView">
43+
<method jni-name="getAutoSizeTextType" parameter="return" clr-enum-type="Android.Widget.AutoSizeTextType" />
44+
<method jni-name="setAutoSizeTextTypeWithDefaults" parameter="p0" clr-enum-type="Android.Widget.AutoSizeTextType" />
45+
</mapping>
4146
</enum-method-mappings>

0 commit comments

Comments
 (0)