profileListHeadArrow = findViewById(R.id.nav_profiles_arrow);
profileListHeadMore = findViewById(R.id.nav_profiles_start_edit);
profileListHeadCancel = findViewById(R.id.nav_profiles_cancel_edit);
- profileListHeadMoreAndCancel = findViewById(R.id.nav_profile_list_head_buttons);
+ LinearLayout profileListHeadMoreAndCancel =
+ findViewById(R.id.nav_profile_list_head_buttons);
drawer = findViewById(R.id.drawer_layout);
bTransactionListCancelDownload = findViewById(R.id.transaction_list_cancel_download);
progressBar = findViewById(R.id.transaction_list_progress_bar);
if (editingProfilesObserver == null) {
editingProfilesObserver = (o, arg) -> {
if (mProfileListAdapter.isEditingProfiles()) {
- profileListHeadArrow.clearAnimation();
- profileListHeadArrow.setVisibility(View.GONE);
profileListHeadMore.setVisibility(View.GONE);
profileListHeadMore
.startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_out));
.startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_in));
}
else {
- profileListHeadArrow.setRotation(180f);
- profileListHeadArrow.setVisibility(View.VISIBLE);
profileListHeadCancel.setVisibility(View.GONE);
profileListHeadCancel
.startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_out));
MobileLedgerProfile profile = Data.profile.get();
if ((profile != null) && profile.isPostingPermitted()) fab.show();
}
+ public void fabHide() {
+ fab.hide();
+ }
public void navProfilesHeadClicked(View view) {
if (profileListExpanded) {
collapseProfileList();
public class SectionsPagerAdapter extends FragmentPagerAdapter {
- public SectionsPagerAdapter(FragmentManager fm) {
+ SectionsPagerAdapter(FragmentManager fm) {
super(fm);
}