mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 00:02:27 -08:00
Add fab menu
This commit is contained in:
1 parent
eb14d27ca5
commit
2c16fe3335
3 files changed
+67
-22
No files matched your search
@@ -77,8 +77,8 @@ public class AddNodeButtonView extends RelativeLayout {
|
||||
addGroupEnable = true;
|
||||
|
||||
addButtonView = findViewById(R.id.add_button);
|
||||
addEntryView = findViewById(R.id.add_entry);
|
||||
addGroupView = findViewById(R.id.add_group);
|
||||
addEntryView = findViewById(R.id.container_add_entry);
|
||||
addGroupView = findViewById(R.id.container_add_group);
|
||||
|
||||
animationDuration = 300L;
|
||||
|
||||
@@ -195,11 +195,16 @@ public class AddNodeButtonView extends RelativeLayout {
|
||||
}
|
||||
|
||||
public void setAddEntryClickListener(OnClickListener onClickListener) {
|
||||
if (addEntryEnable)
|
||||
if (addEntryEnable) {
|
||||
addEntryView.setOnClickListener(view -> {
|
||||
onClickListener.onClick(view);
|
||||
closeButtonIfOpen();
|
||||
});
|
||||
addEntryView.setOnClickListener(view -> {
|
||||
onClickListener.onClick(view);
|
||||
closeButtonIfOpen();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void startGlobalAnimation() {
|
||||
|
||||
Reference in new issue
Block a user