Android 我想在安卓系统中创建一个滑动菜单,但我无法将我的布局推出屏幕
我想在安卓系统中创建一个滑动菜单,但我无法将我的布局推出屏幕。 我尝试了动画制作和翻译,但没有成功 这是我为菜单编写的整个菜单,但当我为按钮设置动画时,按钮似乎在以前的位置工作,而不是在它们设置动画的位置,我通过使用边距修复了这一点,但当我使用边距时,它会剪切布局的剩余部分Android 我想在安卓系统中创建一个滑动菜单,但我无法将我的布局推出屏幕,android,android-layout,Android,Android Layout,我想在安卓系统中创建一个滑动菜单,但我无法将我的布局推出屏幕。 我尝试了动画制作和翻译,但没有成功 这是我为菜单编写的整个菜单,但当我为按钮设置动画时,按钮似乎在以前的位置工作,而不是在它们设置动画的位置,我通过使用边距修复了这一点,但当我使用边距时,它会剪切布局的剩余部分 <LinearLayout android:orientation="horizontal" android:id="@+id/menu" android:layout_width="mat
<LinearLayout
android:orientation="horizontal"
android:id="@+id/menu"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/menu_BTNs"
android:layout_marginRight="-2dp"
android:layout_width="70dp"
android:layout_height="190dp"
android:layout_marginTop="75dp"
android:orientation="vertical">
<Button
android:id="@+id/menu_coinPLusBTN"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/coin_plus" />
<Button
android:id="@+id/menu_pointsBTN"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_weight="1"
android:background="@drawable/points" />
<Button
android:id="@+id/menu_settingsBTN"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_weight="1"
android:background="@drawable/settings" />
</LinearLayout>
<LinearLayout
android:background="@drawable/menu"
android:layout_width="342dp"
android:layout_height="match_parent"/>
</LinearLayout>
显示您迄今为止的尝试。我添加了我的代码,您现在可以查看它