feat:调整负面按钮颜色、补充遗漏的场景换色
This commit is contained in:
@@ -15,7 +15,7 @@ public class GradientLinePagerIndicator extends LinePagerIndicator {
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
LinearGradient lg = new LinearGradient(getLineRect().left, getLineRect().top, getLineRect().right, getLineRect().bottom, new int[]{0xFF13E2F5, 0xFFCC66FF}, null, LinearGradient.TileMode.CLAMP);
|
||||
LinearGradient lg = new LinearGradient(getLineRect().left, getLineRect().top, getLineRect().right, getLineRect().bottom, new int[]{0xFFCBFF00, 0xFFCBFF00}, null, LinearGradient.TileMode.CLAMP);
|
||||
getPaint().setShader(lg);
|
||||
canvas.drawOval(getLineRect(), getPaint());
|
||||
}
|
||||
|
@@ -20,7 +20,7 @@ public class GradientLineRoundPagerIndicator extends LinePagerIndicator {
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
LinearGradient lg = new LinearGradient(getLineRect().left, getLineRect().top, getLineRect().right, getLineRect().bottom, new int[]{0xFF13E2F5, 0xFFCC66FF}, null, LinearGradient.TileMode.CLAMP);
|
||||
LinearGradient lg = new LinearGradient(getLineRect().left, getLineRect().top, getLineRect().right, getLineRect().bottom, new int[]{0xFFCBFF00, 0xFFCBFF00}, null, LinearGradient.TileMode.CLAMP);
|
||||
getPaint().setShader(lg);
|
||||
canvas.drawRoundRect(getLineRect(), UIUtil.dip2px(mContext, 2), UIUtil.dip2px(mContext, 2), getPaint());
|
||||
}
|
||||
|
@@ -60,11 +60,10 @@
|
||||
android:layout_height="24dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/lu_reject"
|
||||
android:textColor="@color/color_B3B3C3"
|
||||
android:background="@drawable/base_shape_negative_5dp"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:corner="@dimen/dp_4"
|
||||
app:solid="@color/color_E6E6F0" />
|
||||
android:textSize="@dimen/sp_14"/>
|
||||
|
||||
<com.coorchice.library.SuperTextView
|
||||
android:id="@+id/stv_agree"
|
||||
@@ -72,13 +71,9 @@
|
||||
android:layout_height="24dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/lu_agree"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textColor="@color/base_color_positive_text"
|
||||
android:textSize="@dimen/sp_14"
|
||||
app:corner="@dimen/dp_4"
|
||||
app:shaderMode="leftToRight"
|
||||
app:shaderEnable="true"
|
||||
app:shaderStartColor="@color/color_13E2F5"
|
||||
app:shaderEndColor="@color/color_CC66FF"/>
|
||||
android:background="@drawable/base_shape_positive_5dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#1E1E1F" />
|
||||
<corners android:radius="30dp" />
|
||||
<solid android:color="#E6E6F0" />
|
||||
</shape>
|
@@ -1,14 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="#13E2F5"
|
||||
android:centerColor="#9DB4FF"
|
||||
android:startColor="#CC67FF"
|
||||
android:type="linear"
|
||||
android:useLevel="true" />
|
||||
<solid android:color="#CBFF00" />
|
||||
<corners android:radius="30dp" />
|
||||
|
||||
</shape>
|
@@ -36,7 +36,7 @@
|
||||
android:background="@drawable/bg_common_cancel"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_B3B3C3"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<Button
|
||||
@@ -46,7 +46,7 @@
|
||||
android:background="@drawable/bg_common_confirm_normal"
|
||||
android:gravity="center"
|
||||
android:text="@string/sure"
|
||||
android:textColor="@color/color_white"
|
||||
android:textColor="#1E1E1F"
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
@@ -1,9 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#1E1E1F" />
|
||||
<solid android:color="#FFFFFF" />
|
||||
<solid android:color="#1E1E1F" />
|
||||
<corners android:radius="30dp" />
|
||||
</shape>
|
@@ -1,9 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#1E1E1F" />
|
||||
<solid android:color="#FFFFFF" />
|
||||
<solid android:color="#1E1E1F" />
|
||||
<corners android:radius="30dp" />
|
||||
</shape>
|
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#1E1E1F" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/base_color_theme" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
@@ -10,5 +10,5 @@
|
||||
<color name="base_color_positive_text">#1E1E1F</color>
|
||||
|
||||
<!--负面按钮-文本色-->
|
||||
<color name="base_color_negative_text">#1E1E1F</color>
|
||||
<color name="base_color_negative_text">#FFFFFF</color>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user