fix landscape mode
git-svn-id: https://osmand.googlecode.com/svn/trunk@752 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
BIN
OsmAnd/res/drawable-hdpi/button_icon_favorites.png
Normal file
After Width: | Height: | Size: 6 KiB |
BIN
OsmAnd/res/drawable-hdpi/button_icon_map.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
OsmAnd/res/drawable-hdpi/button_icon_search.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
OsmAnd/res/drawable-hdpi/button_icon_settings.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
BIN
OsmAnd/res/drawable-land/background.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
OsmAnd/res/drawable-land/button_icon_favorites.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
OsmAnd/res/drawable-land/button_icon_map.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
OsmAnd/res/drawable-land/button_icon_search.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
OsmAnd/res/drawable-land/button_icon_settings.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
OsmAnd/res/drawable-land/button_left_pushed.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
OsmAnd/res/drawable-land/button_left_simple.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
OsmAnd/res/drawable-land/button_right_pushed.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
OsmAnd/res/drawable-land/button_right_simple.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
OsmAnd/res/drawable-land/headline_close_button.png
Normal file
After Width: | Height: | Size: 715 B |
BIN
OsmAnd/res/drawable-land/headline_close_button_pressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-land/headline_osmand_icon.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
OsmAnd/res/drawable-land/headliner.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
OsmAnd/res/drawable-land/headliner_no_shadow.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
OsmAnd/res/drawable-land/headliner_shadow.png
Normal file
After Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
BIN
OsmAnd/res/drawable/headline_close_button.png
Normal file
After Width: | Height: | Size: 567 B |
BIN
OsmAnd/res/drawable/headline_close_button_pressed.png
Normal file
After Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
5
OsmAnd/res/drawable/headliner_close.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/headline_close_button_pressed" />
|
||||
<item android:drawable="@drawable/headline_close_button" />
|
||||
</selector>
|
104
OsmAnd/res/layout-land/menu.xml
Normal file
|
@ -0,0 +1,104 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" android:background="@drawable/background">
|
||||
|
||||
|
||||
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">
|
||||
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center_horizontal" >
|
||||
<LinearLayout android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:background="@drawable/headliner" android:orientation="horizontal" >
|
||||
<ImageView android:src="@drawable/headline_osmand_icon"
|
||||
android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginLeft="5dp"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="0dp" android:layout_weight="1" android:layout_marginTop="5dp"
|
||||
android:text="OsmAnd" android:textColor="#000000" android:typeface="serif" android:textSize="20sp"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="0.5.1 beta(b6)" android:textColor="#000000" android:typeface="serif" android:id="@+id/TextVersion"
|
||||
android:textSize="13sp"/>
|
||||
<ImageView android:src="@drawable/headline_close_button" android:layout_marginRight="10dp"
|
||||
android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginLeft="5dp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<TableRow android:layout_height = "wrap_content" >
|
||||
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/button_left" android:clickable="true"
|
||||
android:layout_width="240dp" android:layout_height="121dp">
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="15dp" android:layout_marginBottom="5dp"
|
||||
android:text="@string/map_Button" android:typeface="serif" android:textColor="#000000"
|
||||
android:layout_weight="1"
|
||||
android:textSize="18sp"/>
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_map"
|
||||
android:scaleType="center"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_weight="1" android:layout_height="fill_parent" />
|
||||
<LinearLayout android:id="@+id/SearchButton" android:background="@drawable/button_right" android:clickable="true"
|
||||
android:layout_width="240dp" android:layout_height="121dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_search"
|
||||
android:scaleType="center"
|
||||
android:layout_gravity="top|left"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="15dp" android:layout_marginBottom="5dp"
|
||||
android:text="@string/search_button" android:typeface="serif" android:textColor="#000000"
|
||||
android:textSize="18sp"/>
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
<TableRow android:layout_height = "wrap_content" >
|
||||
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/button_left"
|
||||
android:layout_width="240dp" android:layout_height="121dp">
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="15dp" android:layout_marginBottom="5dp"
|
||||
android:layout_gravity="center_vertical|left"
|
||||
android:text="@string/favorites_Button" android:typeface="serif" android:textColor="#000000"
|
||||
android:layout_weight="1"
|
||||
android:textSize="18sp"/>
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_favorites"
|
||||
android:scaleType="center"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_weight="1" android:layout_height="fill_parent" />
|
||||
<LinearLayout android:id="@+id/SettingsButton" android:background="@drawable/button_right"
|
||||
android:layout_width="240dp" android:layout_height="121dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_settings"
|
||||
android:scaleType="center"
|
||||
android:layout_gravity="top|left"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_vertical|right"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="15dp" android:layout_marginBottom="5dp"
|
||||
android:text="@string/settings_Button" android:typeface="serif" android:textColor="#000000"
|
||||
android:textSize="18sp"/>
|
||||
</LinearLayout>
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
|
@ -8,25 +8,25 @@
|
|||
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">
|
||||
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center_horizontal" >
|
||||
<LinearLayout android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:background="@drawable/headliner" android:orientation="horizontal" >
|
||||
android:background="@drawable/headliner" android:orientation="horizontal" >
|
||||
<ImageView android:src="@drawable/headline_osmand_icon"
|
||||
android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginLeft="5dp"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="0dp" android:layout_weight="1" android:layout_marginTop="5dp"
|
||||
android:text="OsmAnd" android:textColor="#000000" android:typeface="serif" android:textSize="20sp"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_marginRight="35dp" android:layout_marginTop="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="0.5.1 beta(b6)" android:textColor="#000000" android:typeface="serif" android:id="@+id/TextVersion"
|
||||
android:textSize="13sp"/>
|
||||
<!-- <TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center"
|
||||
android:textSize="14sp" android:text="http://osmand.net" android:textColor="#FFFFFF" android:typeface="serif" android:id="@+id/TextSite" />
|
||||
-->
|
||||
<ImageView android:src="@drawable/headline_close_button" android:layout_marginRight="10dp" android:clickable="true"
|
||||
android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_marginLeft="5dp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<TableRow android:layout_height = "wrap_content" >
|
||||
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/button_left" android:orientation="vertical" android:clickable="true">
|
||||
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/button_left" android:orientation="vertical" android:clickable="true"
|
||||
android:layout_width="160dp" android:layout_height="196dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_map"
|
||||
android:scaleType="center"
|
||||
|
@ -34,7 +34,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"/>
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="30dp" android:layout_marginRight="15dp"
|
||||
|
@ -42,7 +42,8 @@
|
|||
android:textSize="18sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_weight="1" android:layout_height="fill_parent" />
|
||||
<LinearLayout android:id="@+id/SearchButton" android:background="@drawable/button_right" android:orientation="vertical" android:clickable="true">
|
||||
<LinearLayout android:id="@+id/SearchButton" android:background="@drawable/button_right" android:orientation="vertical" android:clickable="true"
|
||||
android:layout_width="160dp" android:layout_height="196dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_search"
|
||||
android:scaleType="center"
|
||||
|
@ -60,7 +61,8 @@
|
|||
</LinearLayout>
|
||||
</TableRow>
|
||||
<TableRow android:layout_height = "wrap_content" >
|
||||
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/button_left" android:orientation="vertical">
|
||||
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/button_left" android:orientation="vertical"
|
||||
android:layout_width="160dp" android:layout_height="196dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_favorites"
|
||||
android:scaleType="center"
|
||||
|
@ -68,7 +70,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"/>
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="30dp" android:layout_marginRight="15dp"
|
||||
|
@ -76,7 +78,8 @@
|
|||
android:textSize="18sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_weight="1" android:layout_height="fill_parent" />
|
||||
<LinearLayout android:id="@+id/SettingsButton" android:background="@drawable/button_right" android:orientation="vertical" >
|
||||
<LinearLayout android:id="@+id/SettingsButton" android:background="@drawable/button_right" android:orientation="vertical"
|
||||
android:layout_width="160dp" android:layout_height="196dp">
|
||||
<ImageView
|
||||
android:src="@drawable/button_icon_settings"
|
||||
android:scaleType="center"
|
||||
|
|