I'm trying to create a separator like PreferenceCategory and tried to
use the style on a TextView:
<TextView
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:paddingLeft="10sp"
style="@android:style/Preference.Category">
</TextView>
This gave me an error saying:
Error: Resource is not public. (at 'style' with value '@android:style/
Preference.Category').
Can we really not use that style or am I doing something wrong? I
know the code is out there that describes this style but have not been
able to find it. Any help?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en