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() { mFabQrCode.setOnClickListener(new OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
mFab.collapse();
scanQrCode(); scanQrCode();
} }
}); });
mFabCloud.setOnClickListener(new OnClickListener() { mFabCloud.setOnClickListener(new OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
mFab.collapse();
searchCloud(); searchCloud();
} }
}); });
mFabFile.setOnClickListener(new OnClickListener() { mFabFile.setOnClickListener(new OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
mFab.collapse();
importFile(); importFile();
} }
}); });