Various fixes and improvements
This commit is contained in:
parent
5f0bfdb14b
commit
6b68c17ae2
26 changed files with 142 additions and 121 deletions
|
|
@ -28,7 +28,7 @@ public class DynamicCheckBox extends AppCompatCheckBox {
|
|||
}
|
||||
|
||||
private void init() {
|
||||
final int color = ThemeSingleton.get().positiveColor;
|
||||
final int color = ThemeSingleton.get().positiveColor.getDefaultColor();
|
||||
MDTintHelper.setTint(this, color);
|
||||
}
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ public class DynamicEditText extends AppCompatEditText {
|
|||
}
|
||||
|
||||
private void init() {
|
||||
final int color = ThemeSingleton.get().positiveColor;
|
||||
final int color = ThemeSingleton.get().positiveColor.getDefaultColor();
|
||||
MDTintHelper.setTint(this, color);
|
||||
}
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ public class DynamicSwitch extends SwitchCompat {
|
|||
}
|
||||
|
||||
private void init() {
|
||||
final int color = ThemeSingleton.get().positiveColor;
|
||||
final int color = ThemeSingleton.get().positiveColor.getDefaultColor();
|
||||
setTint(this, color);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public class FastScroller extends FrameLayout {
|
|||
handle = findViewById(R.id.scroll_handle);
|
||||
bar = findViewById(R.id.scroll_bar);
|
||||
handle.setEnabled(true);
|
||||
setPressedHandleColor(ThemeSingleton.get().positiveColor);
|
||||
setPressedHandleColor(ThemeSingleton.get().positiveColor.getDefaultColor());
|
||||
setUpBarBackground();
|
||||
postDelayed(handleHider, HANDLE_HIDE_DELAY);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue