mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
add some style and icons
This commit is contained in:
@ -53,7 +53,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
|
||||
bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 1);
|
||||
if (bgColor == 1) {
|
||||
bgColor = Color.BLACK;
|
||||
bgAlpha = .5f;
|
||||
bgAlpha = .2f;
|
||||
} else {
|
||||
bgAlpha = Color.alpha(bgColor) / (float) 255;
|
||||
}
|
||||
@ -63,7 +63,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
|
||||
bgSeekBar.setProgress((int) (bgAlpha * 100));
|
||||
updateBackgroundColor();
|
||||
|
||||
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, Color.WHITE);
|
||||
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, getResources().getColor(R.color.colorPrimary));
|
||||
updateTextColor();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user