How to increase the space between items in a navigation drawer?

1

DevelopinganapplicationIsawthatindeviceswithhigherresolutiontheitemsgetveryclosetogether,Iwantpracticality,thisishowmobileapplicationsshouldbe,nobuttonstoosmall,thismakestheuser'slifedifficult,asyoucanseeinthephotonordoesitseemtohavelittlesospace,butusingreallygottight,thankyoualready.

<?xmlversion="1.0" encoding="utf-8"?>.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<include
    layout="@layout/app_bar_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />
<android.support.design.widget.NavigationView
    android:id="@+id/nav_view"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_gravity="start"
    android:fitsSystemWindows="true"
    app:headerLayout="@layout/nav_header_main"
    app:itemTextAppearance="@style/NavDrawerTextStyle"
    app:menu="@menu/activity_main_drawer"/>.support.v4.widget.DrawerLayout>

<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <group android:checkableBehavior="single"> <item android:id="@+id/nav_mesa" android:icon="@drawable/silverware_variant" android:title="@string/stPedidoMesa"/> <item android:id="@+id/nav_entrega" android:icon="@drawable/delivery" android:title="@string/stPedidoEntrega" /> <item android:id="@+id/nav_esperando" android:icon="@drawable/perm_group_system_clock" android:title="@string/stPedidoEsperando" /> <item android:id="@+id/nav_buscar" android:icon="@drawable/ic_transfer_within_a_station_black" android:title="@string/stPedidoBuscar" /> <item android:id="@+id/nav_comer" android:checkable="false" android:icon="@drawable/map_marker" android:title="Comer"/> </group> </menu>

    
asked by anonymous 19.07.2017 / 03:08

0 answers