Update tablet layout
This commit is contained in:
parent
72fd6d6b0d
commit
e2876f694f
3 changed files with 5 additions and 4 deletions
|
@ -53,7 +53,8 @@
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1"
|
||||||
|
android:fillViewport="true">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<dimen name="map_route_buttons_height_land">72dp</dimen>
|
<dimen name="map_route_buttons_height_land">72dp</dimen>
|
||||||
<dimen name="map_route_planning_max_height">400dp</dimen>
|
<dimen name="map_route_planning_max_height">400dp</dimen>
|
||||||
<dimen name="map_minwidth_widget">160dp</dimen>
|
<dimen name="map_minwidth_widget">160dp</dimen>
|
||||||
<dimen name="map_route_planning_land_width">420dp</dimen>
|
<dimen name="map_route_planning_land_width">440dp</dimen>
|
||||||
|
|
||||||
<dimen name="map_address_height">60dp</dimen>
|
<dimen name="map_address_height">60dp</dimen>
|
||||||
<dimen name="map_button_size">78dp</dimen>
|
<dimen name="map_button_size">78dp</dimen>
|
||||||
|
|
|
@ -160,8 +160,8 @@ public class MapRoutePreferencesControl {
|
||||||
} else {
|
} else {
|
||||||
maxHeight = -1;
|
maxHeight = -1;
|
||||||
lp.height = WindowManager.LayoutParams.MATCH_PARENT;
|
lp.height = WindowManager.LayoutParams.MATCH_PARENT;
|
||||||
lp.width = (int) mapActivity.getResources().getDimension(R.dimen.map_route_planning_max_height);
|
lp.width = (int) mapActivity.getResources().getDimension(R.dimen.map_route_planning_land_width);
|
||||||
lp.gravity = Gravity.BOTTOM | Gravity.LEFT;
|
lp.gravity = Gravity.LEFT;
|
||||||
}
|
}
|
||||||
dialog.getContext().setTheme(R.style.Dialog_Fullscreen);
|
dialog.getContext().setTheme(R.style.Dialog_Fullscreen);
|
||||||
dialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
dialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
|
||||||
|
|
Loading…
Reference in a new issue