From 325cbd4255d035b7bd72fbc51e88096eaaa03e60 Mon Sep 17 00:00:00 2001
From: lizhanwei <Dana_Lee1016@126.com>
Date: 星期一, 13 一月 2020 17:25:52 +0800
Subject: [PATCH] NDK_start时传递 map和车辆;联网考试项目正在进行考试为粉红色、考试通过为绿色、考试项目失败为红色
---
app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java b/app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java
index 6fb30bd..82dda01 100644
--- a/app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java
+++ b/app/src/main/java/safeluck/drive/evaluation/customview/HouseView.java
@@ -41,6 +41,7 @@
super(context, attrs, defStyleAttr);
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ArrowView,defStyleAttr,0);
text = typedArray.getString(R.styleable.ArrowView_text);
+ color = typedArray.getColor(R.styleable.ArrowView_color,Color.parseColor("#99C3D1"));
typedArray.recycle();
}
@@ -76,4 +77,8 @@
}
return keys;
}
+
+ public void setColor(int mColor){
+ this.color = mColor;
+ }
}
--
Gitblit v1.8.0