Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在包裹多行的芯片组中使用材料芯片。
总是在最后一个筹码之后,应该有一个文本输入字段,我可以在其中输入新筹码。
这可能吗?我应该使用哪些元素?
MDC-Android 库不支持开箱即用的特定用例。Chipgroups 仅支持芯片对象,听起来您想要一个多行 EditText,其输入由带有 ChipDrawables 的 ImageSpans 替换。
尝试在(使用 a或 a )EditText的右侧添加ChipGroupConstraintLayoutRelativeLayout
EditText
ChipGroup
ConstraintLayout
RelativeLayout