Pending changes
This commit is contained in:
@@ -29,6 +29,7 @@ public class DSKYActivity extends AppCompatActivity {
|
||||
private int rightActiveColor;
|
||||
private int activeColor;
|
||||
private int passiveColor;
|
||||
private int compActyColor;
|
||||
|
||||
public void updateIndicator(@IdRes final int id, final boolean state) {
|
||||
mViewHandler.post(new Runnable() {
|
||||
@@ -43,6 +44,8 @@ public class DSKYActivity extends AppCompatActivity {
|
||||
final int color;
|
||||
if ("right".equals(indicator.getTag())) {
|
||||
color = rightActiveColor;
|
||||
} else if ("comp acty".equals(indicator.getTag())) {
|
||||
color = compActyColor;
|
||||
} else {
|
||||
color = activeColor;
|
||||
}
|
||||
@@ -74,6 +77,7 @@ public class DSKYActivity extends AppCompatActivity {
|
||||
rightActiveColor = getResources().getColor(R.color.indicatorRightActive);
|
||||
activeColor = getResources().getColor(R.color.indicatorActive);
|
||||
passiveColor = getResources().getColor(R.color.indicatorPassive);
|
||||
compActyColor = getResources().getColor(R.color.compActy);
|
||||
|
||||
createButtonListeners();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user