diff options
author | recalculated <recalculated@users.noreply.github.com> | 2016-01-07 19:05:41 -0600 |
---|---|---|
committer | recalculated <recalculated@users.noreply.github.com> | 2016-01-07 19:05:41 -0600 |
commit | 0d54bd18a74839a6b6c6ba47524903629bb4ffb4 (patch) | |
tree | 92e20002d50c88ea5841794d0702e7ade6ac4cca /core/src | |
parent | 8a4624cb921438e447623cb795c41e8cbefac7e4 (diff) | |
download | AntennaPod-0d54bd18a74839a6b6c6ba47524903629bb4ffb4.zip |
Redesign ExternalPlayerFragment
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/res/drawable-v21/progress_bar_horizontal.xml | 10 | ||||
-rw-r--r-- | core/src/main/res/drawable/progress_bar_horizontal.xml | 10 | ||||
-rw-r--r-- | core/src/main/res/values/dimens.xml | 2 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 5 |
4 files changed, 26 insertions, 1 deletions
diff --git a/core/src/main/res/drawable-v21/progress_bar_horizontal.xml b/core/src/main/res/drawable-v21/progress_bar_horizontal.xml new file mode 100644 index 000000000..2c0c18182 --- /dev/null +++ b/core/src/main/res/drawable-v21/progress_bar_horizontal.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/progress"> + <clip> + <shape> + <solid android:color="?attr/colorAccent"/> + </shape> + </clip> + </item> +</layer-list> diff --git a/core/src/main/res/drawable/progress_bar_horizontal.xml b/core/src/main/res/drawable/progress_bar_horizontal.xml new file mode 100644 index 000000000..f96a1c3e0 --- /dev/null +++ b/core/src/main/res/drawable/progress_bar_horizontal.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/progress"> + <clip> + <shape> + <solid android:color="@color/holo_blue_dark"/> + </shape> + </clip> + </item> +</layer-list> diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml index c46537b3e..aa57e3051 100644 --- a/core/src/main/res/values/dimens.xml +++ b/core/src/main/res/values/dimens.xml @@ -3,7 +3,7 @@ <dimen name="widget_margin">8dp</dimen> <dimen name="thumbnail_length">70dp</dimen> - <dimen name="external_player_height">70dp</dimen> + <dimen name="external_player_height">56dp</dimen> <dimen name="enc_icons_size">20dp</dimen> <dimen name="text_size_micro">12sp</dimen> <dimen name="text_size_small">14sp</dimen> diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index b9ee70dbf..b006f31b9 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -253,4 +253,9 @@ </style> + <style name="ProgressBarStyle"> + <item name="android:indeterminateOnly">false</item> + <item name="android:progressDrawable">@drawable/progress_bar_horizontal</item> + </style> + </resources> |