Added Home menu item
Created numbered icons (snazzy vectors) Created vector home icon
This commit is contained in:
parent
9d3743dbbc
commit
82270d7c95
33
app/src/main/res/drawable/ic_menu_house.xml
Normal file
33
app/src/main/res/drawable/ic_menu_house.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10sp"
|
||||
android:height="13sp"
|
||||
android:viewportHeight="13.0"
|
||||
android:viewportWidth="10.0">
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 14 L7 14 L7 10 L0 10"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M8 14 L10 14 L10 10 L8 10"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 14 L10 14 L10 12 L0 12"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 10.25 L10 10.25 L10 7 L0 7"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M1.5 6.5 L3 6.5 L3 6.25 L1.5 6.25"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M2.125 5.625 L2.125 7.125 L2.375 7.125 L2.375 5.625"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M8.5 6.5 L7 6.5 L7 6.25 L8.5 6.25"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M7.625 5.625 L7.625 7.125 L7.875 7.125 L7.875 5.625"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 8 L0 7.125 L10 7.125 L10 8"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 5.625 L1.5 5.625 L1.5 7.125 L0 7.125"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M8.5 7.125 L8.5 5.625 L10 5.625 L10 7.125"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M3 5.625 L7 5.625 L7 7.125 L3 7.125"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 5.65 L10 5.65 L5 0"/>
|
||||
</vector>
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12sp"
|
||||
android:width="4sp"
|
||||
android:height="21sp"
|
||||
android:viewportHeight="21.0"
|
||||
android:viewportWidth="12.0">
|
||||
android:viewportWidth="4.0">
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 6 L2 7 L7 1 L5 0"/>
|
||||
android:pathData="M0 0 L0 2 L12 2 L12 0"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M5 0 L7 0 L7 20 L5 20"/>
|
||||
android:pathData="M1 0 L3 0 L3 20 L1 20"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 19 L12 19 L12 21 L0 21"/>
|
||||
</vector>
|
17
app/src/main/res/drawable/number_three.xml
Normal file
17
app/src/main/res/drawable/number_three.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12sp"
|
||||
android:height="21sp"
|
||||
android:viewportHeight="21.0"
|
||||
android:viewportWidth="12.0">
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 0 L12 0 L12 2 L0 2"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 21 L12 21 L12 19 L0 19"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M1 0 L3 0 L3 21 L1 21"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M5 0 L7 0 L7 21 L5 21"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M9 0 L11 0 L11 21 L9 21"/>
|
||||
</vector>
|
15
app/src/main/res/drawable/number_two.xml
Normal file
15
app/src/main/res/drawable/number_two.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="8sp"
|
||||
android:height="21sp"
|
||||
android:viewportHeight="21.0"
|
||||
android:viewportWidth="8.0">
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 0 L8 0 L8 2 L0 2"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M0 21 L8 21 L8 19 L0 19"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M1 0 L3 0 L3 21 L1 21"/>
|
||||
<path android:fillColor="#FF000000"
|
||||
android:pathData="M5 0 L7 0 L7 21 L5 21"/>
|
||||
</vector>
|
@ -2,18 +2,22 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<group android:checkableBehavior="single">
|
||||
<item
|
||||
android:id="@+id/nav_home"
|
||||
android:icon="@drawable/ic_menu_house"
|
||||
android:title="@string/label_home"/>
|
||||
<item
|
||||
android:id="@+id/nav_question1"
|
||||
android:icon="@drawable/ic_menu_camera"
|
||||
android:title="Import" />
|
||||
android:icon="@drawable/number_one"
|
||||
android:title="@string/label_q1" />
|
||||
<item
|
||||
android:id="@+id/nav_question2"
|
||||
android:icon="@drawable/ic_menu_gallery"
|
||||
android:title="Gallery" />
|
||||
android:icon="@drawable/number_two"
|
||||
android:title="@string/label_q2" />
|
||||
<item
|
||||
android:id="@+id/nav_question3"
|
||||
android:icon="@drawable/ic_menu_slideshow"
|
||||
android:title="Slideshow" />
|
||||
android:icon="@drawable/number_three"
|
||||
android:title="@string/label_q3" />
|
||||
</group>
|
||||
|
||||
</menu>
|
||||
|
@ -19,4 +19,8 @@
|
||||
<string name="lang_sv">Swedish</string>
|
||||
<string name="welcome">Welcome</string>
|
||||
<string name="introduction">Introduction</string>
|
||||
<string name="label_q1">Question 1</string>
|
||||
<string name="label_q2">Question 2</string>
|
||||
<string name="label_q3">Question 3</string>
|
||||
<string name="label_home">Home</string>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user