0
textview
에 텍스트를 줄 바꿈하는 모든 가능한 방법이 사용되었지만 작동하지 않습니다. 한 줄만 보이고 나머지는 사라졌습니다. 데이터베이스에서 주소를 가져 와서 textview
에 지정하고 있습니다. 가능한 모든 값을 가진 textview
의 height
및 width
매개 변수를 시도했지만 여전히 작동하지 않습니다. 당신이 android:layout_alignTop="@+id/address"
및 android:layout_alignBottom="@+id/address"
모두 지정 사촌의Textview의 텍스트 배치 안 함
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/relativeLayout1" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="fill_horizontal">
<TextView android:layout_toRightOf="@+id/address"
android:layout_alignTop="@+id/address" android:layout_alignBottom="@+id/address"
android:layout_height="wrap_content"
android:id="@+id/addressans"
android:layout_marginLeft="55dp"
android:inputType="textMultiLine"
android:layout_weight="1"
android:ellipsize="none"
android:singleLine = "false"
android:layout_width="wrap_content">
</TextView>
</RelativeLayout>
@ ernazm-true 와트는 말했습니다.하지만 그 속성을 제거하면 유지 관리가되지 않습니다. 그 곳은 신세가됩니다. – sups
'id = @ + id/address'로보기가 가능합니까? 'RelativeLayout'? – ernazm
그것 done.i있어 it.thnx 많이 남자 .. 나는 y를 찾는 많은 시간을 보냈다 이것은 happning..thnx 많이 Logged – sups