0
A
回答
1
这里是布局例如你的截图
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:id="@+id/navigation_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.AppCompatImageView
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/white_magazine" />
<android.support.v7.widget.AppCompatImageView
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/white_magazine" />
<android.support.v7.widget.AppCompatImageView
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/white_magazine" />
<android.support.v7.widget.AppCompatImageView
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/white_magazine" />
<android.support.v7.widget.AppCompatImageView
android:layout_width="24dp"
android:layout_height="24dp"
app:srcCompat="@drawable/white_magazine" />
</LinearLayout>
</RelativeLayout>
0
我不会实现,作为NavigationView
而是使用FrameLayout
组合,右侧显示菜单。
相关问题
- 1. Gmap3标记右键菜单
- 2. 菜单左,右键菜单
- 3. Tampermonkey - 右键菜单
- 4. QTreeWidget右键菜单
- 5. NSWindow - 右键菜单
- 6. 如何浮动右键菜单标题
- 7. 如何在菜单图标右侧显示菜单图标?
- 8. NSStatusItem右键单击菜单
- 9. NSEvent单击右键菜单
- 10. Android菜单图标
- 11. 发送菜单键(右键单击)
- 12. 右键菜单同时使用键盘和鼠标
- 13. Codeigniter - 动态右键菜单
- 14. jQuery菜单滑动右键
- 15. 的右键菜单问题
- 16. Firefox右键菜单太长
- 17. PyQt右键菜单QComboBox
- 18. 拖放右键菜单
- 19. 从Windows右键菜单
- 20. 与AxOWC11.AxSpreadsheet右键菜单
- 21. Wamp Server 3.0.8图标托盘中的右键菜单不同
- 22. 如何为此右键菜单设置图标?
- 23. ECSlidingController 2右侧菜单图标丢失
- 24. 鼠标按键模拟 - 右键和上下文菜单问题
- 25. android颜色菜单图标
- 26. 菜单选择图标/ android
- 27. android菜单图标大小
- 28. Chrome右键单击上下文菜单
- 29. 右键单击菜单选项
- 30. 右键单击后不显示菜单
是的,你可以,但你必须创建一个动画自己的自定义布局。 –
是的,让布局背景透明 –
看看这个[库](https://github.com/jfeinstein10/SlidingMenu) – ADM