mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Added transparent to widget color dialog
This commit is contained in:
parent
77aa03d0ba
commit
0186043fc7
4 changed files with 7 additions and 3 deletions
|
@ -120,9 +120,10 @@ public class ActivityWidget extends ActivityBase {
|
|||
setBackground();
|
||||
}
|
||||
})
|
||||
.setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() {
|
||||
.setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
cbSemiTransparent.setChecked(false);
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
setBackground();
|
||||
}
|
||||
|
|
|
@ -84,9 +84,10 @@ public class ActivityWidgetSync extends ActivityBase {
|
|||
btnColor.setColor(selectedColor);
|
||||
}
|
||||
})
|
||||
.setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() {
|
||||
.setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
cbSemiTransparent.setChecked(false);
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
}
|
||||
})
|
||||
|
|
|
@ -118,9 +118,10 @@ public class ActivityWidgetUnified extends ActivityBase {
|
|||
btnColor.setColor(selectedColor);
|
||||
}
|
||||
})
|
||||
.setNegativeButton(R.string.title_reset, new DialogInterface.OnClickListener() {
|
||||
.setNegativeButton(R.string.title_transparent, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
cbSemiTransparent.setChecked(false);
|
||||
btnColor.setColor(Color.TRANSPARENT);
|
||||
}
|
||||
})
|
||||
|
|
|
@ -680,6 +680,7 @@
|
|||
<string name="title_account_interval_hint">Frequency of refreshing the connection for push messages or frequency of checking for new messages</string>
|
||||
<string name="title_account_partial_fetch_hint">Disable this only in case of empty messages or corrupt attachments</string>
|
||||
<string name="title_color">Color</string>
|
||||
<string name="title_transparent">Transparent</string>
|
||||
<string name="title_account_ondemand">Synchronize manually</string>
|
||||
<string name="title_account_notify">Separate notifications</string>
|
||||
<string name="title_account_left">Swipe left</string>
|
||||
|
|
Loading…
Reference in a new issue