I want to use a style of Android libraries. I think I should use @
(Case 2) for style
attribute, but I saw a sample from website, it uses ?
(Case 1). I don't know why.
Does Android lib include both the named listSeparatorTextViewStyle resource and the style named listSeparatorTextViewStyle attribute ? Yes, I did find the style named listSeparatorTextViewStyle attribute in system android lib attrs.xml, but where can I find the named listSeparatorTextViewStyle resource ?
Here is the code and effect
Case 1
<TextView
android:id="@+id/dialog_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?android:attr/listSeparatorTextViewStyle"
/>
Case 2
<TextView
android:id="@+id/dialog_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@android:attr/listSeparatorTextViewStyle"
/>