ConnectOut-sdp/sdp2023

View on GitHub
app/src/main/res/menu/activity_menu_drawer.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        tools:showIn="navigation_view">

    <group android:checkableBehavior="single">
        <item
                android:id="@+id/menu_home"
                android:icon="@drawable/home_image"
                android:title="@string/menu_home" />
        <item
                android:id="@+id/menu_posts"
                android:icon="@drawable/posts2_image"
                android:title="@string/community_posts" />

        <item
                android:id="@+id/menu_community"
                android:icon="@drawable/profiles_image"
                android:title="@string/community" />

        <item
                android:id="@+id/scan_qr_code"
                android:title="@string/scan_a_qr_code"
                android:icon="@drawable/qr_code_image" />
        <item
                android:id="@+id/menu_my_events"
                android:icon="@drawable/event_image"
                android:title="@string/menu_my_events" />
        <item
                android:id="@+id/menu_my_account"
                android:icon="@drawable/account_image"
                android:title="@string/menu_my_account" />

    </group>

    <item
            android:id="@+id/menu_logout"
            android:icon="@drawable/logout_image"
            android:title="@string/menu_log_out" />

</menu>