<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android">

  <item
      android:id="@+id/rulesFragment"
      android:icon="@drawable/rules"
      android:title="@string/rules" />
  <item
      android:id="@+id/aboutFragment"
      android:icon="@drawable/about_android_trivia"
      android:title="@string/about" />
</menu>
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android">
  <!-- use group show that an item can be highlighted when selected
  with checkableBehavior -->
  <group android:checkableBehavior="single">
    <item
        android:id="@+id/rulesFragment"
        android:icon="@drawable/rules"
        android:title="@string/rules" />
    <item
        android:id="@+id/aboutFragment"
        android:icon="@drawable/about_android_trivia"
        android:title="@string/about" />
  </group>
</menu>
Add a check behavior to drawer
[kotlin][developer-android/AndroidTrivia-Starter] Add a check behavior to drawer
