고정 레이아웃을 유지하면서 여러 줄로 된 텍스트 뷰를 구현하고 싶습니다. 이것은 예상 출력 화면 입니다.레이아웃을 고정한 상태에서 여러 줄로 된 텍스트 뷰
그리고이 출력은 입니다.
<LinearLayout
android:id="@+id/layout_product_desc"
android:layout_width="0dp"
android:layout_weight="0.75"
android:layout_height="match_parent"
android:padding="4dp"
android:gravity="center"
android:weightSum="1"
android:orientation="vertical">
<LinearLayout
android:layout_weight="0.90"
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="vertical"
android:weightSum="1">
<TextView
android:id="@+id/txt_product_title"
style="@style/Appio.Text.Dark.Normal"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="start"
android:layout_weight="0.40"
android:maxLines="2"/>
<TextView
android:id="@+id/txt_product_subtitle_or_model"
style="@style/Appio.Text.Dark.Small"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="start"
android:layout_weight="0.20"
android:maxLines="1"/>
<TextView
android:id="@+id/txt_product_short_description"
style="@style/Appio.Text.Dark.Small"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="start"
android:layout_weight="0.20"
android:maxLines="1"/>
<TextView
android:id="@+id/txt_product_availability"
style="@style/Appio.Text.Dark.Small"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="start"
android:layout_weight="0.20"
android:maxLines="1"/>
</LinearLayout>
<TextView
android:id="@+id/txt_product_cost"
style="@style/Appio.Text.Primary.Normal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_weight="0.10"
android:maxLines="1"/>
</LinearLayout>
maxLine을 설정하고 weight 속성을 할당해도 레이아웃이 고정되지 않습니다. 그리고 일부는 "Out of Stock"이미지 2와 비슷합니다. 어떻게이 문제를 해결할 수 있습니까?