나는 동적으로 확대 된 레이아웃을 가지고 있으며 레이아웃의 맨 아래에 항상 붙어 있기를 원하는 이미지 뷰가 있습니다.레이아웃에 android : layout_height = "wrap_content"속성이있는 경우 레이아웃의 맨 아래에 요소를 설정할 수 있습니까?
<LinearLayout
android:id="@+id/bot"
android:layout_width="300dip"
android:layout_height="wrap_content" >
<LinearLayout
android:id="@+id/descripcion"
android:layout_width="170dip"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:id="@+id/la_descripcion"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="dfsasdfasfadfasdfasdfasdfasdfasdjfas sdf sadf sadf trh h t 5454 dsdfjsdf sdfsdfhk sdf f sdf hk sdf "
android:textColor="#ffffff"
android:textSize="11sp"
android:paddingLeft="12dp"/>
<ImageView
android:id="@+id/img_tag"
android:layout_width="5.84mm"
android:layout_height="4.21mm"
android:scaleType="centerInside"
android:background="@drawable/agotado"
/>
</LinearLayout>
를 다음과 같이 내 코드는 텍스트 뷰 "la_descripción는"이상했다 경우 "있는 LinearLayout은"경우 어떻게해야 그 바닥
상대 레이아웃을 사용하는 데 문제가 있습니까? – Saqib