0
点赞
收藏
分享

微信扫一扫

相对布局控制控件居右显示

android:layout_alignParentRight=”true”


android:layout_width="match_parent"
android:layout_height="wrap_content">
android:id="@+id/productname"

android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="柜子" />
android:id="@+id/productnum"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="3" />


举报

相关推荐

0 条评论