android常用配色

1.橙色

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
    android:startColor="#fe6969"
    android:centerColor="#fb7a6a"
    android:endColor="#ff976d"
   android:angle="45"
 />
</shape>

2.紫色

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <gradient android:startColor="#8f59db"

        android:centerColor="#a86bf7"

        android:endColor="#bc90fa"

        android:angle="45"/>
</shape>

3.蓝色


<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <gradient android:startColor="#249cc1"

        android:centerColor="#46bfe4"

        android:endColor="#5bd1f5"
android:angle="45"
/>
</shape>

猜你喜欢

转载自blog.csdn.net/qq873044564/article/details/81176128