[add] 触发违章停车 白+黑
This commit is contained in:
@@ -14,7 +14,9 @@ import androidx.appcompat.app.AppCompatDelegate;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
|
||||
import com.mogo.module.v2x.R;
|
||||
import com.mogo.skin.support.IMogoSkinCompatSupportable;
|
||||
import com.mogo.skin.support.IMogoSkinSupportInstaller;
|
||||
import com.mogo.skin.support.MogoSkinManager;
|
||||
import com.mogo.skin.support.SkinMode;
|
||||
|
||||
/**
|
||||
@@ -24,7 +26,7 @@ import com.mogo.skin.support.SkinMode;
|
||||
* desc :
|
||||
* version: 1.0
|
||||
*/
|
||||
public class RoundConstraintLayout extends ConstraintLayout implements IMogoSkinSupportInstaller {
|
||||
public class RoundConstraintLayout extends ConstraintLayout implements IMogoSkinCompatSupportable {
|
||||
|
||||
private float roundLayoutRadius = 14f;
|
||||
private Path roundPath;
|
||||
@@ -81,23 +83,9 @@ public class RoundConstraintLayout extends ConstraintLayout implements IMogoSkin
|
||||
super.draw(canvas);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void install(Application application) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadSkin(SkinMode skinMode) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public AppCompatDelegate getSkinAppCompatDelegate(AppCompatActivity activity, AppCompatCallback callback) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(Context context) {
|
||||
public void applySkin() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<shape>
|
||||
<corners android:radius="16px" />
|
||||
<gradient android:angle="135"
|
||||
android:endColor="#3F456D"
|
||||
android:endColor="#2E3141"
|
||||
android:startColor="#3F435F" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:textColor="@color/v2x_FFF_333_white"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_28"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toEndOf="@id/ivFaultHelpHead"
|
||||
@@ -74,7 +74,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.59"
|
||||
android:textColor="@color/v2x_FFF_999_white"
|
||||
android:textColor="@color/v2x_FFF_999"
|
||||
android:textSize="@dimen/dp_26"
|
||||
app:layout_constraintStart_toStartOf="@id/tvFaultHelpName"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvFaultHelpName"
|
||||
@@ -86,7 +86,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/v2x_FFF_333_white"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_80"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivFaultHelpEventCall"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.mogo.module.v2x.view.RoundConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/rlContent"
|
||||
@@ -44,7 +44,7 @@
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_34"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tvAddressDistance"
|
||||
app:layout_constraintEnd_toStartOf="@+id/llIllegalParkingLike"
|
||||
@@ -60,7 +60,7 @@
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:alpha="0.6"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textColor="@color/v2x_FFF_666"
|
||||
android:textSize="@dimen/dp_30"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tvAddress"
|
||||
app:layout_constraintStart_toStartOf="@+id/tagEventType"
|
||||
@@ -84,4 +84,4 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</com.mogo.module.v2x.view.RoundConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_34"
|
||||
app:layout_constraintEnd_toStartOf="@+id/llIllegalParkingLike"
|
||||
app:layout_constraintStart_toEndOf="@+id/ivIconP"
|
||||
@@ -92,7 +92,7 @@
|
||||
android:layout_marginBottom="@dimen/dp_24"
|
||||
android:alpha="0.6"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textColor="@color/v2x_FFF_666"
|
||||
android:textSize="@dimen/dp_30"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tvAddress"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
android:alpha="0.7"
|
||||
android:gravity="bottom"
|
||||
android:text="你还没有分享过道路事件,快去试试吧"
|
||||
android:textColor="@color/v2x_FFF_333_white"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="18px" />
|
||||
|
||||
<RelativeLayout
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:text="直播获取失败"
|
||||
android:textColor="@color/v2x_FFF_333_white"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_36"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivErrorIcon"
|
||||
app:layout_constraintStart_toEndOf="@+id/ivErrorIcon"
|
||||
@@ -60,7 +60,7 @@
|
||||
android:paddingEnd="@dimen/dp_135"
|
||||
android:paddingBottom="@dimen/dp_25"
|
||||
android:text="重试"
|
||||
android:textColor="@color/v2x_FFF_333_white"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_34"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
@@ -13,9 +13,10 @@
|
||||
<color name="share_event_address_color">#FFFFFF</color>
|
||||
<color name="panel_shadow_shape_color">#10121E</color>
|
||||
<color name="share_event_no_more_color">#99FFFFFF</color>
|
||||
<color name="v2x_FFF_999_white">#FFFFFF</color>
|
||||
<color name="v2x_FFF_333_white">#FFFFFF</color>
|
||||
<color name="v2x_ff6163_333_white">#ff616381</color>
|
||||
<color name="v2x_FFF_999">#FFFFFF</color>
|
||||
<color name="v2x_FFF_333">#FFFFFF</color>
|
||||
<color name="v2x_ff6163_333">#ff616381</color>
|
||||
<color name="v2x_FFF_666">#FFFFFF</color>
|
||||
//endColor="#ff616381" android:startColor="#ff48495e"
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
@@ -10,7 +10,8 @@
|
||||
<color name="v2x_white_refresh_light">#FFFFFF</color>
|
||||
<color name="transparent_white_30_light">#333333</color>
|
||||
<color name="share_event_no_more_color_light">#333333</color>
|
||||
<color name="v2x_FFF_999_white_light">#999999</color>
|
||||
<color name="v2x_FFF_333_white_light">#333333</color>
|
||||
<color name="v2x_FFF_999_light">#999999</color>
|
||||
<color name="v2x_FFF_333_light">#333333</color>
|
||||
<color name="v2x_FFF_666_light">#666666</color>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user