Я создал адаптер customlistview со своим собственным xml, который должен иметь стиль пива с левой стороны, а затем рейтинг avg на правой стороне. Моя проблема в том, некоторые из стилей пива много символов и отрезаны:custom listview adapter xml cut off words
В настоящее время мой XML для элементов списка:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<TextView
android:id="@+id/breweryName"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:text="Large Text"
android:layout_weight="4"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/breweryRate"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:text="Large Text"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceLarge" />
</LinearLayout>