0
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/lbd_user_pt_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@+id/lbd_user_pt"
android:paddingRight="10dp"
android:text="@string/leader_board_my_pt"/>
<TextView
android:id="@+id/lbd_user_pt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:gravity="right"
android:text="90000"
android:textDirection="ltr" />
</RelativeLayout>
目前我有一个相对布局是水平线。里面有两个textview。由于相对布局的长度过小,则2 TextView的覆盖或行为werid如何在android中设置最大文本大小?
像:
[user_pt_tag user_pt]
的问题是,我想用户PT对准右和扩大而且,常见的文本大小是20sp,如果pt与标签重叠,大小将会减小。 (点文本视图最多5位数字,不会有更多数字)如何实现这一目标?谢谢