Android 如何制作像 tinder 一样的横向菜单
Android how to make lateral menu like tinder
我正在寻找 examples/tutorials/framework 解释如何进行导航 bar/controller 像 Tinder 一样向左和向右滑动
我怎样才能制作横向菜单,比如 android 4.4 的 tinder
当我用手指滑动时,我想在左侧显示菜单。
编辑这是我的布局:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/zwemfest" >"
<com.devspark.sidenavigation.SideNavigationView
android:id="@+id/side_navigation_view"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/button1"
android:layout_width="183dp"
android:layout_height="113dp"
android:layout_weight="0.91"
android:text="Button" />
</com.devspark.sidenavigation.SideNavigationView>
</RelativeLayout>
我正在寻找 examples/tutorials/framework 解释如何进行导航 bar/controller 像 Tinder 一样向左和向右滑动 我怎样才能制作横向菜单,比如 android 4.4 的 tinder 当我用手指滑动时,我想在左侧显示菜单。
编辑这是我的布局:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/zwemfest" >"
<com.devspark.sidenavigation.SideNavigationView
android:id="@+id/side_navigation_view"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/button1"
android:layout_width="183dp"
android:layout_height="113dp"
android:layout_weight="0.91"
android:text="Button" />
</com.devspark.sidenavigation.SideNavigationView>
</RelativeLayout>