update:2020.05.22
fix:图标更新 add:
|
Before Width: | Height: | Size: 148 B |
|
Before Width: | Height: | Size: 27 KiB |
20
app/src/main/res/drawable/background_title.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!--
|
||||
android:startColor="#aa000000" 渐变起始色值
|
||||
android:centerColor="" 渐变中间色值
|
||||
android:endColor="#ffffffff" 渐变结束颜色
|
||||
android:angle="45" 渐变的方向 默认为0 从做向右 ,90时从下向上 必须为45的整数倍
|
||||
android:type="radial" 渐变类型 有三种 线性linear 放射渐变radial 扫描线性渐变sweep
|
||||
android:centerX="0.5" 渐变中心相对X坐标只有渐变类型为放射渐变时有效
|
||||
android:centerY="0.5" 渐变中心相对Y坐标只有渐变类型为放射渐变时有效
|
||||
android:gradientRadius="100" 渐变半径 非线性放射有效
|
||||
-->
|
||||
<gradient
|
||||
android:startColor="#dd5035"
|
||||
android:endColor="#c12b6a"
|
||||
android:angle="90"
|
||||
/>
|
||||
|
||||
</shape>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -1,36 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 连框颜色值 -->
|
||||
|
||||
<!--边-->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="#f9493c" />
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体背景颜色值 -->
|
||||
<item
|
||||
android:bottom="1dp"
|
||||
android:left="1dp"
|
||||
android:right="1dp"
|
||||
android:top="1dp">
|
||||
<shape>
|
||||
<!-- <gradient-->
|
||||
<!-- android:angle="90"-->
|
||||
<!-- android:centerColor="#FFFFFF"-->
|
||||
<!-- android:centerX="0.5"-->
|
||||
<!-- android:centerY="0.5"-->
|
||||
<!-- android:endColor="#FFFFFF"-->
|
||||
<!-- android:startColor="#FFFFFF"-->
|
||||
<!-- android:type="linear" />-->
|
||||
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<!-- 应该是圆角 -->
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#00CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#10CCCCCC" />
|
||||
|
||||
<corners android:radius="225dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#20CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#30CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#50CCCCCC" />
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!--中心背景 -->
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle"
|
||||
android:useLevel="false">
|
||||
<!--实心 -->
|
||||
<solid android:color="@color/red" />
|
||||
<corners android:radius="25dp" />
|
||||
<size android:width="32dp"
|
||||
android:height="32dp"/>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -1,36 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 连框颜色值 -->
|
||||
|
||||
<!--边-->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/download" />
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体背景颜色值 -->
|
||||
<item
|
||||
android:bottom="1dp"
|
||||
android:left="1dp"
|
||||
android:right="1dp"
|
||||
android:top="1dp">
|
||||
<shape>
|
||||
<!-- <gradient-->
|
||||
<!-- android:angle="90"-->
|
||||
<!-- android:centerColor="#FFFFFF"-->
|
||||
<!-- android:centerX="0.5"-->
|
||||
<!-- android:centerY="0.5"-->
|
||||
<!-- android:endColor="#FFFFFF"-->
|
||||
<!-- android:startColor="#FFFFFF"-->
|
||||
<!-- android:type="linear" />-->
|
||||
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<!-- 应该是圆角 -->
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#00CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#10CCCCCC" />
|
||||
|
||||
<corners android:radius="225dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#20CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#30CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#50CCCCCC" />
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!--中心背景 -->
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle"
|
||||
android:useLevel="false">
|
||||
<!--实心 -->
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="25dp" />
|
||||
<size android:width="32dp"
|
||||
android:height="32dp"/>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -1,36 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 连框颜色值 -->
|
||||
|
||||
<!--边-->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/green" />
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体背景颜色值 -->
|
||||
<item
|
||||
android:bottom="1dp"
|
||||
android:left="1dp"
|
||||
android:right="1dp"
|
||||
android:top="1dp">
|
||||
<shape>
|
||||
<!-- <gradient-->
|
||||
<!-- android:angle="90"-->
|
||||
<!-- android:centerColor="#FFFFFF"-->
|
||||
<!-- android:centerX="0.5"-->
|
||||
<!-- android:centerY="0.5"-->
|
||||
<!-- android:endColor="#FFFFFF"-->
|
||||
<!-- android:startColor="#FFFFFF"-->
|
||||
<!-- android:type="linear" />-->
|
||||
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<!-- 应该是圆角 -->
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#00CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#10CCCCCC" />
|
||||
|
||||
<corners android:radius="225dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#20CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#30CCCCCC" />
|
||||
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px" />
|
||||
|
||||
<solid android:color="#50CCCCCC" />
|
||||
<corners android:radius="25dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<!--中心背景 -->
|
||||
<item>
|
||||
<shape
|
||||
android:shape="rectangle"
|
||||
android:useLevel="false">
|
||||
<!--实心 -->
|
||||
<solid android:color="@color/red" />
|
||||
<corners android:radius="25dp" />
|
||||
<size android:width="32dp"
|
||||
android:height="32dp"/>
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
36
app/src/main/res/drawable/btn_style_shadow.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 连框颜色值 -->
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/download" />
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体背景颜色值 -->
|
||||
<item
|
||||
android:bottom="1dp"
|
||||
android:left="1dp"
|
||||
android:right="1dp"
|
||||
android:top="1dp">
|
||||
<shape>
|
||||
<!-- <gradient-->
|
||||
<!-- android:angle="90"-->
|
||||
<!-- android:centerColor="#FFFFFF"-->
|
||||
<!-- android:centerX="0.5"-->
|
||||
<!-- android:centerY="0.5"-->
|
||||
<!-- android:endColor="#FFFFFF"-->
|
||||
<!-- android:startColor="#FFFFFF"-->
|
||||
<!-- android:type="linear" />-->
|
||||
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="2dp" />
|
||||
<!-- 应该是圆角 -->
|
||||
<corners android:radius="@dimen/dp_25" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 865 B |
|
Before Width: | Height: | Size: 1006 B |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1001 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 331 B |
|
Before Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<solid android:color="@color/green" />
|
||||
<solid android:color="@color/gray" />
|
||||
|
||||
</shape>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
@@ -4,6 +4,9 @@
|
||||
<solid android:color="@color/backgroundcolor" />
|
||||
<!-- 圆角的幅度 -->
|
||||
<corners
|
||||
android:bottomLeftRadius="@dimen/dp_25"
|
||||
android:topLeftRadius="@dimen/dp_25" />
|
||||
android:bottomLeftRadius="@dimen/dp_20"
|
||||
android:topLeftRadius="@dimen/dp_20" />
|
||||
<size
|
||||
android:width="@dimen/dp_20"
|
||||
android:height="@dimen/dp_40" />
|
||||
</shape>
|
||||
@@ -1,11 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 内部颜色 -->
|
||||
<solid
|
||||
android:color="@color/backgroundcolor" />
|
||||
<solid android:color="@color/backgroundcolor" />
|
||||
<!-- 圆角的幅度 -->
|
||||
<corners
|
||||
android:topRightRadius="@dimen/dp_25"
|
||||
android:bottomRightRadius="@dimen/dp_25" />
|
||||
android:bottomRightRadius="@dimen/dp_20"
|
||||
android:topRightRadius="@dimen/dp_20" />
|
||||
<size
|
||||
android:width="@dimen/dp_20"
|
||||
android:height="@dimen/dp_20" />
|
||||
</shape>
|
||||