mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-25 16:26:08 +00:00
parent
592d482a9b
commit
faf24e15bd
1 changed files with 2 additions and 1 deletions
|
@ -179,7 +179,8 @@ public class AuthActivity extends AegisActivity implements SlotListTask.Callback
|
||||||
private void showPasswordReminder() {
|
private void showPasswordReminder() {
|
||||||
View popupLayout = getLayoutInflater().inflate(R.layout.popup_password, null);
|
View popupLayout = getLayoutInflater().inflate(R.layout.popup_password, null);
|
||||||
PopupWindow popup = new PopupWindow(popupLayout, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
PopupWindow popup = new PopupWindow(popupLayout, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
popup.setFocusable(true);
|
popup.setFocusable(false);
|
||||||
|
popup.setOutsideTouchable(true);
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
|
||||||
popup.setElevation(5.0f);
|
popup.setElevation(5.0f);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue