2
對不起我的英語TextView的填充點
我有一個RelativeLayout的和2個textviews像
<RelativeLayout
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/textView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
</RelativeLayout>
而且我想通過分兩個元素分開。像這樣:
TextView9 ...................................... TextView10
其他文字更長................................... 69
很好..感謝ü! – user1959076