mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Remove bottomSheetDetails stays visible problem
This commit is contained in:
parent
d51e7e624c
commit
2af9a85809
2 changed files with 2 additions and 0 deletions
|
|
@ -272,6 +272,7 @@ public class NearbyMapFragment extends DaggerFragment {
|
||||||
bottomSheetDetails = getActivity().findViewById(R.id.bottom_sheet_details);
|
bottomSheetDetails = getActivity().findViewById(R.id.bottom_sheet_details);
|
||||||
bottomSheetDetailsBehavior = BottomSheetBehavior.from(bottomSheetDetails);
|
bottomSheetDetailsBehavior = BottomSheetBehavior.from(bottomSheetDetails);
|
||||||
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
|
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_HIDDEN);
|
||||||
|
bottomSheetDetails.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
fabPlus = getActivity().findViewById(R.id.fab_plus);
|
fabPlus = getActivity().findViewById(R.id.fab_plus);
|
||||||
fabCamera = getActivity().findViewById(R.id.fab_camera);
|
fabCamera = getActivity().findViewById(R.id.fab_camera);
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
app:layout_behavior="@string/bottom_sheet_behavior"
|
app:layout_behavior="@string/bottom_sheet_behavior"
|
||||||
app:behavior_peekHeight="72dp"
|
app:behavior_peekHeight="72dp"
|
||||||
app:behavior_hideable="true"
|
app:behavior_hideable="true"
|
||||||
|
android:visibility="gone"
|
||||||
>
|
>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue