Fix dialog colors
This commit is contained in:
parent
6184b7f306
commit
059ef16dc2
|
@ -138,9 +138,9 @@ public class ChapterListAdapter extends ArrayAdapter<Chapter> {
|
||||||
if (current != null) {
|
if (current != null) {
|
||||||
if (current == sc) {
|
if (current == sc) {
|
||||||
holder.title.setTextColor(convertView.getResources().getColor(
|
holder.title.setTextColor(convertView.getResources().getColor(
|
||||||
R.color.bright_blue));
|
R.color.holo_blue_light));
|
||||||
holder.start.setTextColor(convertView.getResources().getColor(
|
holder.start.setTextColor(convertView.getResources().getColor(
|
||||||
R.color.bright_blue));
|
R.color.holo_blue_light));
|
||||||
} else {
|
} else {
|
||||||
holder.title.setTextColor(defaultTextColor);
|
holder.title.setTextColor(defaultTextColor);
|
||||||
holder.start.setTextColor(defaultTextColor);
|
holder.start.setTextColor(defaultTextColor);
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1dp"
|
android:layout_height="1dp"
|
||||||
android:layout_below="@id/butNavUp"
|
android:layout_below="@id/butNavUp"
|
||||||
android:background="@color/bright_blue" />
|
android:background="@color/holo_blue_light" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<ListView
|
<ListView
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:textSize="@dimen/text_size_large"
|
android:textSize="@dimen/text_size_large"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:textColor="@color/bright_blue"
|
android:textColor="@color/holo_blue_light"
|
||||||
android:textStyle="italic"/>
|
android:textStyle="italic"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="1dp"
|
android:layout_height="1dp"
|
||||||
android:layout_below="@id/butNavUp"
|
android:layout_below="@id/butNavUp"
|
||||||
android:background="@color/bright_blue" />
|
android:background="@color/holo_blue_light" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<ListView
|
<ListView
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:textSize="@dimen/text_size_large"
|
android:textSize="@dimen/text_size_large"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:textColor="@color/bright_blue"
|
android:textColor="@color/holo_blue_light"
|
||||||
android:textStyle="italic"/>
|
android:textStyle="italic"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="2dp"
|
android:layout_height="2dp"
|
||||||
android:background="@color/bright_blue"/>
|
android:background="@color/holo_blue_light"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
android:layout_height="1dp"
|
android:layout_height="1dp"
|
||||||
android:layout_below="@id/imgvCover"
|
android:layout_below="@id/imgvCover"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:background="@color/bright_blue"/>
|
android:background="@color/holo_blue_light"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<style name="AntennaPod.Dialog.Title" parent="@android:style/TextAppearance.Medium">
|
<style name="AntennaPod.Dialog.Title" parent="@android:style/TextAppearance.Medium">
|
||||||
<item name="android:textSize">@dimen/text_size_medium</item>
|
<item name="android:textSize">@dimen/text_size_medium</item>
|
||||||
<item name="android:textColor">@color/bright_blue</item>
|
<item name="android:textColor">@color/holo_blue_light</item>
|
||||||
<item name="android:maxLines">2</item>
|
<item name="android:maxLines">2</item>
|
||||||
<item name="android:ellipsize">end</item>
|
<item name="android:ellipsize">end</item>
|
||||||
<item name="android:fontFamily">sans-serif-light</item>
|
<item name="android:fontFamily">sans-serif-light</item>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<color name="grey600">#757575</color>
|
<color name="grey600">#757575</color>
|
||||||
<color name="light_gray">#bfbfbf</color>
|
<color name="light_gray">#bfbfbf</color>
|
||||||
<color name="black">#000000</color>
|
<color name="black">#000000</color>
|
||||||
<color name="bright_blue">#33B5E5</color>
|
<color name="holo_blue_light">#33B5E5</color>
|
||||||
|
<color name="holo_blue_dark">#0099CC</color>
|
||||||
<color name="ics_gray">#858585</color>
|
<color name="ics_gray">#858585</color>
|
||||||
<color name="actionbar_gray">#DDDDDD</color>
|
<color name="actionbar_gray">#DDDDDD</color>
|
||||||
<color name="download_success_green">#669900</color>
|
<color name="download_success_green">#669900</color>
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
|
|
||||||
<!-- Theme colors -->
|
<!-- Theme colors -->
|
||||||
<color name="primary_light">#FFFFFF</color>
|
<color name="primary_light">#FFFFFF</color>
|
||||||
<color name="color_accent">#009EC8</color>
|
|
||||||
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<style name="Theme.AntennaPod.Light" parent="@style/Theme.AppCompat.Light">
|
<style name="Theme.AntennaPod.Light" parent="Theme.AppCompat.Light">
|
||||||
<item name="colorPrimary">@color/primary_light</item>
|
<item name="colorPrimary">@color/primary_light</item>
|
||||||
<item name="colorAccent">@color/color_accent</item>
|
<item name="colorAccent">@color/holo_blue_light</item>
|
||||||
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
||||||
|
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Light</item>
|
||||||
<item name="attr/action_bar_icon_color">@color/grey600</item>
|
<item name="attr/action_bar_icon_color">@color/grey600</item>
|
||||||
<item name="attr/action_about">@drawable/ic_info_grey600_24dp</item>
|
<item name="attr/action_about">@drawable/ic_info_grey600_24dp</item>
|
||||||
<item name="attr/action_search">@drawable/ic_search_grey600_24dp</item>
|
<item name="attr/action_search">@drawable/ic_search_grey600_24dp</item>
|
||||||
|
@ -49,11 +50,12 @@
|
||||||
<item name="attr/ic_filter">@drawable/ic_filter_grey600_24dp</item>
|
<item name="attr/ic_filter">@drawable/ic_filter_grey600_24dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.AntennaPod.Dark" parent="@style/Theme.AppCompat">
|
<style name="Theme.AntennaPod.Dark" parent="Theme.AppCompat">
|
||||||
<item name="colorAccent">@color/color_accent</item>
|
<item name="colorAccent">@color/holo_blue_dark</item>
|
||||||
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
||||||
|
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Dark</item>
|
||||||
<item name="attr/action_bar_icon_color">@color/white</item>
|
<item name="attr/action_bar_icon_color">@color/white</item>
|
||||||
<item name="attr/action_about">@drawable/ic_info_white_24dp</item>
|
<item name="attr/action_about">@drawable/ic_info_white_24dp</item>g
|
||||||
<item name="attr/action_search">@drawable/ic_search_white_24dp</item>
|
<item name="attr/action_search">@drawable/ic_search_white_24dp</item>
|
||||||
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
|
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
|
||||||
<item name="attr/av_download">@drawable/ic_file_download_white_24dp</item>
|
<item name="attr/av_download">@drawable/ic_file_download_white_24dp</item>
|
||||||
|
@ -96,12 +98,13 @@
|
||||||
<item name="attr/ic_filter">@drawable/ic_filter_white_24dp</item>
|
<item name="attr/ic_filter">@drawable/ic_filter_white_24dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.AntennaPod.Light.NoTitle" parent="@style/Theme.AppCompat.Light.NoActionBar">
|
<style name="Theme.AntennaPod.Light.NoTitle" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="colorPrimary">@color/primary_light</item>
|
<item name="colorPrimary">@color/primary_light</item>
|
||||||
<item name="colorAccent">@color/color_accent</item>
|
<item name="colorAccent">@color/holo_blue_light</item>
|
||||||
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
||||||
|
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Light</item>
|
||||||
<item name="attr/action_about">@drawable/ic_info_grey600_24dp</item>
|
<item name="attr/action_about">@drawable/ic_info_grey600_24dp</item>
|
||||||
<item name="attr/action_search">@drawable/ic_search_grey600_24dp</item>
|
<item name="attr/action_search">@drawable/ic_search_grey600_24dp</item>
|
||||||
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_grey600_24dp</item>
|
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_grey600_24dp</item>
|
||||||
|
@ -145,11 +148,12 @@
|
||||||
<item name="attr/ic_filter">@drawable/ic_filter_grey600_24dp</item>
|
<item name="attr/ic_filter">@drawable/ic_filter_grey600_24dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.AntennaPod.Dark.NoTitle" parent="@style/Theme.AppCompat.NoActionBar">
|
<style name="Theme.AntennaPod.Dark.NoTitle" parent="Theme.AppCompat.NoActionBar">
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="colorAccent">@color/color_accent</item>
|
<item name="colorAccent">@color/holo_blue_dark</item>
|
||||||
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
|
||||||
|
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Dark</item>
|
||||||
<item name="attr/action_about">@drawable/ic_info_white_24dp</item>
|
<item name="attr/action_about">@drawable/ic_info_white_24dp</item>
|
||||||
<item name="attr/action_search">@drawable/ic_search_white_24dp</item>
|
<item name="attr/action_search">@drawable/ic_search_white_24dp</item>
|
||||||
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
|
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
|
||||||
|
@ -197,44 +201,6 @@
|
||||||
<item name="windowActionBarOverlay">true</item>
|
<item name="windowActionBarOverlay">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="UndoBar">
|
|
||||||
<item name="android:layout_width">match_parent</item>
|
|
||||||
<item name="android:layout_height">48dp</item>
|
|
||||||
<item name="android:layout_gravity">bottom</item>
|
|
||||||
<item name="android:layout_marginLeft">8dp</item>
|
|
||||||
<item name="android:layout_marginRight">8dp</item>
|
|
||||||
<item name="android:layout_marginBottom">16dp</item>
|
|
||||||
<item name="android:orientation">horizontal</item>
|
|
||||||
<item name="android:background">@drawable/undobar</item>
|
|
||||||
<item name="android:clickable">true</item>
|
|
||||||
<item name="android:divider">@drawable/undobar_divider</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="UndoBarMessage">
|
|
||||||
<item name="android:layout_width">0dp</item>
|
|
||||||
<item name="android:layout_weight">1</item>
|
|
||||||
<item name="android:layout_height">wrap_content</item>
|
|
||||||
<item name="android:layout_marginLeft">16dp</item>
|
|
||||||
<item name="android:layout_gravity">center_vertical</item>
|
|
||||||
<item name="android:layout_marginRight">16dp</item>
|
|
||||||
<item name="android:textAppearance">?android:textAppearanceMedium</item>
|
|
||||||
<item name="android:textColor">#fff</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="UndoBarButton">
|
|
||||||
<item name="android:layout_width">wrap_content</item>
|
|
||||||
<item name="android:layout_height">match_parent</item>
|
|
||||||
<item name="android:paddingLeft">16dp</item>
|
|
||||||
<item name="android:paddingRight">16dp</item>
|
|
||||||
<item name="android:background">@drawable/undobar_button</item>
|
|
||||||
<item name="android:drawableLeft">@drawable/ic_undobar_undo</item>
|
|
||||||
<item name="android:drawablePadding">12dp</item>
|
|
||||||
<item name="android:textAppearance">?android:textAppearanceSmall</item>
|
|
||||||
<item name="android:textStyle">bold</item>
|
|
||||||
<item name="android:textColor">#fff</item>
|
|
||||||
<item name="android:text">@string/undo</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="AntennaPod.TextView.Heading" parent="@android:style/TextAppearance.Medium">
|
<style name="AntennaPod.TextView.Heading" parent="@android:style/TextAppearance.Medium">
|
||||||
<item name="android:textSize">@dimen/text_size_large</item>
|
<item name="android:textSize">@dimen/text_size_large</item>
|
||||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||||
|
@ -271,6 +237,14 @@
|
||||||
<item name="textAllCaps">false</item>
|
<item name="textAllCaps">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="AntennaPod.Dialog.Light" parent="Theme.AppCompat.Light.Dialog">
|
||||||
|
<item name="colorAccent">@color/holo_blue_light</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="AntennaPod.Dialog.Dark" parent="Theme.AppCompat.Dialog">
|
||||||
|
<item name="colorAccent">@color/holo_blue_dark</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="BigBlurryBackground">
|
<style name="BigBlurryBackground">
|
||||||
<item name="android:scaleType">centerCrop</item>
|
<item name="android:scaleType">centerCrop</item>
|
||||||
<!-- <item name="android:tint">@color/image_readability_tint</item> -->
|
<!-- <item name="android:tint">@color/image_readability_tint</item> -->
|
||||||
|
|
Loading…
Reference in New Issue