Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7d7cfce authored by Wenyi Wang's avatar Wenyi Wang Committed by Android (Google) Code Review
Browse files

Merge "Add empty view to avoid hamburger menu getting initial focus"

parents 233381f2 c516dd33
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -24,6 +24,15 @@
    android:fitsSystemWindows="true"
    tools:openDrawer="start">

    <!-- To prevent hamburger menu from getting the initial focus. -->
    <View
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:layout_width="1px"
        android:layout_height="1px" >
        <requestFocus/>
    </View>

    <RelativeLayout
        android:id="@+id/list_container"
        android:layout_width="match_parent"