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

Commit c516dd33 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Add empty view to avoid hamburger menu getting initial focus

parent 5feee39d
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"