Commit 293a2f53 by Paktalin

Menu done

parent 29537765
......@@ -80,17 +80,15 @@ public class MainActivity extends AppCompatActivity
// Handle navigation view item clicks here.
int id = item.getItemId();
if (id == R.id.nav_camera) {
if (id == R.id.map) {
// Handle the camera action
} else if (id == R.id.nav_gallery) {
} else if (id == R.id.wine) {
} else if (id == R.id.nav_slideshow) {
} else if (id == R.id.collection) {
} else if (id == R.id.nav_manage) {
} else if (id == R.id.community) {
} else if (id == R.id.nav_share) {
} else if (id == R.id.nav_send) {
} else if (id == R.id.settings) {
}
......
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.constraint.ConstraintLayout>
\ No newline at end of file
......@@ -5,33 +5,29 @@
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_camera"
android:icon="@drawable/ic_menu_camera"
android:title="Import" />
android:id="@+id/map"
android:icon="@drawable/maps_icon"
android:title="Cellar map" />
<item
android:id="@+id/nav_gallery"
android:icon="@drawable/ic_menu_gallery"
android:title="Gallery" />
android:id="@+id/wine"
android:icon="@drawable/wine_icon"
android:title="Select wine" />
<item
android:id="@+id/nav_slideshow"
android:icon="@drawable/ic_menu_slideshow"
android:title="Slideshow" />
android:id="@+id/collection"
android:icon="@drawable/favorites_icon"
android:title="Your collection" />
<item
android:id="@+id/nav_manage"
android:icon="@drawable/ic_menu_manage"
android:title="Tools" />
android:id="@+id/community"
android:icon="@drawable/community_icon"
android:title="Your friends choice" />
</group>
<item android:title="Communicate">
<item android:title="Account">
<menu>
<item
android:id="@+id/nav_share"
android:icon="@drawable/ic_menu_share"
android:title="Share" />
<item
android:id="@+id/nav_send"
android:icon="@drawable/ic_menu_send"
android:title="Send" />
android:id="@+id/settings"
android:icon="@drawable/settings_icon"
android:title="Settings" />
</menu>
</item>
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#D21404</color>
<color name="colorPrimary">#C41E32</color>
<color name="colorPrimaryDark">#4E0707</color>
<color name="colorAccent">#000</color>
</resources>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
......
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 sign in to comment