今日学习了按钮控件的制作
1.新建module
2.找到activity_main.xml(首先项目内要有TextView)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<Button
android:text="666666666"
android:background="@drawable/baseline_catching_pokemon_24"
android:backgroundTint="@color/btn_color"
android:layout_width="200dp"
android:layout_height="100dp"
/>
</LinearLayout>
通过各个属性控制该组件
标签:02,layout,23,height,width,2023,android,match From: https://www.cnblogs.com/zbw-m/p/17153389.html