Logo
Explore Help
Sign In
DEV/material-components_material-components-android
1
0
Fork 0
You've already forked material-components_material-components-android
mirror of https://github.com/material-components/material-components-android.git synced 2026-02-04 19:48:23 +08:00
Code Issues Packages Projects Releases Wiki Activity
material-components_materia.../lib/java/com/google/android/material/chip
History
connieshi bb8f8388e7 Prevent users from setting the background attribute because Chip manages its own background drawable.
Allow setBackground to be called by Chip itself internally to set the background to be chipDrawable or ripple.

PiperOrigin-RevId: 198572908
2018-05-30 17:43:30 -04:00
..
res
Use the android:text attribute instead of chipText attribute to specify text label for ChipDrawable.
2018-05-30 17:19:38 -04:00
res-public/values
add res-public files
2018-05-30 17:42:48 -04:00
AndroidManifest.xml
…
build.gradle
…
Chip.java
Prevent users from setting the background attribute because Chip manages its own background drawable.
2018-05-30 17:43:30 -04:00
ChipDrawable.java
Keep reference to user provided value in ChipDrawable#setText and return it in ChipDrawable#getText.
2018-05-30 17:37:23 -04:00
ChipGroup.java
Add a ChipGroup.LayoutParams static class that extends from FlexBoxLayout.LayoutParams. Provide the appropriate pass-through constructors for this new class. Override generateLayoutParams/checkLayoutParams/generateDefaultLayoutParams in ChipGroup to check for and return instances of the new ChipGroup.LayoutParams class.
2018-05-30 17:32:24 -04:00
Powered by Gitea Version: 1.23.1 Page: 4218ms Template: 412ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API