저는 imageview와 다음 textview 사이에 (검은 색) 공백을 원하지 않습니다. 내가 도대체 뭘 잘못하고있는 겁니까? 당신의 도움을 주셔서 감사합니다. Android 레이아웃 문제
<RelativeLayout
android:id="@+id/layout_contentView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/club_banner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitStart"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/condition_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_below="@id/club_banner"
android:background="@drawable/overview_cell_header_bg"
android:gravity="center_vertical"
android:paddingLeft="5dp"
android:text="@string/Condition_1"
android:textColor="#ffffff"
android:textSize="13sp"
android:textStyle="normal" />
thx,하지만 왜이 공간이 첫 번째 장소에 있습니까? – jay
@jay 문서가 말하는대로. 그것은 당신의 시야 안에 들어갈 것이지만 적어도 축 중 하나에 맞을 것입니다, 그래서 문제는 x 축에는 맞지만 y 축에는 맞지 않습니다. 왜 그 일을하는거야 ?? '종횡비'를 유지하기 위해 크기 조절을하기 때문에 –