Android 我是如何设计这种布局的?这个按钮在这种布局中使用吗?要单击它,请移动其他布局
我试着用巴顿做,但没用Android 我是如何设计这种布局的?这个按钮在这种布局中使用吗?要单击它,请移动其他布局,android,android-xml,Android,Android Xml,我试着用巴顿做,但没用 <item android:bottom="4dp" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> <shape android:shape="rectangle"> <!-- Set the background color of you
<item android:bottom="4dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<shape
android:shape="rectangle">
<!-- Set the background color of your layout here -->
<stroke android:width="1dp" android:color="#000000" />
<solid android:color="#000000" />`enter code here`
</shape>
</item>
`在这里输入代码`
文本视图和视图的组合就可以了。您想要列表视图还是自定义视图?不,我不想要列表视图。
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="#5f06ef"
android:layout_marginBottom="3dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="#ffffff">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="TEXT"
android:background="#5f06ef"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp">
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp">
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="40dp">
</LinearLayout>
<LinearLayout
android:enter code herelayout_width="match_parent"
android:layout_height="40dp"/>
</LinearLayout>