This commit is contained in:
GaidamakUA 2015-10-27 18:56:46 +02:00
commit 0902d0dc94
3 changed files with 2 additions and 3 deletions

View file

@ -4,6 +4,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:background="?attr/bottom_menu_view_bg"
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<LinearLayout <LinearLayout

View file

@ -637,7 +637,7 @@
<string name="poi_sightseeing">Vista turìstica</string> <string name="poi_sightseeing">Vista turìstica</string>
<string name="poi_internet_access">Atzessu ìnternet</string> <string name="poi_internet_access">Atzessu ìnternet</string>
<string name="poi_club">Tzirculu</string> <string name="poi_club">Tzirculu</string>
<string name="poi_cafe_and_restaurant">Tzilleris e ristorantes</string> <string name="poi_cafe_and_restaurant">Cafeterias e ristorantes</string>
<string name="poi_shop_food">Butega alimentare</string> <string name="poi_shop_food">Butega alimentare</string>
<string name="poi_road_obstacle">Impèigu/ostàculu istradale</string> <string name="poi_road_obstacle">Impèigu/ostàculu istradale</string>
<string name="poi_accomodation">Allògiu</string> <string name="poi_accomodation">Allògiu</string>

View file

@ -43,8 +43,6 @@ public class GoToMapFragment extends DialogFragment {
: R.style.OsmandDarkTheme_BottomSheet; : R.style.OsmandDarkTheme_BottomSheet;
final Dialog dialog = new Dialog(getActivity(), themeId); final Dialog dialog = new Dialog(getActivity(), themeId);
dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE); dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
dialog.getWindow().setDimAmount(0.3f);
dialog.getWindow().getAttributes().windowAnimations = R.style.Animations_PopUpMenu_Bottom; dialog.getWindow().getAttributes().windowAnimations = R.style.Animations_PopUpMenu_Bottom;
return dialog; return dialog;
} }