daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Aug 21st, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Extending styles and themes confusion
  2. <activity android:name=".MyActivity"
  3.      android:label="@string/app_name"
  4.         name="Theme.NoTitleBar"...
  5.    
  6. <style name="Theme.NoTitleBar.new_skin" parent="android:Theme">
  7.         <item name="text_body_read">@style/text_body_read</item>
  8.         <item name="text_body_unread">@style/text_body_unread</item>
  9.     </style>
  10.    
  11. <activity android:name=".MyActivity"
  12.      android:label="@string/app_name"
  13.         name="MyTheme"...
  14.    
  15. <style name="MyTheme" parent="android:Theme.NoTitleBar">
  16.         <item name="text_body_read">@style/text_body_read</item>
  17.         <item name="text_body_unread">@style/text_body_unread</item>
  18.  </style>
  19.    
  20. <style name="MyTheme.Widget.ListView" parent="@android:style/Widget.ListView.White">
  21. </style>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top