checkedtextview

Overriding referenced style attributes

夙愿已清 提交于 2019-11-26 19:05:28
After reading through References To Theme Attributes I am trying to reference the value of an attribute in the my custom theme that I have set. I am applying a user-defined style to a CheckedTextView <CheckedTextView android:id="@+id/contactInfo" style="@style/ListViewCheckedTextViewRowStyle" > </CheckedTextView> The user-defined style is defined as : <style name="ListViewCheckedTextViewRowStyle" parent="@style/ListViewRowStyle"> <item name="android:checkMark">?android:listChoiceIndicatorMultiple</item> </style> My theme I created is defined as : <style name="Theme.Yellowgreen" parent="android

Overriding referenced style attributes

南楼画角 提交于 2019-11-26 06:47:45
问题 After reading through References To Theme Attributes I am trying to reference the value of an attribute in the my custom theme that I have set. I am applying a user-defined style to a CheckedTextView <CheckedTextView android:id=\"@+id/contactInfo\" style=\"@style/ListViewCheckedTextViewRowStyle\" > </CheckedTextView> The user-defined style is defined as : <style name=\"ListViewCheckedTextViewRowStyle\" parent=\"@style/ListViewRowStyle\"> <item name=\"android:checkMark\">?android