mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-01 07:13:56 +01:00
refactor and fix icon issue when coming from nearby banner
This commit is contained in:
parent
e15d17aa27
commit
c14318f908
2 changed files with 2 additions and 1 deletions
|
|
@ -2004,6 +2004,7 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
||||||
* @param nearestPlace nearest place, which has to be highlighted
|
* @param nearestPlace nearest place, which has to be highlighted
|
||||||
*/
|
*/
|
||||||
private void highlightNearestPlace(final Place nearestPlace) {
|
private void highlightNearestPlace(final Place nearestPlace) {
|
||||||
|
binding.bottomSheetDetails.icon.setVisibility(View.VISIBLE);
|
||||||
passInfoToSheet(nearestPlace);
|
passInfoToSheet(nearestPlace);
|
||||||
hideBottomSheet();
|
hideBottomSheet();
|
||||||
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
android:layout_width="@dimen/dimen_40"
|
android:layout_width="@dimen/dimen_40"
|
||||||
android:layout_height="@dimen/dimen_40"
|
android:layout_height="@dimen/dimen_40"
|
||||||
android:layout_marginLeft="@dimen/standard_gap"
|
android:layout_marginLeft="@dimen/standard_gap"
|
||||||
android:visibility="gone"></ImageView>
|
android:visibility="gone" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/wikiDataLl"
|
android:id="@+id/wikiDataLl"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue