M
M
Madi10102020-10-21 13:12:54
Java
Madi1010, 2020-10-21 13:12:54

How to create navigation drawer inside google maps? via imageview?

5f90097f27e8b420150977.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AndroidDev2015, 2020-10-23
@AndroidDev2015

<androidx.drawerlayout.widget.DrawerLayout>
  <androidx.coordinatorlayout.widget.CoordinatorLayout>
    <!-- Сюда добавить ваш фрагмент с картами -->
  </androidx.coordinatorlayout.widget.CoordinatorLayout>

  <com.google.android.material.navigation.NavigationView
    android:id="@+id/navigation"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_gravity="start|left"
    app:headerLayout="@layout/navigation_header"
    app:menu="@menu/my_navigation_items" />
</androidx.drawerlayout.widget.DrawerLayout>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question