mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Remove bottom bar which was a added to make UI prettier with no function previously
This commit is contained in:
parent
6ca841fd18
commit
561a73acb2
5 changed files with 2 additions and 26 deletions
|
|
@ -10,12 +10,10 @@ import android.support.design.widget.BottomSheetBehavior;
|
|||
import android.support.design.widget.CoordinatorLayout;
|
||||
import android.support.design.widget.FloatingActionButton;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.widget.ImageView;
|
||||
|
|
@ -50,7 +48,7 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
|||
private fr.free.nrw.commons.location.LatLng curLatLng;
|
||||
private View bottomSheetList;
|
||||
private View bottomSheetDetails;
|
||||
private View moreInfo;
|
||||
|
||||
private BottomSheetBehavior bottomSheetListBehavior;
|
||||
private BottomSheetBehavior bottomSheetDetailsBehavior;
|
||||
private LinearLayout wikipediaButton;
|
||||
|
|
@ -165,7 +163,6 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
|||
rotate_backward = AnimationUtils.loadAnimation(getActivity(),R.anim.rotate_backward);
|
||||
|
||||
transparentView = getActivity().findViewById(R.id.transparentView);
|
||||
moreInfo = getActivity().findViewById(R.id.more_info_button);
|
||||
|
||||
description = getActivity().findViewById(R.id.description);
|
||||
title = getActivity().findViewById(R.id.title);
|
||||
|
|
@ -337,11 +334,9 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
|||
closeFabs(isFabOpen);
|
||||
if (!fabPlus.isShown()) showFAB();
|
||||
this.getView().requestFocus();
|
||||
moreInfo.setVisibility(View.VISIBLE);
|
||||
break;
|
||||
case (BottomSheetBehavior.STATE_EXPANDED):
|
||||
this.getView().requestFocus();
|
||||
moreInfo.setVisibility(View.VISIBLE);
|
||||
break;
|
||||
case (BottomSheetBehavior.STATE_HIDDEN):
|
||||
transparentView.setClickable(false);
|
||||
|
|
@ -349,7 +344,6 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
|||
closeFabs(isFabOpen);
|
||||
hideFAB();
|
||||
this.getView().requestFocus();
|
||||
moreInfo.setVisibility(View.GONE);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue