Android页面开发,view渐变颜色

<?xml version="1.0" encoding="utf-8"?>

<shape xmlns:android="http://schemas.android.com/apk/res/android"

android:shape="rectangle">

<gradient

android:angle="90"

android:startColor="#675957"

android:centerColor="#342724"

android:endColor="#11120F"

android:type="linear" />

</shape>

猜你喜欢

转载自blog.csdn.net/heshuangqiang/article/details/125901597
今日推荐