Added transparent to widget color dialog

This commit is contained in:
M66B 2021-04-13 09:46:23 +02:00
parent 77aa03d0ba
commit 0186043fc7
4 changed files with 7 additions and 3 deletions

View File

@ -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();
}

View File

@ -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);
}
})

View File

@ -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);
}
})

View File

@ -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>