【发布时间】:2015-09-26 14:22:43
【问题描述】:
我想让按钮宽度从右向左增加,而不是从左向右增加,我该怎么办?
例如:
Button btn = findviewbyId(R.id.Button1);
btn.setwidth(1000);
这将从按钮右侧开始增加宽度,但我希望它向相反方向增加。
【问题讨论】:
-
你的布局 xml 怎么样
标签: android android-layout android-fragments android-intent android-activity