From 77a9ae1cc28ac0c326feeb271ffa606a10ea0a83 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 18 Nov 2014 13:05:45 -0800 Subject: Change to cooler toggle animation --- res/drawable-hdpi/ic_drawer.png | Bin 113 -> 0 bytes res/drawable-mdpi/ic_drawer.png | Bin 104 -> 0 bytes res/drawable-xhdpi/ic_drawer.png | Bin 120 -> 0 bytes res/drawable-xxhdpi/ic_drawer.png | Bin 202 -> 0 bytes res/values/themes.xml | 7 +++++++ .../daneren2005/dsub/activity/SubsonicActivity.java | 4 ++-- 6 files changed, 9 insertions(+), 2 deletions(-) delete mode 100644 res/drawable-hdpi/ic_drawer.png delete mode 100644 res/drawable-mdpi/ic_drawer.png delete mode 100644 res/drawable-xhdpi/ic_drawer.png delete mode 100644 res/drawable-xxhdpi/ic_drawer.png diff --git a/res/drawable-hdpi/ic_drawer.png b/res/drawable-hdpi/ic_drawer.png deleted file mode 100644 index eb90af58..00000000 Binary files a/res/drawable-hdpi/ic_drawer.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_drawer.png b/res/drawable-mdpi/ic_drawer.png deleted file mode 100644 index 1681d12c..00000000 Binary files a/res/drawable-mdpi/ic_drawer.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_drawer.png b/res/drawable-xhdpi/ic_drawer.png deleted file mode 100644 index daba1451..00000000 Binary files a/res/drawable-xhdpi/ic_drawer.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_drawer.png b/res/drawable-xxhdpi/ic_drawer.png deleted file mode 100644 index 9c4685d6..00000000 Binary files a/res/drawable-xxhdpi/ic_drawer.png and /dev/null differ diff --git a/res/values/themes.xml b/res/values/themes.xml index 129c0612..5dfddb9e 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -31,6 +31,7 @@ @array/drawerItemIconsLight @style/DSub.TextViewStyle @style/DSub.ButtonStyle.Light + @style/DSub.DrawerArrow + + diff --git a/src/github/daneren2005/dsub/activity/SubsonicActivity.java b/src/github/daneren2005/dsub/activity/SubsonicActivity.java index c3f8e4a7..7da8d432 100644 --- a/src/github/daneren2005/dsub/activity/SubsonicActivity.java +++ b/src/github/daneren2005/dsub/activity/SubsonicActivity.java @@ -28,7 +28,7 @@ import android.media.AudioManager; import android.os.Build; import android.os.Bundle; import android.os.Environment; -import android.support.v4.app.ActionBarDrawerToggle; +import android.support.v7.app.ActionBarDrawerToggle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; @@ -201,7 +201,7 @@ public class SubsonicActivity extends ActionBarActivity implements OnItemSelecte }); drawer = (DrawerLayout) findViewById(R.id.drawer_layout); - drawerToggle = new ActionBarDrawerToggle(this, drawer, R.drawable.ic_drawer, R.string.common_appname, R.string.common_appname) { + drawerToggle = new ActionBarDrawerToggle(this, drawer, R.string.common_appname, R.string.common_appname) { @Override public void onDrawerClosed(View view) { setTitle(currentFragment.getTitle()); -- cgit v1.2.3