Fix layout for portrait view

This commit is contained in:
Victor Shcherb 2011-07-02 15:49:32 +02:00
parent f98844a2fa
commit be3218c579
11 changed files with 5 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -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"/>