collapse fab on action selected

closes #1057
This commit is contained in:
Vincent Breitmoser 2015-02-28 01:31:24 +01:00
parent d64b8f47d1
commit cc5b0dae06

View File

@ -142,18 +142,21 @@ public class KeyListFragment extends LoaderFragment
mFabQrCode.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mFab.collapse();
scanQrCode();
}
});
mFabCloud.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mFab.collapse();
searchCloud();
}
});
mFabFile.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mFab.collapse();
importFile();
}
});