Menu order updated, nav header updated

This commit is contained in:
Karola Marky 2017-06-29 17:10:23 +02:00
parent 93953311d0
commit 891a2436bd
3 changed files with 14 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -2,31 +2,32 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
android:background="@drawable/nav_header"
android:background="@color/colorAccent"
android:gravity="bottom"
android:orientation="vertical"
android:paddingBottom="@dimen/text_margin"
android:paddingLeft="@dimen/text_margin"
android:paddingRight="@dimen/text_margin"
android:paddingTop="@dimen/text_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
<RelativeLayout
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:background="#ffffff"
android:paddingBottom="7dp"
android:paddingTop="7dp">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="App Logo"
android:paddingEnd="@dimen/activity_horizontal_margin"
android:paddingStart="@dimen/activity_horizontal_margin"
android:src="@mipmap/ic_launcher_nopfa"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/text_margin"
android:paddingLeft="@dimen/text_margin"
android:text="@string/Sudoku"
android:textColor="@color/colorPrimaryDark"
android:textSize="18sp"

View file

@ -7,14 +7,14 @@
android:title="@string/menu_main" />
<item android:id="@+id/nav_highscore_main" android:icon="@android:drawable/ic_menu_myplaces"
android:title="@string/menu_highscore" />
<item android:id="@+id/menu_tutorial_main" android:icon="@drawable/ic_school_black_24dp"
android:title="@string/menu_tutorial"/>
</group>
<group android:id="@+id/group2"
android:checkableBehavior="all">
<item android:id="@+id/menu_settings_main" android:icon="@drawable/ic_menu_settings"
android:title="@string/menu_settings" />
<item android:id="@+id/menu_tutorial_main" android:icon="@drawable/ic_school_black_24dp"
android:title="@string/menu_tutorial"/>
<item android:id="@+id/menu_help_main" android:icon="@drawable/ic_menu_help"
android:title="@string/menu_help" />
<item android:id="@+id/menu_about_main" android:icon="@drawable/ic_menu_about"