Fix layout for portrait view
BIN
OsmAnd/res/drawable-hdpi/bg_left_pushed.9.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
OsmAnd/res/drawable-hdpi/bg_left_simple.9.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
BIN
OsmAnd/res/drawable-hdpi/bg_right_pushed.9.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
OsmAnd/res/drawable-hdpi/bg_right_simple.9.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -27,7 +27,7 @@
|
||||||
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||||
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="20dp" >
|
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="20dp" >
|
||||||
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true"
|
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true"
|
||||||
android:layout_weight="3" android:layout_height="170dp">
|
android:layout_weight="3" android:layout_height="175dp">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/button_icon_map" android:scaleType="center" android:layout_gravity="center"
|
android:src="@drawable/button_icon_map" android:scaleType="center" android:layout_gravity="center"
|
||||||
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout android:layout_weight="2" android:layout_height="fill_parent" />
|
<LinearLayout android:layout_weight="2" android:layout_height="fill_parent" />
|
||||||
<LinearLayout android:id="@+id/SearchButton" android:background="@drawable/bg_rightr" android:orientation="vertical" android:clickable="true"
|
<LinearLayout android:id="@+id/SearchButton" android:background="@drawable/bg_rightr" android:orientation="vertical" android:clickable="true"
|
||||||
android:layout_weight="3" android:layout_height="170dp">
|
android:layout_weight="3" android:layout_height="175dp">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/button_icon_search" android:scaleType="center" android:layout_gravity="center"
|
android:src="@drawable/button_icon_search" android:scaleType="center" android:layout_gravity="center"
|
||||||
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
||||||
|
@ -51,9 +51,9 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="15dp">
|
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="10dp">
|
||||||
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true"
|
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true"
|
||||||
android:layout_weight="3" android:layout_height="170dp">
|
android:layout_weight="3" android:layout_height="175dp">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/button_icon_favorites" android:scaleType="center" android:layout_gravity="center"
|
android:src="@drawable/button_icon_favorites" android:scaleType="center" android:layout_gravity="center"
|
||||||
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout android:layout_weight="2" android:layout_height="fill_parent" />
|
<LinearLayout android:layout_weight="2" android:layout_height="fill_parent" />
|
||||||
<LinearLayout android:id="@+id/SettingsButton" android:background="@drawable/bg_rightr" android:orientation="vertical" android:clickable="true"
|
<LinearLayout android:id="@+id/SettingsButton" android:background="@drawable/bg_rightr" android:orientation="vertical" android:clickable="true"
|
||||||
android:layout_weight="3" android:layout_height="170dp">
|
android:layout_weight="3" android:layout_height="175dp">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:src="@drawable/button_icon_settings" android:scaleType="center" android:layout_gravity="center"
|
android:src="@drawable/button_icon_settings" android:scaleType="center" android:layout_gravity="center"
|
||||||
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
|
||||||
|
|