<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button
android:layout_width="100dp"
android:layout_height="50dp"
android:background="@drawable/but_selector"
android:textColor="#00A6FF"
背景色
android:backgroundTint="@color/but_color_selector"
前景色
android:foreground=""
android:text="@string/app_but"></Button>
</LinearLayout>