Commit 2e902a11 authored by Mygod's avatar Mygod

Refine drawer icons

parent f01cbe15
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"/>
</vector>
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
android:viewportHeight="24.0"> android:viewportHeight="24.0">
<path <path
android:fillColor="#FF000000" android:fillColor="#FF000000"
android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z"/> android:pathData="M14,2L6,2c-1.1,0 -1.99,0.9 -1.99,2L4,20c0,1.1 0.89,2 1.99,2L18,22c1.1,0 2,-0.9 2,-2L20,8l-6,-6zM16,18L8,18v-2h8v2zM16,14L8,14v-2h8v2zM13,9L13,3.5L18.5,9L13,9z"/>
</vector> </vector>
...@@ -215,17 +215,17 @@ class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawe ...@@ -215,17 +215,17 @@ class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawe
new PrimaryDrawerItem() new PrimaryDrawerItem()
.withIdentifier(DRAWER_PROFILES) .withIdentifier(DRAWER_PROFILES)
.withName(R.string.profiles) .withName(R.string.profiles)
.withIcon(getResources.getDrawable(R.drawable.ic_folder)) .withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_description))
) )
.addStickyDrawerItems( .addStickyDrawerItems(
new SecondaryDrawerItem() new SecondaryDrawerItem()
.withIdentifier(DRAWER_GLOBAL_SETTINGS) .withIdentifier(DRAWER_GLOBAL_SETTINGS)
.withName(R.string.settings) .withName(R.string.settings)
.withIcon(getResources.getDrawable(R.drawable.ic_settings)), .withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_settings)),
new SecondaryDrawerItem() new SecondaryDrawerItem()
.withIdentifier(DRAWER_ABOUT) .withIdentifier(DRAWER_ABOUT)
.withName(R.string.about) .withName(R.string.about)
.withIcon(getResources.getDrawable(R.drawable.ic_copyright)) .withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_copyright))
.withSelectable(false) .withSelectable(false)
) )
.withOnDrawerItemClickListener(this) .withOnDrawerItemClickListener(this)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment