<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" >    <!-- 边角的圆弧半径 -->    <corners android:radius="9dp" />    <!-- 实心填充 -->    <solid android:color="#00000000" />    <!-- 描边:一般大小都是1dp -->    <stroke  android:width="1dp" android:color="#ff000000" />    <!-- 四周留出来的空白,和xml文件中的pad效果一样,对内起作用 -->    <padding  android:bottom="30dp" android:left="20dp" android:right="30dp" android:top="20dp" />    <!-- 背景颜色渐变 -->    <gradient  android:angle="90" android:endColor="#ff00ff00" android:startColor="#ff0000ff" /></shape>

更多相关文章

  1. android drawble
  2. Android中自己定义一个shade.xml
  3. android中shape的属性
  4. Shape
  5. android界面设计之shape的使用
  6. android:shape的使用
  7. Android中shape中的属性大全
  8. android shape图形整理
  9. android中自定义shape

随机推荐

  1. android.util.AndroidRuntimeException:
  2. Android(安卓)zar高速扫码程序,(比zxing快
  3. 6日IT微博TOP10:Android单品牌占有率难超
  4. android使用自定义标题时提示“you canno
  5. Android各版本对应的SDK和JDK版本
  6. Android单元测试学习记录
  7. Android Dialog风格弹出框的Activity
  8. Android TV listView焦点平滑移动
  9. Android休眠唤醒驱动流程分析
  10. Android Bitmap与String互转