This gave me a background for the whole list i wanted. Now i wonder
how to set  background fro the PreferenceCategory
 <style name="Theme" parent="android:Theme.Light">
    </style>
      <style name="Theme.Express">
        <item name="android:listViewStyle">@style/Widget.ListView</
item>
       </style>

    <style name="Widget" parent="android:Widget">
    </style>
    <style name="Widget.AbsListView">
        <item name="android:scrollbars">vertical</item>
        <item name="android:fadingEdge">vertical</item>
        <item name="android:scrollbarStyle">outsideInset</item>
    </style>

    <style name="Widget.ListView" parent="Widget.AbsListView">
        <item name="android:background">@drawable/background</item>
        <item name="android:divider">@drawable/line_darker</item>
    </style>

On Jan 21, 3:33 pm, Alexey <[email protected]> wrote:
> Hi all , in a preferences screen in my application which is build by
> extending the PreferenceActivity  i need to change   background on the
> window itself and on the PreferenceCategory.
> How i can do it via Themes/Styles ? Which attributes i need to
> define ?
> thanks Alex
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to