拷贝APP_Bck20250119项目源码,移除libjc/jcc/libs/android-29.jar文件。
This commit is contained in:
62
libaes/src/main/res/drawable/toast_frame.xml
Normal file
62
libaes/src/main/res/drawable/toast_frame.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<!-- 边框阴影部分 -->
|
||||
<!-- 相对边框的Offset设置(android:left, top, right, bottom) -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="0dp"
|
||||
android:bottom="0dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorToastShadow"
|
||||
android:centerColor="@color/colorToastShadow"
|
||||
android:endColor="@color/colorToastShadow"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 边框部分 -->
|
||||
<item
|
||||
android:left="0dp"
|
||||
android:top="0dp"
|
||||
android:right="1dp"
|
||||
android:bottom="2dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="@color/colorToastFrame"
|
||||
android:centerColor="@color/colorToastFrame"
|
||||
android:endColor="@color/colorToastFrame"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 背景主体部分 -->
|
||||
<item
|
||||
android:left="2dp"
|
||||
android:top="2dp"
|
||||
android:right="3dp"
|
||||
android:bottom="3dp">
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:angle="90"
|
||||
android:startColor="@color/colorToastBackgroung"
|
||||
android:centerColor="@color/colorToastBackgroung"
|
||||
android:endColor="@color/colorToastBackgroung"/>
|
||||
<corners
|
||||
android:bottomLeftRadius="10dip"
|
||||
android:bottomRightRadius="10dip"
|
||||
android:topLeftRadius="10dip"
|
||||
android:topRightRadius="10dip" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
Reference in New Issue
Block a user