Fix in ThemeBaseActivity for the darktheme boolean and new "now playing" toolbar icon

This commit is contained in:
Karim Abou Zeid 2015-04-17 16:28:42 +02:00
commit 751f0b796a
17 changed files with 7 additions and 7 deletions

View file

@ -51,7 +51,7 @@ public abstract class ThemeBaseActivity extends ActionBarActivity implements Kab
ThemeSingleton.get().neutralColor = ThemeSingleton.get().positiveColor; ThemeSingleton.get().neutralColor = ThemeSingleton.get().positiveColor;
ThemeSingleton.get().widgetColor = ThemeSingleton.get().positiveColor; ThemeSingleton.get().widgetColor = ThemeSingleton.get().positiveColor;
// Dark theme // Dark theme
ThemeSingleton.get().darkTheme = PreferenceUtils.getInstance(this).getGeneralTheme() == 1; ThemeSingleton.get().darkTheme = PreferenceUtils.getInstance(this).getGeneralTheme() == R.style.Theme_MaterialMusic;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
// Sets color of entry in the system recents page // Sets color of entry in the system recents page

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -5,7 +5,7 @@
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>

View file

@ -5,7 +5,7 @@
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="always" /> app:showAsAction="always" />

View file

@ -5,7 +5,7 @@
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>

View file

@ -5,7 +5,7 @@
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="always"/> app:showAsAction="always"/>

View file

@ -5,7 +5,7 @@
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="ifRoom" /> app:showAsAction="ifRoom" />

View file

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/action_current_playing" android:id="@+id/action_current_playing"
android:icon="@drawable/ic_play_circle_outline_white_24dp" android:icon="@drawable/ic_play_circle_fill_white_24dp"
android:title="@string/action_current_playing" android:title="@string/action_current_playing"
app:showAsAction="always" /> app:showAsAction="always" />