瀏覽代碼

make chip style pill-styled again even for material 3

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 年之前
父節點
當前提交
fe4e73add6
共有 2 個文件被更改,包括 5 次插入1 次删除
  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" />