标签:android io ar sp on bs line tt text
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="0.1"
android:gravity="bottom"
android:orientation="vertical" >
<Button
android:layout_width="match_parent"
android:layout_height="42dp"
android:layout_marginBottom="0dp"
android:background="@drawable/finish_bg"
android:text="一键加入" />
</LinearLayout>
比如这个Button 必须用LinearLayout包起来,然后设置:
android:layout_weight="0.1"
android:gravity="bottom"
android:orientation="vertical"
标签:android io ar sp on bs line tt text
原文地址:http://www.cnblogs.com/Ringer/p/4032897.html