Browse Source

make chip style pill-styled again even for material 3

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
fe4e73add6
2 changed files with 5 additions and 1 deletions
  1. 2 0
      app/src/main/res/xml/chip_others.xml
  2. 3 1
      app/src/main/res/xml/chip_you.xml

+ 2 - 0
app/src/main/res/xml/chip_others.xml

@@ -23,4 +23,6 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:textAppearance="@style/ChipIncomingTextAppearance"
     app:chipBackgroundColor="#deffffff"
+    app:chipCornerRadius="@dimen/standard_padding"
+    app:chipStrokeWidth="@dimen/zero"
     app:closeIconEnabled="false" />

+ 3 - 1
app/src/main/res/xml/chip_you.xml

@@ -23,4 +23,6 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:textAppearance="@style/ChipOutgoingTextAppearance"
     app:chipBackgroundColor="@color/colorPrimary"
-    app:closeIconEnabled="false"/>
+    app:chipCornerRadius="@dimen/standard_padding"
+    app:chipStrokeWidth="@dimen/zero"
+    app:closeIconEnabled="false" />