Java Android材质可拖动配置文件
我一直在研究如何实现以下新材质的样式配置文件: 我想能够拉之间的图像视图和底部视图上下分隔。我找不到任何例子,也不知道如何做到这一点 这是我得到的最好的:Java Android材质可拖动配置文件,java,android,android-5.0-lollipop,material-design,Java,Android,Android 5.0 Lollipop,Material Design,我一直在研究如何实现以下新材质的样式配置文件: 我想能够拉之间的图像视图和底部视图上下分隔。我找不到任何例子,也不知道如何做到这一点 这是我得到的最好的: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layo
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<View
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="120dp"
/>
<View
android:id="@+id/body"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/header"
/>
<fully.qualified.name.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignBottom="@id/header"
android:layout_marginBottom="-32dp"
android:layout_marginRight="20dp"
/>
</RelativeLayout>
我对材料不熟悉