/ / Wie ich diese Art von Layout entwerfe ist diese Schaltfläche in diesem Layout verwenden? klicken Sie darauf, bewegen Sie ein anderes Layout - Android, Android-Xml

Wie ich diese Art von Layout entwerfe ist diese Schaltfläche in diesem Layout verwenden? klicken Sie darauf, bewegen Sie ein anderes Layout - Android, Android-Xml

Design

Ich versuche es mit dem Knopf zu machen, aber sie haben nicht funktioniert

<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>

Antworten:

0 für die Antwort № 1
 <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>