Nagram/TMessagesProj/src/main/res/values/styles.xml
2013-10-25 19:19:00 +04:00

106 lines
5.4 KiB
XML

<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!--THEMES-->
<style name="Theme.TMessages" parent="Theme.Sherlock.Light">
<item name="android:actionBarStyle">@style/ActionBar.Transparent.TMessages</item>
<item name="android:actionOverflowButtonStyle">@style/ActionBar.Transparent.TMessages.ActionButtonOverflow</item>
<item name="android:homeAsUpIndicator">@drawable/ab_icon_up_messages</item>
<item name="android:popupMenuStyle">@style/ActionBar.Transparent.TMessages.Popup</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:colorBackground">@android:color/white</item>
<item name="android:windowBackground">@android:color/white</item>
<item name="android:itemTextAppearance">@style/ActionBar.Transparent.TMessages.Item</item>
<item name="android:listViewStyle">@style/Theme.TMessages.ListView</item>
<item name="android:listChoiceBackgroundIndicator">@drawable/list_selector</item>
<item name="android:editTextStyle">@style/Theme.TMessages.EditText</item>
<item name="actionBarStyle">@style/ActionBar.Transparent.TMessages</item>
<item name="actionOverflowButtonStyle">@style/ActionBar.Transparent.TMessages.ActionButtonOverflow</item>
<item name="homeAsUpIndicator">@drawable/ab_icon_up_messages</item>
<item name="popupMenuStyle">@style/ActionBar.Transparent.TMessages.Popup</item>
<item name="windowActionBarOverlay">true</item>
<item name="itemTextAppearance">@style/ActionBar.Transparent.TMessages.Item</item>
</style>
<style name="Theme.TMessages.Gallery" parent="Theme.Sherlock">
<item name="android:actionBarStyle">@style/ActionBar.Transparent.TMessages.Gallery</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:colorBackground">@color/gallery_background_color</item>
<item name="android:windowBackground">@color/gallery_background_color</item>
<item name="android:homeAsUpIndicator">@drawable/ab_icon_up_gallery</item>
<item name="android:actionOverflowButtonStyle">@style/ActionBar.Transparent.TMessages.Gallery.ActionButtonOverflow</item>
<item name="android:listChoiceBackgroundIndicator">@drawable/list_selector</item>
<item name="android:editTextStyle">@style/Theme.TMessages.EditText</item>
<!--<item name="android:windowIsTranslucent">true</item>-->
<!--<item name="android:backgroundDimEnabled">false</item>-->
<item name="actionBarStyle">@style/ActionBar.Transparent.TMessages.Gallery</item>
<item name="windowActionBarOverlay">true</item>
<item name="homeAsUpIndicator">@drawable/ab_icon_up_gallery</item>
<item name="actionOverflowButtonStyle">@style/ActionBar.Transparent.TMessages.Gallery.ActionButtonOverflow</item>
<item name="itemTextAppearance">@style/ActionBar.Transparent.TMessages.Item</item>
</style>
<!--ACTION BAR-->
<style name="ActionBar.Transparent.TMessages" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:background">@drawable/header</item>
<item name="android:logo">@drawable/ic_launcher</item>
<item name="background">@drawable/header</item>
<item name="logo">@drawable/ic_launcher</item>
</style>
<style name="ActionBar.Transparent.TMessages.Gallery" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:background">#dd000000</item>
<item name="android:titleTextStyle">@style/ActionBar.Transparent.TMessages.Gallery.Title</item>
<item name="background">#dd000000</item>
<item name="titleTextStyle">@style/ActionBar.Transparent.TMessages.Gallery.Title</item>
</style>
<!--ACTION BAR ITEMS-->
<style name="ActionBar.Transparent.TMessages.Item" parent="@android:TextAppearance.Widget.IconMenu.Item">
<item name="android:textColor">#006fc8</item>
<item name="android:textSize">18sp</item>
</style>
<style name="ActionBar.Transparent.TMessages.ActionButtonOverflow" parent="Widget.Sherlock.ActionButton.Overflow">
<item name="android:src">@drawable/ic_ab_other</item>
</style>
<style name="ActionBar.Transparent.TMessages.Gallery.ActionButtonOverflow" parent="Widget.Sherlock.ActionButton.Overflow">
<item name="android:src">@drawable/ic_ab_other_white</item>
</style>
<style name="ActionBar.Transparent.TMessages.Popup" parent="Widget.Sherlock.Light.ListPopupWindow">
<item name="android:popupBackground">@drawable/popup_fixed</item>
<item name="android:dropDownSelector">@drawable/list_selector</item>
</style>
<style name="ActionBar.Transparent.TMessages.Gallery.Title" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
<item name="android:textColor">#ffffffff</item>
</style>
<!--LIST VIEW-->
<style name="Theme.TMessages.ListView" parent="@android:style/Widget.ListView">
<item name="android:listSelector">@drawable/list_selector</item>
<item name="android:fadingEdge">none</item>
<item name="android:dividerHeight">1dp</item>
<item name="android:divider">@color/divider</item>
</style>
<!--EDIT TEXT-->
<style name="Theme.TMessages.EditText" parent="android:Widget.EditText">
<item name="android:background">@drawable/holo_edit_text_light</item>
<item name="android:textColor">#000000</item>
</style>
</resources>