0
我有一个ListView
其中每行有两个单词。我希望这两个词在中心附近有一个小小的差距。围绕中心定位两个文字浏览。 (右对齐和左对齐)
到(一些随机的话...)类似:
Please Help
me !!
This should
not be
so hard
在ListView
每行包括两个TextView
秒。
我有一个ListView
其中每行有两个单词。我希望这两个词在中心附近有一个小小的差距。围绕中心定位两个文字浏览。 (右对齐和左对齐)
到(一些随机的话...)类似:
Please Help
me !!
This should
not be
so hard
在ListView
每行包括两个TextView
秒。
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.4"
android:gravity="right" />
<View
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.2"
/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.4"
android:gravity="left" />
</LinearLayout>