Fix context menu padding

This commit is contained in:
Chumva 2018-09-25 16:45:17 +03:00
parent b38c3a3a16
commit 3fc9d4b9ee
2 changed files with 3 additions and 1 deletions

View file

@ -113,7 +113,8 @@
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
android:gravity="top"
android:orientation="horizontal"
android:paddingTop="3dp">
android:paddingTop="3dp"
android:visibility="gone">
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/nearby_routes_within_text_view"

View file

@ -1341,6 +1341,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
}
nearbyTransportStopRoutesGrid.setAdapter(adapter);
nearbyTransportStopRoutesGrid.setVisibility(View.VISIBLE);
nearbyRoutesLayout.setVisibility(View.VISIBLE);
} else {
nearbyRoutesLayout.setVisibility(View.GONE);
}