com.google.android.material:material:1.1.0-alpha07芯片问题

时间:2019-07-10 05:06:31

标签: android material

有人能创建具有圆形背景的简单芯片吗?

以下代码在1.0.0版本中有效,但在1.1.0-alpha +版本中无效

<com.google.android.material.chip.Chip
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:chipBackgroundColor="#0f0"
    app:chipCornerRadius="15dp"
    android:text="Some text"/>

0 个答案:

没有答案