-2
A
답변
1
<?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">
<ImageView
android:id="@+id/imageBannar"
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@mipmap/ic_launcher"/>
<ImageView
android:id="@+id/imageBottomLeft"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_below="@+id/imageBannar"
android:src="@mipmap/ic_launcher"
android:layout_alignBottom="@+id/imageBottomMiddle" />
<ImageView
android:id="@+id/imageBottomMiddle"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@mipmap/ic_launcher"
android:layout_below="@+id/imageBannar"
android:layout_centerHorizontal="true" />
<ImageView
android:id="@+id/imageBottomRight"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@mipmap/ic_launcher"
android:layout_below="@+id/imageBannar"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
</RelativeLayout>
+0
이런 유형의 레이아웃은 필요하지 않습니다. 이처럼 간단하게 만들어야합니다 .i 쉽게 만들 수 있습니다.하지만 이미지를 올린 것처럼 필요합니다. –
recycleview – Shubhank
방법 모든 예에서 엇갈리게 배치에 대한 검색? 나는 노력하고 있지만 성공하지 못했습니다. –
당신은 사람들을 더 잘 인도하기 위해 시도한 것을 게시해야합니다. – Shubhank