Ich möchte diese Benutzeroberfläche erstellen.Ich möchte diese UI erstellen
Ich habe diese Arbeit getan.
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="274dp"
android:layout_marginTop="40dp"
android:background="@drawable/car"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="PP AUTOMATIVES"
android:textSize="18dp"
android:textStyle="bold" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:src="@drawable/ratingimage"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:src="@drawable/offersimage"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:src="@drawable/heartimage"
/>
</RelativeLayout>
</RelativeLayout>
Ich bin nicht in der Lage die Ausrichtung der Bilder einstellen und stellen Sie Hintergrundfarbe, Marge und den Stil der Textview nach „Officework“ UI.
Ich empfehle Ihnen, 9-Patch-Bilder dafür zu verwenden und die dehnbaren Bereiche festzulegen. – HaroldSer
Verwenden Sie stattdessen framelayout –