【发布时间】:2013-09-17 20:11:51
【问题描述】:
我的布局中有一些单选按钮和/或复选框,我希望我周围的 TextViews 具有相同的文本外观(大小、颜色等)。
基本上,我正在寻找类似以下的内容:
<TextView
android:textAppearance="?android:attr/textAppearanceRadioButton"
...
/>
是否有可能以其他方式实现这一目标?
P.S:我不想更改单选按钮和复选框已有的“默认”文本外观。另外,我不是在寻找运行时解决方案,而是使用 xml 布局文件的解决方案。
【问题讨论】:
标签: android radio-button android-checkbox