Fix KitKat OOM when rendering rounded material buttons.

This commit is contained in:
Cody Henthorne authored and Alan Evans committed 2020-12-18 10:41:14 -04:00
1 parent fe01e80af5
commit 2b65482abd
3 files changed
+9 -1

No files matched your search

@@ -41,7 +41,7 @@
android:textAllCaps="false"
android:visibility="gone"
app:backgroundTint="@color/core_white"
app:cornerRadius="1000dp"
app:cornerRadius="@dimen/material_button_full_round_corner_radius"
app:icon="@drawable/ic_video_solid_18"
app:iconGravity="textStart"
tools:iconTint="@color/core_ultramarine"
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="material_button_full_round_corner_radius">0dp</dimen>
</resources>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="material_button_full_round_corner_radius">1000dp</dimen>
</resources>