fix layout for portrait mode

git-svn-id: https://osmand.googlecode.com/svn/trunk@124 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-06-03 07:51:18 +00:00
parent 723981936d
commit f791e361ff
3 changed files with 11 additions and 6 deletions

View file

@ -25,6 +25,7 @@ public class ToDoConstants {
// 30. Performance issue with map drawing : // 30. Performance issue with map drawing :
// introduce one place where refreshMap will be called using postMessage mechanism (delay more than > 50 ? ms). // introduce one place where refreshMap will be called using postMessage mechanism (delay more than > 50 ? ms).
// Introducing cache of file names that are on disk (creating new File() consumes a lot of memory) // Introducing cache of file names that are on disk (creating new File() consumes a lot of memory)
// 31. Translation.
// FIXME Bugs Android : // FIXME Bugs Android :

View file

@ -4,16 +4,20 @@
android:layout_width="fill_parent" android:orientation="vertical" android:layout_width="fill_parent" android:orientation="vertical"
android:layout_height="fill_parent" android:background="@color/menu_background"> android:layout_height="fill_parent" android:background="@color/menu_background">
<Button android:layout_height="55dp" <Button android:layout_height="45dp" android:textStyle="bold"
android:layout_gravity="center" android:id="@+id/MapButton" android:layout_gravity="center" android:id="@+id/MapButton"
android:text="@string/map_Button" android:layout_width="300dp" android:layout_marginTop="10dp"></Button> android:text="@string/map_Button" android:layout_width="300dp" android:layout_marginTop="10dp"></Button>
<Button android:layout_height="55dp" android:id="@+id/SearchButton" android:text="@string/search_button" <Button android:layout_height="45dp" android:id="@+id/SearchButton" android:text="@string/search_button" android:textStyle="bold"
android:layout_width="300dp" android:layout_gravity="center" android:layout_marginTop="20dp"></Button> android:layout_width="300dp" android:layout_gravity="center" android:layout_marginTop="10dp"></Button>
<Button android:layout_height="55dp" <Button android:id="@+id/FavoritesButton" android:text="@string/favorites_Button" android:layout_marginTop="10dp"
android:textStyle="bold" android:layout_width="300dp" android:layout_gravity="center"
android:layout_height="45dp"/>
<Button android:layout_height="45dp" android:textStyle="bold"
android:layout_gravity="center" android:id="@+id/SettingsButton" android:layout_gravity="center" android:id="@+id/SettingsButton"
android:text="@string/settings_Button" android:layout_width="300dp" android:layout_marginTop="20dp"></Button> android:text="@string/settings_Button" android:layout_width="300dp" android:layout_marginTop="10dp"></Button>
<FrameLayout android:id="@+id/FrameLayout01" <FrameLayout android:id="@+id/FrameLayout01"
android:layout_height="fill_parent" android:layout_width="fill_parent"> android:layout_height="fill_parent" android:layout_width="fill_parent">
<Button android:layout_width="wrap_content" <Button android:layout_width="wrap_content"

View file

@ -38,7 +38,7 @@
<string name="settings_Button">Settings</string> <string name="settings_Button">Settings</string>
<string name="favorites_Button">Favorites</string> <string name="favorites_Button">Favorites</string>
<string name="search_button">Search</string> <string name="search_button">Search</string>
<color name="menu_background">#CFFACD</color> <color name="menu_background">#FF9030</color>
<string name="search_activity">Search</string> <string name="search_activity">Search</string>
<color name="color_white">#FFFFFF</color> <color name="color_white">#FFFFFF</color>
<color name="color_red">#FF0000</color> <color name="color_red">#FF0000</color>