一、Button 基本属性
1.普通按钮
<Button
android:layout_width="match_parent"
android:layout_height="80dp"
android:text="CLICK"
android:background="#2196F3"
android:textColor="#ffffff"
android:shadowColor="#515151"
android:shadowDx="10"
android:shadowDy="10"
android:shadowRadius="10"></Button>
2.线性布局
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
></LinearLayout>
后将两个按钮放到 LinearLayout 标签里面
评论0
最新资源