Merge branch 'master' into design

This commit is contained in:
Victor Shcherb 2014-11-17 21:55:40 +01:00
commit 6bf5363e15
118 changed files with 2987 additions and 2022 deletions

View file

@ -8,16 +8,21 @@ import java.net.URL;
import java.net.URLConnection; import java.net.URLConnection;
import java.net.UnknownHostException; import java.net.UnknownHostException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.HashSet; import java.util.HashSet;
import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingDeque;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import net.osmand.PlatformUtil; import net.osmand.PlatformUtil;
import net.osmand.util.Algorithms; import net.osmand.util.Algorithms;
import net.osmand.util.LIFOBlockingDeque;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
@ -106,8 +111,9 @@ public class MapTileDownloader {
public MapTileDownloader(int numberOfThreads){ public MapTileDownloader(int numberOfThreads){
threadPoolExecutor = new ThreadPoolExecutor(numberOfThreads, numberOfThreads, TILE_DOWNLOAD_SECONDS_TO_WORK, threadPoolExecutor = new ThreadPoolExecutor(numberOfThreads, numberOfThreads, TILE_DOWNLOAD_SECONDS_TO_WORK,
TimeUnit.SECONDS, new LIFOBlockingDeque<Runnable>()); TimeUnit.SECONDS, createQueue());
// 1.6 method but very useful to kill non-running threads // 1.6 method but very useful to kill non-running threads
// threadPoolExecutor.allowCoreThreadTimeOut(true); // threadPoolExecutor.allowCoreThreadTimeOut(true);
pendingToDownload = Collections.synchronizedSet(new HashSet<File>()); pendingToDownload = Collections.synchronizedSet(new HashSet<File>());
@ -115,6 +121,25 @@ public class MapTileDownloader {
} }
protected BlockingQueue<Runnable> createQueue() {
boolean loaded = false;
try {
Class<?> cl = Class.forName("java.util.concurrent.LinkedBlockingDeque");
loaded = cl != null;
} catch (Throwable e) {
e.printStackTrace();
}
if(!loaded) {
// for Android 2.2
return new LinkedBlockingQueue<Runnable>();
}
return createDeque();
}
protected static BlockingQueue<Runnable> createDeque() {
return new net.osmand.util.LIFOBlockingDeque<Runnable>();
}
public void addDownloaderCallback(IMapDownloaderCallback callback){ public void addDownloaderCallback(IMapDownloaderCallback callback){
callbacks.add(callback); callbacks.add(callback);
} }

Binary file not shown.

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -15,7 +14,7 @@
<ImageView <ImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
@ -23,6 +22,6 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:gravity="center_vertical|center_horizontal" android:gravity="center_vertical|center_horizontal"
android:textSize="12sp" android:textSize="12sp"
android:textColor="#666"/> android:textColor="#666" />
</LinearLayout> </LinearLayout>

View file

@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout" android:id="@+id/layout"
android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:id="@+id/message" android:focusable="true" <TextView
android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:id="@+id/message"
android:layout_width="fill_parent" android:layout_height="fill_parent" android:focusable="true"
android:textSize="18sp" android:gravity="fill_horizontal"/> android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:textSize="18sp"
android:gravity="fill_horizontal" />
</LinearLayout> </LinearLayout>

View file

@ -1,9 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
<RadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content"> android:orientation="vertical">
<RadioGroup
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<RadioButton <RadioButton
android:id="@+id/radio_route" android:id="@+id/radio_route"
android:text="@string/animate_routing_route" android:text="@string/animate_routing_route"
@ -12,6 +16,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_weight="1" /> android:layout_weight="1" />
<RadioButton <RadioButton
android:id="@+id/radio_gpx" android:id="@+id/radio_gpx"
android:text="@string/animate_routing_gpx" android:text="@string/animate_routing_gpx"
@ -21,21 +26,53 @@
android:layout_weight="1" /> android:layout_weight="1" />
</RadioGroup> </RadioGroup>
<LinearLayout android:layout_width="fill_parent" android:id="@+id/layout_animate_gpx"
android:layout_height="fill_parent" android:orientation="vertical" android:visibility="gone">
<TextView android:text="@string/select_animate_speedup" android:gravity="left"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/>
<SeekBar android:id="@+id/Speedup" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"> android:id="@+id/layout_animate_gpx"
<TextView android:text="10" android:gravity="left" android:layout_weight="0.5" android:id="@+id/MinSpeedup" android:layout_height="fill_parent"
android:layout_width="wrap_content" android:layout_height="wrap_content"/> android:orientation="vertical"
<TextView android:text="15" android:gravity="right" android:layout_weight="0.5" android:id="@+id/MaxSpeedup" android:visibility="gone">
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<TextView
android:text="@string/select_animate_speedup"
android:gravity="left"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp" />
<SeekBar
android:id="@+id/Speedup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp">
<TextView
android:text="10"
android:gravity="left"
android:layout_weight="0.5"
android:id="@+id/MinSpeedup"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:text="15"
android:gravity="right"
android:layout_weight="0.5"
android:id="@+id/MaxSpeedup"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -2,15 +2,24 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<TextView android:id="@+id/ValidateTextView" android:textSize="16sp" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="" android:gravity="center" android:textColor="@color/color_invalid"></TextView> <TextView
android:id="@+id/ValidateTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text=""
android:textColor="@color/color_invalid"
android:textSize="16sp"
android:visibility="gone" />
<LinearLayout <LinearLayout
android:id="@+id/LinearLayout" android:id="@+id/LinearLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:orientation="horizontal" > android:orientation="horizontal">
</LinearLayout> </LinearLayout>
@ -20,24 +29,23 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:layout_marginTop="5dp" > android:layout_marginTop="5dp">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:text="@string/route_from" android:text="@string/route_from"
android:textSize="18sp" > android:textSize="18sp" />
</TextView>
<Spinner <Spinner
android:id="@+id/FromSpinner" android:id="@+id/FromSpinner"
@ -45,8 +53,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:textSize="18sp" > android:textSize="18sp" />
</Spinner>
</LinearLayout> </LinearLayout>
<TextView <TextView
@ -60,14 +67,14 @@
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:text="@string/route_to" android:text="@string/route_to"
android:textSize="18sp" > android:textSize="18sp">
</TextView> </TextView>
@ -77,8 +84,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:textSize="18sp" > android:textSize="18sp" />
</Spinner>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -7,10 +7,15 @@
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:layout_marginLeft="5dip" android:layout_marginLeft="5dip"
android:layout_marginRight="5dip" android:layout_marginRight="5dip"
android:weightSum="1" android:background="@color/color_white"> android:weightSum="1"
android:background="@color/color_white">
<ImageButton
android:src="@drawable/av_download"
android:id="@+id/down"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ImageButton android:src="@drawable/av_download" android:id="@+id/down" android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
android:layout_width="0dp" android:layout_width="0dp"
@ -19,9 +24,13 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/layer_poi" android:text="@string/layer_poi"
android:textSize="18sp" android:textSize="18sp"
android:textColor="@color/color_black" android:layout_weight="1"/> android:textColor="@color/color_black"
<ImageButton android:src="@drawable/av_upload" android:id="@+id/up" android:layout_weight="1" />
<ImageButton
android:src="@drawable/av_upload"
android:id="@+id/up"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" > android:layout_gravity="center_vertical">
<CheckBox <CheckBox
android:id="@+id/check_item" android:id="@+id/check_item"

View file

@ -2,16 +2,19 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:id="@+id/TopBar" /> android:id="@+id/TopBar" />
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
style="@style/OsmandListView" style="@style/OsmandListView"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent"></ListView>
</ListView>
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/download_tag" android:gravity="center_vertical" android:layout_width="0dp" android:layout_height="wrap_content" <TextView
android:layout_weight="1" android:textSize="19sp"></TextView> android:id="@+id/download_tag"
android:gravity="center_vertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="19sp"></TextView>
<TextView android:id="@+id/download_descr" android:layout_marginLeft="3dp" android:gravity="center_vertical" android:layout_width="105dp" <TextView
android:layout_height="wrap_content" android:textSize="19sp" ></TextView> android:id="@+id/download_descr"
android:layout_marginLeft="3dp"
android:gravity="center_vertical"
android:layout_width="105dp"
android:layout_height="wrap_content"
android:textSize="19sp"></TextView>
</LinearLayout> </LinearLayout>

View file

@ -3,7 +3,7 @@
android:id="@+id/MainLayout" android:id="@+id/MainLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<EditText <EditText

View file

@ -1,15 +1,38 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:paddingTop="1dp" android:paddingBottom="1dp" android:paddingRight="8dp"> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="1dp"
android:paddingBottom="1dp"
android:paddingRight="8dp">
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent"> <LinearLayout
<CheckBox android:id="@+id/check_download_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="wrap_content"
android:gravity="center_vertical" android:focusable="false" /> android:layout_height="fill_parent">
<CheckBox
android:id="@+id/check_download_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:focusable="false" />
</LinearLayout> </LinearLayout>
<TextView android:id="@+id/download_item" android:gravity="center_vertical" android:layout_width="0dp" android:layout_height="wrap_content"
android:maxLines="7" android:layout_weight="1" style="@style/ListText.Small"/>
<TextView android:id="@+id/download_descr" android:layout_marginLeft="3dp" android:gravity="right" android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" style="@style/ListText.Small"/> android:id="@+id/download_item"
android:gravity="center_vertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:maxLines="7"
android:layout_weight="1"
style="@style/ListText.Small" />
<TextView
android:id="@+id/download_descr"
android:layout_marginLeft="3dp"
android:gravity="right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/ListText.Small" />
</LinearLayout> </LinearLayout>

View file

@ -1,25 +1,63 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
<TextView android:text="@string/select_max_zoom_preload_area" android:gravity="center" android:orientation="vertical">
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/> <TextView
<SeekBar android:id="@+id/ZoomToDownload" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/select_max_zoom_preload_area"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"/> android:gravity="center"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp" />
<SeekBar
android:id="@+id/ZoomToDownload"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp" />
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp"> android:layout_height="wrap_content"
<TextView android:text="10" android:gravity="left" android:layout_weight="0.5" android:id="@+id/MinZoom" android:layout_marginLeft="10dp"
android:layout_width="wrap_content" android:layout_height="wrap_content"/> android:layout_marginRight="10dp"
<TextView android:text="15" android:gravity="right" android:layout_weight="0.5" android:id="@+id/MaxZoom" android:layout_marginTop="5dp">
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<TextView
android:text="10"
android:gravity="left"
android:layout_weight="0.5"
android:id="@+id/MinZoom"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:text="15"
android:gravity="right"
android:layout_weight="0.5"
android:id="@+id/MaxZoom"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
<TextView android:text="@string/tiles_to_download_estimated_size" android:gravity="center" android:id="@+id/DownloadDescription"
android:layout_width="fill_parent" android:layout_height="wrap_content"/> <TextView
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/tiles_to_download_estimated_size"
android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp" android:gravity="center"
android:id="@+id/DownloadDescription"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:id="@+id/AreaPreview"/> android:id="@+id/AreaPreview" />
</LinearLayout> </LinearLayout>

View file

@ -7,19 +7,24 @@
android:paddingLeft="24dp" android:paddingLeft="24dp"
android:paddingRight="16dp"> android:paddingRight="16dp">
<LinearLayout android:layout_width="0dp" <LinearLayout
android:layout_width="0dp"
android:layout_weight="1" android:layout_weight="1"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_height="48dp"> android:layout_height="48dp">
<TextView android:id="@+id/title"
<TextView
android:id="@+id/title"
android:textSize="18sp" android:textSize="18sp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:gravity="center_vertical" android:gravity="center_vertical"
android:maxLines="2" android:maxLines="2"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
<TextView android:id="@+id/descr"
<TextView
android:id="@+id/descr"
android:textSize="14sp" android:textSize="14sp"
android:layout_weight="1" android:layout_weight="1"
android:textColor="#bebebe" android:textColor="#bebebe"
@ -29,8 +34,9 @@
android:maxLines="1" android:maxLines="1"
android:ellipsize="end" android:ellipsize="end"
android:layout_gravity="center_vertical|right" android:layout_gravity="center_vertical|right"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
<CheckBox <CheckBox
android:id="@+id/check_item" android:id="@+id/check_item"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -8,28 +8,31 @@
android:minHeight="40dp" android:minHeight="40dp"
android:layout_marginBottom="5dp"> android:layout_marginBottom="5dp">
<ImageView android:id="@+id/waypoint_icon" <ImageView
android:id="@+id/waypoint_icon"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical" />
<TextView android:id="@+id/title" <TextView
android:id="@+id/title"
android:text="@string/search_radius_proximity" android:text="@string/search_radius_proximity"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:textSize="20sp"/> android:textSize="20sp" />
<TextView android:id="@+id/descr" <TextView
android:id="@+id/descr"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="20sp" android:textSize="20sp"
android:textColor="@color/sherpafy_selection" android:textColor="@color/sherpafy_selection"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="8dp"/> android:layout_marginRight="8dp" />
</LinearLayout> </LinearLayout>

View file

@ -1,20 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingLeft="24dp" android:orientation="horizontal"
android:paddingBottom="4dp"> android:paddingBottom="4dp"
<TextView android:id="@+id/title" android:paddingLeft="24dp">
android:layout_weight="1"
<TextView
android:id="@+id/title"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="36dp" android:layout_height="36dp"
android:layout_weight="1"
android:capitalize="characters" android:capitalize="characters"
android:ellipsize="end"
android:gravity="left|bottom"
android:inputType="textCapCharacters" android:inputType="textCapCharacters"
android:textColor="#858585" android:textColor="#858585"
android:textSize="14sp" android:textSize="14sp" />
android:ellipsize="end"
android:gravity="left|bottom"/>
<!-- android:maxLines="2" --> <!-- android:maxLines="2" -->
</LinearLayout> </LinearLayout>

View file

@ -1,24 +1,27 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent" >
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical" >
<TextView <TextView
android:id="@+id/LinkToOsmDoc" android:id="@+id/LinkToOsmDoc"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:text="@string/create_poi_link_to_osm_doc" /> android:text="@string/create_poi_link_to_osm_doc" />
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" <TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1" > android:stretchColumns="1" >
<TableRow>
<TableRow>
<TextView <TextView
android:id="@+id/TextView" android:id="@+id/TextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -30,16 +33,18 @@
<EditText <EditText
android:id="@+id/Name" android:id="@+id/Name"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:minWidth="250dp"
android:text="" > android:text="" >
<requestFocus /> <requestFocus />
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<Button <Button
android:id="@+id/TypeButton" android:id="@+id/TypeButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -49,14 +54,15 @@
<AutoCompleteTextView <AutoCompleteTextView
android:id="@+id/Type" android:id="@+id/Type"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:minWidth="250dp"
android:text="" /> android:text="" />
</TableRow> </TableRow>
<TableRow>
<TableRow>
<Button <Button
android:id="@+id/OpenHoursButton" android:id="@+id/OpenHoursButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -66,16 +72,17 @@
<EditText <EditText
android:id="@+id/OpeningHours" android:id="@+id/OpeningHours"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:hint="Mo-Su 08:00-20:00" android:hint="Mo-Su 08:00-20:00"
android:minWidth="250dp"
android:text="" > android:text="" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -85,13 +92,15 @@
<EditText <EditText
android:id="@+id/StreetName" android:id="@+id/StreetName"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp"
android:minWidth="250dp" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -101,32 +110,35 @@
<EditText <EditText
android:id="@+id/HouseNumber" android:id="@+id/HouseNumber"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp"
android:minWidth="250dp" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:text="@string/phone" /> android:text="@string/phone" />
<EditText <EditText
android:id="@+id/Phone" android:id="@+id/Phone"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:hint="0123456789" android:hint="0123456789"
android:inputType="phone" > android:inputType="phone"
android:minWidth="250dp" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -136,15 +148,16 @@
<EditText <EditText
android:id="@+id/Website" android:id="@+id/Website"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:hint="http://osmand.net" > android:hint="http://osmand.net"
android:minWidth="250dp" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<TextView <TextView
android:id="@+id/TextView" android:id="@+id/TextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -155,15 +168,16 @@
<EditText <EditText
android:id="@+id/Comment" android:id="@+id/Comment"
android:layout_width="250dp" android:layout_width="250dp"
android:minWidth="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:minWidth="250dp"
android:text="@string/poi_dialog_comment_default" > android:text="@string/poi_dialog_comment_default" >
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow>
<TableRow>
<CheckBox <CheckBox
android:id="@+id/CloseChangeset" android:id="@+id/CloseChangeset"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -171,21 +185,20 @@
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_span="2" android:layout_span="2"
android:text="@string/close_changeset" /> android:text="@string/close_changeset" />
</TableRow> </TableRow>
</TableLayout> </TableLayout>
<TableLayout
<TableLayout
android:id="@+id/advancedModeTable" android:id="@+id/advancedModeTable"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stretchColumns="1" android:stretchColumns="1"
android:visibility="gone"> android:visibility="gone" >
</TableLayout> </TableLayout>
<LinearLayout android:layout_width="fill_parent" <LinearLayout
android:layout_height="wrap_content"> android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<Button <Button
android:id="@+id/addTag" android:id="@+id/addTag"
@ -198,16 +211,39 @@
<Button <Button
android:id="@+id/advancedMode" android:id="@+id/advancedMode"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:minWidth="150dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minWidth="150dp"
android:text="@string/btn_advanced_mode" /> android:text="@string/btn_advanced_mode" />
</LinearLayout> </LinearLayout>
<TextView
android:id="@+id/TextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/poi_dialog_other_tags_message" />
<LinearLayout
android:id="@+id/LinearLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom|center"
android:orientation="horizontal" >
<Button
android:id="@+id/Cancel"
android:layout_width="125dp"
android:layout_height="wrap_content"
android:text="@string/default_buttons_cancel" >
</Button>
<Button
android:id="@+id/Commit"
android:layout_width="125dp"
android:layout_height="wrap_content"
android:text="@string/default_buttons_commit" >
</Button>
</LinearLayout>
</LinearLayout>
<TextView android:text="@string/poi_dialog_other_tags_message" android:id="@+id/TextView" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
<LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal"
android:gravity="bottom|center">
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_cancel" android:id="@+id/Cancel"></Button>
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_commit" android:id="@+id/Commit"></Button>
</LinearLayout>
</LinearLayout>
</ScrollView> </ScrollView>

View file

@ -1,7 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent"
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:choiceMode="multipleChoice" android:orientation="vertical">
android:layout_height="fill_parent" style="@style/OsmandListView"></ListView>
<ListView
android:id="@android:id/list"
style="@style/OsmandListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:choiceMode="multipleChoice" />
</LinearLayout> </LinearLayout>

View file

@ -1,14 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<CheckBox android:id="@+id/filter_poi_check" <CheckBox
android:layout_width="wrap_content" android:layout_height="wrap_content"></CheckBox> android:id="@+id/filter_poi_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView android:id="@+id/filter_poi_label" <TextView
android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/filter_poi_label"
style="@style/ListText"></TextView> style="@style/ListText"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>

View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:orientation="vertical" > android:orientation="vertical">
<TableLayout <TableLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
@ -28,30 +28,31 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:text="" > android:text="">
<requestFocus /> <requestFocus />
</EditText> </EditText>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/edit_tilesource_choose_existing" > android:text="@string/edit_tilesource_choose_existing"></TextView>
</TextView>
<Spinner <Spinner
android:id="@+id/TileSourceSpinner" android:id="@+id/TileSourceSpinner"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp"></Spinner>
</Spinner>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
@ -65,11 +66,11 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:lines="5" android:lines="5"
android:minLines="2" android:minLines="2"
android:text="" > android:text=""></EditText>
</EditText>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
@ -81,11 +82,11 @@
android:id="@+id/MinZoom" android:id="@+id/MinZoom"
android:layout_width="180dp" android:layout_width="180dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" > android:text=""></EditText>
</EditText>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
@ -97,28 +98,27 @@
android:id="@+id/MaxZoom" android:id="@+id/MaxZoom"
android:layout_width="180dp" android:layout_width="180dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" > android:text=""></EditText>
</EditText>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:text="@string/edit_tilesource_expiration_time" android:text="@string/edit_tilesource_expiration_time" />
/>
<EditText <EditText
android:id="@+id/ExpirationTime" android:id="@+id/ExpirationTime"
android:layout_width="180dp" android:layout_width="180dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" > android:text=""></EditText>
</EditText>
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent" <TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<CheckBox <CheckBox

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<TextView <TextView
android:id="@+id/DescriptionText" android:id="@+id/DescriptionText"
@ -24,7 +24,6 @@
android:layout_marginRight="0dp" android:layout_marginRight="0dp"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:layout_weight="1" android:layout_weight="1"
android:groupIndicator="@android:color/transparent" > android:groupIndicator="@android:color/transparent"></ExpandableListView>
</ExpandableListView>
</LinearLayout> </LinearLayout>

View file

@ -6,7 +6,7 @@
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:paddingLeft="4dp" android:paddingLeft="4dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:paddingTop="5dp" > android:paddingTop="5dp">
<ImageView <ImageView
android:id="@+id/explist_indicator" android:id="@+id/explist_indicator"
@ -24,13 +24,13 @@
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:autoLink="web" android:autoLink="web"
android:gravity="center_vertical" android:gravity="center_vertical"
android:textSize="18sp"> android:textSize="18sp"></TextView>
</TextView>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="right" > android:layout_gravity="right">
<CheckBox <CheckBox
android:id="@+id/check_item" android:id="@+id/check_item"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -6,7 +6,7 @@
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:paddingLeft="4dp" android:paddingLeft="4dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:paddingTop="5dp" > android:paddingTop="5dp">
<ImageView <ImageView
android:id="@+id/explist_indicator" android:id="@+id/explist_indicator"
@ -24,13 +24,12 @@
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:textSize="18sp"> android:textSize="18sp"></TextView>
</TextView>
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="right" > android:layout_gravity="right">
<ImageView <ImageView
android:id="@+id/check_item" android:id="@+id/check_item"
@ -38,8 +37,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_action_settings_dark" android:src="@drawable/ic_action_settings_dark"
android:focusable="false" android:focusable="false"
android:gravity="center_vertical" android:gravity="center_vertical" />
/>
</LinearLayout> </LinearLayout>

View file

@ -4,7 +4,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="7dp" android:paddingLeft="7dp"
android:paddingRight="7dp" android:paddingRight="7dp"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
@ -18,27 +18,24 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp" />
/>
</TableRow> </TableRow>
<TableRow <TableRow
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/osmo_edit_color" > android:text="@string/osmo_edit_color"></TextView>
</TextView>
<Spinner <Spinner
android:id="@+id/ColorSpinner" android:id="@+id/ColorSpinner"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp"></Spinner>
</Spinner>
</TableRow> </TableRow>
</TableLayout> </TableLayout>

View file

@ -1,17 +1,41 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingLeft="3dp" android:layout_width="fill_parent"
android:paddingRight="3dp" android:stretchColumns="1"> android:layout_height="wrap_content"
<TableRow > android:paddingLeft="3dp"
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingRight="3dp"
android:text="@string/favourites_edit_dialog_name"/> android:stretchColumns="1">
<EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingLeft="3dp"
android:id="@+id/Name" android:inputType="textCapWords" android:selectAllOnFocus="true"/>
</TableRow>
<TableRow> <TableRow>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/favourites_edit_dialog_category"/> <TextView
<AutoCompleteTextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingLeft="3dp" android:layout_width="wrap_content"
android:id="@+id/Category" android:completionThreshold="1" android:inputType="textCapWords" android:selectAllOnFocus="true"/> android:layout_height="wrap_content"
android:text="@string/favourites_edit_dialog_name" />
<EditText
android:id="@+id/Name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textCapWords"
android:paddingLeft="3dp"
android:selectAllOnFocus="true" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/favourites_edit_dialog_category" />
<AutoCompleteTextView
android:id="@+id/Category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:completionThreshold="1"
android:inputType="textCapWords"
android:paddingLeft="3dp"
android:selectAllOnFocus="true" />
</TableRow> </TableRow>
</TableLayout> </TableLayout>

View file

@ -1,21 +1,38 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:paddingTop="5dp"> android:paddingTop="5dp">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> <LinearLayout
<CheckBox android:id="@+id/check_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="wrap_content"
android:gravity="center_vertical" android:focusable="false" android:visibility="gone"/> android:layout_height="wrap_content">
<CheckBox
android:id="@+id/check_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:focusable="false"
android:visibility="gone" />
</LinearLayout> </LinearLayout>
<ImageView android:id="@+id/favourite_icon" android:layout_width="25dp" <ImageView
android:paddingRight="2dp" android:paddingTop="2dp" android:layout_height="fill_parent" /> android:id="@+id/favourite_icon"
android:layout_width="25dp"
android:paddingRight="2dp"
android:paddingTop="2dp"
android:layout_height="fill_parent" />
<TextView android:id="@+id/favourite_label" android:layout_width="wrap_content" android:layout_marginLeft="10dp" <TextView
android:layout_height="wrap_content" style="@style/ListText"/> android:id="@+id/favourite_label"
android:layout_width="wrap_content"
android:layout_marginLeft="10dp"
android:layout_height="wrap_content"
style="@style/ListText" />
</LinearLayout> </LinearLayout>

View file

@ -2,6 +2,6 @@
<android.opengl.GLSurfaceView xmlns:android="http://schemas.android.com/apk/res/android" <android.opengl.GLSurfaceView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/glSurfaceView" android:id="@+id/glSurfaceView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
</android.opengl.GLSurfaceView> </android.opengl.GLSurfaceView>

View file

@ -6,17 +6,16 @@
android:paddingBottom="4dp" android:paddingBottom="4dp"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:paddingTop="4dp" > android:paddingTop="4dp">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<FrameLayout <FrameLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp">
>
<ImageView <ImageView
android:id="@+id/icon" android:id="@+id/icon"
@ -32,8 +31,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginRight="3dp" android:layout_marginRight="3dp"
android:layout_marginLeft="2dp" > android:layout_marginLeft="2dp"></TextView>
</TextView>
</FrameLayout> </FrameLayout>
<TextView <TextView
@ -44,8 +42,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_gravity="center_vertical" > android:layout_gravity="center_vertical"></TextView>
</TextView>
</LinearLayout> </LinearLayout>
<TextView <TextView
@ -54,7 +51,6 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:maxLines="25" > android:maxLines="25"></TextView>
</TextView>
</LinearLayout> </LinearLayout>

View file

@ -16,9 +16,10 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/layer_poi" android:text="@string/layer_poi"
android:textSize="18sp" android:textSize="18sp"
android:layout_weight="1"/> android:layout_weight="1" />
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"> android:layout_height="fill_parent">

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/Text" android:id="@+id/Text"
@ -11,7 +11,6 @@
android:layout_marginLeft="20dip" android:layout_marginLeft="20dip"
android:layout_marginTop="12dip" android:layout_marginTop="12dip"
android:gravity="center_vertical" android:gravity="center_vertical"
android:textSize="20sp" > android:textSize="20sp"></TextView>
</TextView>
</LinearLayout> </LinearLayout>

View file

@ -3,7 +3,7 @@
android:id="@+id/bidforfixitemlayout" android:id="@+id/bidforfixitemlayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:background="@android:color/white" > android:background="@android:color/white">
<TextView <TextView
android:id="@+id/bffiText" android:id="@+id/bffiText"

View file

@ -15,8 +15,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
android:gravity="center" android:gravity="center"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical" />
/>
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
@ -28,18 +27,21 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/layer_poi" android:text="@string/layer_poi"
android:textSize="18sp" android:textSize="18sp"
android:textColor="@color/color_black" android:layout_weight="1"/> android:textColor="@color/color_black"
android:layout_weight="1" />
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:gravity="center_vertical"> android:gravity="center_vertical">
<ImageView android:id="@+id/icon_settings" <ImageView
android:id="@+id/icon_settings"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:visibility="gone" android:visibility="gone"
android:focusable="false"/> android:focusable="false" />
<CheckBox <CheckBox
android:id="@+id/check_item" android:id="@+id/check_item"
@ -47,8 +49,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="2dip" android:layout_marginRight="2dip"
android:button="@drawable/ic_btn_wocheckbox" android:button="@drawable/ic_btn_wocheckbox"
android:focusable="false" android:focusable="false" />
/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -14,8 +14,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
android:gravity="center" android:gravity="center"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical" />
/>
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
@ -27,26 +26,28 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="@string/layer_poi" android:text="@string/layer_poi"
style="@style/ListText" style="@style/ListText"
android:layout_weight="1"/> android:layout_weight="1" />
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:gravity="center_vertical"> android:gravity="center_vertical">
<ImageView android:id="@+id/icon_settings" <ImageView
android:id="@+id/icon_settings"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:visibility="gone" android:visibility="gone"
android:focusable="false"/> android:focusable="false" />
<!-- android:button="@drawable/ic_btn_wocheckbox" --> <!-- android:button="@drawable/ic_btn_wocheckbox" -->
<CheckBox <CheckBox
android:id="@+id/check_item" android:id="@+id/check_item"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="2dip" android:layout_marginRight="2dip"
android:focusable="false"/> android:focusable="false" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TextView <TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:textSize="20sp" android:textStyle="bold"> android:layout_height="wrap_content"
</TextView> android:textSize="20sp"
android:textStyle="bold"></TextView>

View file

@ -1,14 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
android:orientation="vertical">
<TextView android:id="@+id/DescriptionText" android:layout_width="fill_parent" android:layout_height="wrap_content" <TextView
android:layout_marginLeft="10dp" android:layout_marginTop="3dp" android:layout_marginBottom="5dp" android:id="@+id/DescriptionText"
android:layout_marginRight="10dp" android:text="@string/download_link_and_local_description"/> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="5dp"
android:layout_marginRight="10dp"
android:text="@string/download_link_and_local_description" />
<ExpandableListView <ExpandableListView
android:id="@android:id/list" android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="0dp" android:layout_height="0dp"
@ -17,7 +23,6 @@
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:layout_weight="1" android:layout_weight="1"
android:groupIndicator="@android:color/transparent" android:groupIndicator="@android:color/transparent"
style="@style/OsmandListView" > style="@style/OsmandListView"></ExpandableListView>
</ExpandableListView>
</LinearLayout> </LinearLayout>

View file

@ -1,19 +1,52 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:orientation="vertical" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:paddingTop="4dp" android:paddingBottom="4dp" android:paddingRight="8dp" android:paddingLeft="8dp"> android:layout_width="fill_parent"
android:orientation="vertical"
android:layout_height="wrap_content"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingRight="8dp"
android:paddingLeft="8dp">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> <LinearLayout
<LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent"> android:layout_width="fill_parent"
<CheckBox android:id="@+id/check_local_index" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_height="wrap_content">
android:gravity="center_vertical" android:focusable="false" />
</LinearLayout> <LinearLayout
<TextView android:id="@+id/local_index_name" android:gravity="center_vertical" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_weight="1" style="@style/ListText.Small"></TextView> android:layout_height="fill_parent">
<TextView android:id="@+id/local_index_size" android:layout_marginLeft="3dp" android:gravity="right" android:layout_width="wrap_content"
android:layout_height="wrap_content" style="@style/ListText.Small"></TextView> <CheckBox
android:id="@+id/check_local_index"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:focusable="false" />
</LinearLayout> </LinearLayout>
<TextView android:id="@+id/local_index_descr" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" <TextView
android:maxLines="25" style="@style/ListText.Small"></TextView> android:id="@+id/local_index_name"
android:gravity="center_vertical"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/ListText.Small"></TextView>
<TextView
android:id="@+id/local_index_size"
android:layout_marginLeft="3dp"
android:gravity="right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/ListText.Small"></TextView>
</LinearLayout>
<TextView
android:id="@+id/local_index_descr"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="25"
style="@style/ListText.Small"></TextView>
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
android:orientation="vertical">
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" <ListView
android:layout_marginLeft="3dp" android:layout_marginTop="3dp" android:layout_marginRight="3dp" ></ListView> android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="3dp"
android:layout_marginTop="3dp"
android:layout_marginRight="3dp"></ListView>
</LinearLayout> </LinearLayout>

View file

@ -1,7 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView android:id="@+id/local_openstreetmap_name" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="0dp" <TextView
android:layout_weight="1" style="@style/ListText.Small" android:layout_marginLeft="8dp"></TextView> android:id="@+id/local_openstreetmap_name"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
style="@style/ListText.Small"
android:layout_marginLeft="8dp"></TextView>
</LinearLayout> </LinearLayout>

View file

@ -2,17 +2,17 @@
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<FrameLayout <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:clipChildren="false" android:clipChildren="false"
android:keepScreenOn="true" android:keepScreenOn="true"
android:orientation="vertical" > android:orientation="vertical">
<ViewStub android:id="@+id/glSurfaceStub" <ViewStub
android:id="@+id/glSurfaceStub"
android:inflatedId="@+id/glSurfaceView" android:inflatedId="@+id/glSurfaceView"
android:layout="@layout/gl_surface" android:layout="@layout/gl_surface"
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -6,42 +6,52 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp"> android:paddingRight="8dp">
<ImageButton android:id="@+id/back"
<ImageButton
android:id="@+id/back"
android:focusable="false" android:focusable="false"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@null" android:background="@null"
android:layout_marginRight="10dp"/> android:layout_marginRight="10dp" />
<ImageView android:id="@+id/icon"
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="vertical" <LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"> android:layout_marginTop="10dp">
<TextView android:id="@+id/name"
<TextView
android:id="@+id/name"
android:textSize="16sp" android:textSize="16sp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
<TextView android:id="@+id/descr"
<TextView
android:id="@+id/descr"
android:textSize="12sp" android:textSize="12sp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"/> android:visibility="gone" />
</LinearLayout> </LinearLayout>
<CheckBox android:id="@+id/check" <CheckBox
android:id="@+id/check"
android:focusable="false" android:focusable="false"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"/> android:visibility="gone" />
</LinearLayout> </LinearLayout>

View file

@ -1,78 +1,241 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<net.osmand.access.AccessibleLayout xmlns:android="http://schemas.android.com/apk/res/android" <net.osmand.access.AccessibleLayout xmlns:android="http://schemas.android.com/apk/res/android"
class="net.osmand.access.AccessibleLayout" class="net.osmand.access.AccessibleLayout"
android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/background"> android:layout_width="match_parent"
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="match_parent"
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center_horizontal"> android:background="@drawable/background">
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:background="@drawable/status_bar"
android:orientation="horizontal" android:id="@+id/Headliner" android:layout_marginLeft="8dp" android:layout_marginRight="8dp"> <LinearLayout
<ImageView android:src="@drawable/icon_small" android:layout_marginLeft="4dp" android:layout_marginTop="4dp" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_width="wrap_content"/> android:layout_height="fill_parent"
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/AppName" android:orientation="vertical">
android:layout_marginLeft="2dp" android:layout_marginTop="3dp"
android:text="@string/app_name" android:textColor="#000000" android:typeface="serif" android:textSize="20sp"/> <LinearLayout
<TextView android:layout_height="wrap_content" android:layout_width="0dp" android:layout_weight="1" android:layout_width="fill_parent"
android:layout_marginLeft="12dp" android:layout_marginTop="3dp" android:layout_marginBottom="3dp" android:text="@string/app_version" android:gravity="right" android:layout_height="wrap_content"
android:textColor="#000000" android:typeface="serif" android:id="@+id/TextVersion" android:textSize="13sp"/> android:gravity="center_horizontal">
<ImageView android:id="@+id/HelpButton" android:clickable="true" android:layout_marginTop="7dp" android:layout_marginLeft="4dp"
<LinearLayout
android:id="@+id/Headliner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:background="@drawable/status_bar"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginTop="4dp"
android:src="@drawable/icon_small" />
<TextView
android:id="@+id/AppName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"
android:layout_marginTop="3dp"
android:text="@string/app_name"
android:textColor="#000000"
android:textSize="20sp"
android:typeface="serif" />
<TextView
android:id="@+id/TextVersion"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="12dp"
android:layout_marginTop="3dp"
android:layout_weight="1"
android:gravity="right"
android:text="@string/app_version"
android:textColor="#000000"
android:textSize="13sp"
android:typeface="serif" />
<ImageView
android:id="@+id/HelpButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginTop="7dp"
android:clickable="true"
android:contentDescription="@string/help" android:contentDescription="@string/help"
android:layout_height="wrap_content" android:layout_width="wrap_content" android:src="@drawable/help_icon" android:focusable="true"
android:focusable="true"/> android:src="@drawable/help_icon" />
<ImageView android:layout_marginRight="2dp" android:clickable="true" android:id="@+id/CloseButton"
<ImageView
android:id="@+id/CloseButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="0dp"
android:layout_marginRight="2dp"
android:layout_marginTop="7dp"
android:clickable="true"
android:contentDescription="@string/close" android:contentDescription="@string/close"
android:layout_marginTop="7dp" android:layout_height="wrap_content" android:layout_width="wrap_content" android:focusable="true"
android:layout_marginLeft="0dp" android:src="@drawable/headliner_close" android:focusable="true"/> android:src="@drawable/headliner_close" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="15dp"> <TableLayout
<LinearLayout android:id="@+id/MapButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true" android:layout_width="fill_parent"
android:layout_weight="3" android:layout_height="175dp" android:focusable="true"> android:layout_height="wrap_content">
<TableRow
android:layout_height="wrap_content"
android:layout_marginTop="15dp">
<LinearLayout
android:id="@+id/MapButton"
android:layout_height="175dp"
android:layout_weight="3"
android:background="@drawable/bg_leftr"
android:clickable="true"
android:focusable="true"
android:orientation="vertical">
<ImageView <ImageView
android:src="@drawable/button_icon_map" android:scaleType="center" android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="0dp"/> android:layout_height="0dp"
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center"> android:layout_gravity="center"
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1"
android:layout_gravity="center_horizontal|top" android:textSize="18sp" android:scaleType="center"
android:text="@string/map_Button" android:typeface="serif" android:textColor="#000000"/> android:src="@drawable/button_icon_map" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|top"
android:text="@string/map_Button"
android:textColor="#000000"
android:textSize="18sp"
android:typeface="serif" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<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:layout_weight="3" android:layout_height="175dp" android:focusable="true"> android:layout_height="fill_parent"
android:layout_weight="2" />
<LinearLayout
android:id="@+id/SearchButton"
android:layout_height="175dp"
android:layout_weight="3"
android:background="@drawable/bg_rightr"
android:clickable="true"
android:focusable="true"
android:orientation="vertical">
<ImageView <ImageView
android:src="@drawable/button_icon_search" android:scaleType="center" android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="0dp"/> android:layout_height="0dp"
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center"> android:layout_gravity="center"
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1"
android:layout_gravity="center_horizontal|top" android:textSize="18sp" android:scaleType="center"
android:text="@string/search_button" android:typeface="serif" android:textColor="#000000"/> android:src="@drawable/button_icon_search" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|top"
android:text="@string/search_button"
android:textColor="#000000"
android:textSize="18sp"
android:typeface="serif" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</TableRow> </TableRow>
<TableRow android:layout_height = "wrap_content" android:layout_marginTop="15dp">
<LinearLayout android:id="@+id/FavoritesButton" android:background="@drawable/bg_leftr" android:orientation="vertical" android:clickable="true" <TableRow
android:layout_weight="3" android:layout_height="175dp" android:focusable="true"> android:layout_height="wrap_content"
<ImageView android:id="@+id/FavoritesButtonImage" android:layout_marginTop="15dp">
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="0dp"/> <LinearLayout
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center"> android:id="@+id/FavoritesButton"
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/FavoritesButtonText" android:layout_height="175dp"
android:layout_gravity="center_horizontal|top" android:textSize="18sp" android:layout_weight="3"
android:text="@string/my_data_Button" android:typeface="serif" android:textColor="#000000"/> android:background="@drawable/bg_leftr"
android:clickable="true"
android:focusable="true"
android:orientation="vertical">
<ImageView
android:id="@+id/FavoritesButtonImage"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/button_icon_favorites" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center">
<TextView
android:id="@+id/FavoritesButtonText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|top"
android:text="@string/my_data_Button"
android:textColor="#000000"
android:textSize="18sp"
android:typeface="serif" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<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:layout_weight="3" android:layout_height="175dp" android:focusable="true"> android:layout_height="fill_parent"
<ImageView android:id="@+id/SettingsButtonImage" android:layout_weight="2" />
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="0dp"/> <LinearLayout
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center"> android:id="@+id/SettingsButton"
<TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_height="175dp"
android:layout_gravity="center_horizontal|top" android:textSize="18sp" android:id="@+id/SettingsButtonText" android:layout_weight="3"
android:text="@string/settings_Button" android:typeface="serif" android:textColor="#000000"/> android:background="@drawable/bg_rightr"
android:clickable="true"
android:focusable="true"
android:orientation="vertical">
<ImageView
android:id="@+id/SettingsButtonImage"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:scaleType="center"
android:src="@drawable/button_icon_settings" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center">
<TextView
android:id="@+id/SettingsButtonText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|top"
android:text="@string/settings_Button"
android:textColor="#000000"
android:textSize="18sp"
android:typeface="serif" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</TableRow> </TableRow>

View file

@ -2,7 +2,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:orientation="horizontal"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:paddingTop="7dp" android:paddingTop="7dp"
android:paddingBottom="7dp"> android:paddingBottom="7dp">

View file

@ -1,29 +1,100 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res/net.osmand.plus" xmlns:custom="http://schemas.android.com/apk/res/net.osmand.plus"
android:layout_width="fill_parent" android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="vertical" android:gravity="center_horizontal"> android:layout_height="fill_parent">
<net.osmand.view.ExpandableLinearLayout custom:maxVisibleWidth="800dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" >
<TextView android:id="@+id/TextView" android:textSize="16sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" android:text="@string/navigate_point_top_text"></TextView>
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchColumns="1"> <LinearLayout
<TableRow android:layout_width="fill_parent" > android:layout_width="fill_parent"
<TextView android:textSize="20sp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:text="@string/navigate_point_latitude"></TextView> android:layout_height="wrap_content"
<EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/LatitudeEdit" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:inputType="phone"></EditText> android:orientation="vertical"
</TableRow> android:gravity="center_horizontal">
<TableRow android:layout_width="fill_parent" >
<TextView android:textSize="20sp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:text="@string/navigate_point_longitude"></TextView>
<EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/LongitudeEdit" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:inputType="phone"></EditText>
</TableRow>
<TableRow android:layout_width="fill_parent" >
<TextView android:textSize="20sp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:text="@string/navigate_point_format"></TextView>
<Spinner android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/Format" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" ></Spinner>
</TableRow>
<TextView android:id="@+id/ValidateTextView" android:textSize="16sp" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="" android:gravity="center" android:textColor="@color/color_invalid"></TextView>
</TableLayout>
</net.osmand.view.ExpandableLinearLayout> <net.osmand.view.ExpandableLinearLayout
</LinearLayout> custom:maxVisibleWidth="800dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/TextView"
android:textSize="16sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:text="@string/navigate_point_top_text"></TextView>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1">
<TableRow android:layout_width="fill_parent">
<TextView
android:textSize="20sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/navigate_point_latitude"></TextView>
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/LatitudeEdit"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:inputType="phone"></EditText>
</TableRow>
<TableRow android:layout_width="fill_parent">
<TextView
android:textSize="20sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/navigate_point_longitude"></TextView>
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/LongitudeEdit"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:inputType="phone"></EditText>
</TableRow>
<TableRow android:layout_width="fill_parent">
<TextView
android:textSize="20sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/navigate_point_format"></TextView>
<Spinner
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/Format"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"></Spinner>
</TableRow>
<TextView
android:id="@+id/ValidateTextView"
android:textSize="16sp"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=""
android:gravity="center"
android:textColor="@color/color_invalid"></TextView>
</TableLayout>
</net.osmand.view.ExpandableLinearLayout>
</LinearLayout>
</ScrollView> </ScrollView>

View file

@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout" android:id="@+id/layout"
android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_width="fill_parent"
android:orientation="vertical" android:background="@color/color_black"> android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@color/color_black">
<net.osmand.access.NotificationTextView android:id="@+id/message" <net.osmand.access.NotificationTextView
android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:id="@+id/message"
android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="4dp"
android:textSize="18sp" android:gravity="fill_horizontal"/> android:layout_marginRight="4dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:textSize="18sp"
android:gravity="fill_horizontal" />
</LinearLayout> </LinearLayout>

View file

@ -1,44 +1,53 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:layout_marginLeft="5dp"
<TextView
android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/osb_comment_dialog_message"/> android:text="@string/osb_comment_dialog_message" />
<EditText android:id="@+id/BugMessage"
<EditText
android:id="@+id/BugMessage"
android:minLines="1" android:minLines="1"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:inputType="textMultiLine"/> android:inputType="textMultiLine" />
<TextView android:layout_marginLeft="5dp" <TextView
android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/osb_comment_dialog_author"/> android:text="@string/osb_comment_dialog_author" />
<EditText android:id="@+id/AuthorName"
<EditText
android:id="@+id/AuthorName"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:text="NoName"/> android:text="NoName" />
<TextView android:layout_marginLeft="5dp" <TextView
android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/osb_author_dialog_password"/> android:text="@string/osb_author_dialog_password" />
<EditText android:id="@+id/Password"
<EditText
android:id="@+id/Password"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:inputType="textPassword"/> android:inputType="textPassword" />
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,31 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> -->
<!-- <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> --> <LinearLayout
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android"> android:layout_width="fill_parent"
<ListView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/ListView" /> android:layout_height="fill_parent"
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp"> android:orientation="vertical"
<TimePicker android:id="@+id/TimePickerStart" android:layout_width="wrap_content" android:layout_height="wrap_content"></TimePicker> xmlns:android="http://schemas.android.com/apk/res/android">
<TimePicker android:layout_marginLeft="5dp" android:id="@+id/TimePickerEnd" android:layout_width="wrap_content" android:layout_height="wrap_content"></TimePicker>
</LinearLayout> <ListView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/ListView" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp">
<TimePicker
android:id="@+id/TimePickerStart"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TimePicker>
<TimePicker
android:layout_marginLeft="5dp"
android:id="@+id/TimePickerEnd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TimePicker>
</LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -1,14 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView android:id="@+id/label" android:layout_weight="1" android:layout_width="0dp" <TextView
android:layout_height="wrap_content" android:textSize="20sp" /> android:id="@+id/label"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="20sp" />
<ImageButton android:id="@+id/remove" android:layout_width="wrap_content" android:background="?attr/reset_image" <ImageButton
android:id="@+id/remove"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_delete" android:contentDescription="@string/default_buttons_delete"
android:paddingLeft="2dp" android:paddingRight="2dp" android:paddingLeft="2dp"
android:paddingTop="2dp" android:layout_height="wrap_content" /> android:paddingRight="2dp"
android:paddingTop="2dp" />
</LinearLayout> </LinearLayout>

View file

@ -4,14 +4,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="7dp" android:paddingLeft="7dp"
android:paddingRight="7dp" android:paddingRight="7dp"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
<RadioGroup <RadioGroup
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_span="2" > android:layout_span="2">
<RadioButton <RadioButton
android:id="@+id/ConnectToDevice" android:id="@+id/ConnectToDevice"
@ -60,7 +60,9 @@
android:paddingLeft="3dp" /> android:paddingLeft="3dp" />
</TableRow> </TableRow>
<TableRow android:id="@+id/MyGroupName" android:visibility="gone"> <TableRow
android:id="@+id/MyGroupName"
android:visibility="gone">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent">
<TableLayout <TableLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="7dp" android:paddingLeft="7dp"
android:paddingRight="7dp" android:paddingRight="7dp"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
@ -81,6 +81,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="3dp" /> android:paddingLeft="3dp" />
</TableRow> </TableRow>
<TableRow> <TableRow>
<TextView <TextView

View file

@ -4,7 +4,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="7dp" android:paddingLeft="7dp"
android:paddingRight="7dp" android:paddingRight="7dp"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
@ -18,8 +18,7 @@
android:layout_width="180dp" android:layout_width="180dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp">
android:text="" >
<requestFocus /> <requestFocus />
</EditText> </EditText>
@ -27,21 +26,19 @@
<TableRow <TableRow
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/osmo_edit_color" > android:text="@string/osmo_edit_color" />
</TextView>
<Spinner <Spinner
android:id="@+id/ColorSpinner" android:id="@+id/ColorSpinner"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp" />
</Spinner>
</TableRow> </TableRow>
</TableLayout> </TableLayout>

View file

@ -6,7 +6,7 @@
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:paddingLeft="3dp" android:paddingLeft="3dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:paddingTop="5dp" > android:paddingTop="5dp">
<ImageView <ImageView
android:id="@+id/explist_indicator" android:id="@+id/explist_indicator"
@ -25,16 +25,14 @@
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:layout_weight="1" android:layout_weight="1"
android:textSize="18sp" > android:textSize="18sp" />
</TextView>
<include layout="@layout/check_item_rel" /> <include layout="@layout/check_item_rel" />
<RelativeLayout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_gravity="center_vertical" > android:layout_gravity="center_vertical">
<ImageView <ImageView
android:id="@+id/settings" android:id="@+id/settings"

View file

@ -6,7 +6,7 @@
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="4dp" android:paddingRight="4dp"
android:paddingTop="5dp" > android:paddingTop="5dp">
<ImageView <ImageView
android:id="@+id/osmo_user_icon" android:id="@+id/osmo_user_icon"
@ -29,8 +29,7 @@
style="@style/ListText.Small" style="@style/ListText.Small"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp" />
/>
<!-- <include layout="@layout/check_item" /> --> <!-- <include layout="@layout/check_item" /> -->

View file

@ -2,10 +2,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" android:orientation="vertical">
>
<include layout="@layout/osmo_groups_list_header" />
<include layout="@layout/osmo_groups_list_header"/>
<ExpandableListView <ExpandableListView
android:id="@android:id/list" android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -15,7 +15,6 @@
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:layout_weight="1" android:layout_weight="1"
android:groupIndicator="@android:color/transparent" android:groupIndicator="@android:color/transparent"
style="@style/OsmandListView"> style="@style/OsmandListView" />
</ExpandableListView>
</LinearLayout> </LinearLayout>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<TextView <TextView
android:id="@+id/osmo_no_connection_msg" android:id="@+id/osmo_no_connection_msg"

View file

@ -6,12 +6,12 @@
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" > android:orientation="horizontal">
<ImageView <ImageView
android:id="@+id/osmo_status" android:id="@+id/osmo_status"
@ -36,7 +36,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:layout_marginTop="3dp" > android:layout_marginTop="3dp">
<TextView <TextView
android:id="@+id/osmo_user_name_text_view" android:id="@+id/osmo_user_name_text_view"

View file

@ -6,40 +6,49 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/color_black"> android:background="@color/color_black">
<TextView android:id="@+id/point_name" <TextView
android:id="@+id/point_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:textSize="16sp" android:textSize="16sp"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:layout_marginBottom="2dp" android:layout_marginBottom="2dp"
android:textStyle="bold"/> android:textStyle="bold" />
<TextView android:id="@+id/point_id" <TextView
android:id="@+id/point_id"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"/> android:visibility="gone" />
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView android:layout_width="wrap_content"
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:text="@string/package_delivered"/> android:text="@string/package_delivered" />
<Button android:id="@+id/delivered_yes"
<Button
android:id="@+id/delivered_yes"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:text="@string/default_buttons_yes"/> android:text="@string/default_buttons_yes" />
<Button android:id="@+id/delivered_no"
<Button
android:id="@+id/delivered_no"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:text="@string/default_buttons_no"/> android:text="@string/default_buttons_no" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<TextView <TextView
android:id="@+id/parkTime" android:id="@+id/parkTime"
@ -15,7 +15,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_gravity="center_horizontal" > android:layout_gravity="center_horizontal">
<TextView <TextView
android:id="@+id/textView1" android:id="@+id/textView1"

View file

@ -2,12 +2,12 @@
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" > android:gravity="center_horizontal">
<TableRow <TableRow
android:id="@+id/tableRow1" android:id="@+id/tableRow1"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<ImageButton <ImageButton
android:id="@+id/parking_no_lim_button" android:id="@+id/parking_no_lim_button"
@ -31,7 +31,7 @@
<TableRow <TableRow
android:id="@+id/tableRow2" android:id="@+id/tableRow2"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/parking_lim_text" android:id="@+id/parking_lim_text"

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<ScrollView <ScrollView
@ -17,9 +17,17 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:id="@+id/RouteTargets" > android:id="@+id/RouteTargets">
<TextView android:id="@+id/ValidateTextView" android:textSize="16sp" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:text="" android:gravity="center" android:textColor="@color/color_invalid"></TextView> <TextView
android:id="@+id/ValidateTextView"
android:textSize="16sp"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=""
android:gravity="center"
android:textColor="@color/color_invalid"></TextView>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -32,27 +40,26 @@
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:text="@string/route_from" android:text="@string/route_from"
android:textSize="18sp" > android:textSize="18sp"></TextView>
</TextView>
<Spinner <Spinner
android:id="@+id/FromSpinner" android:id="@+id/FromSpinner"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:textSize="18sp" > android:textSize="18sp"></Spinner>
</Spinner>
</LinearLayout> </LinearLayout>
<LinearLayout android:layout_width="fill_parent" <LinearLayout
android:layout_height="wrap_content" > android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/ViaView" android:id="@+id/ViaView"
@ -66,14 +73,14 @@
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:text="@string/route_to" android:text="@string/route_to"
android:textSize="18sp" > android:textSize="18sp">
</TextView> </TextView>
@ -82,20 +89,24 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:textSize="18sp" > android:textSize="18sp"></Spinner>
</Spinner>
</LinearLayout> </LinearLayout>
<View android:layout_width="fill_parent"
<View
android:layout_width="fill_parent"
android:layout_height="2dip" android:layout_height="2dip"
android:background="#FFC8C8C8" /> android:background="#FFC8C8C8" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
<LinearLayout android:layout_width="fill_parent"
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:gravity="center" android:gravity="center"
android:id="@+id/RouteInfoControls" > android:id="@+id/RouteInfoControls">
<ImageButton <ImageButton
android:id="@+id/Prev" android:id="@+id/Prev"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -103,8 +114,8 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:background="@drawable/map_btn_plain" android:background="@drawable/map_btn_plain"
android:contentDescription="@string/previous_button" android:contentDescription="@string/previous_button"
android:src="@drawable/ax_1_navigation_previous_item_light" android:src="@drawable/ax_1_navigation_previous_item_light" />
/>
<ImageButton <ImageButton
android:id="@+id/Info" android:id="@+id/Info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -113,8 +124,8 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:background="@drawable/map_btn_plain" android:background="@drawable/map_btn_plain"
android:contentDescription="@string/info_button" android:contentDescription="@string/info_button"
android:src="@drawable/ax_2_action_about_light" android:src="@drawable/ax_2_action_about_light" />
/>
<ImageButton <ImageButton
android:id="@+id/Next" android:id="@+id/Next"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -123,16 +134,16 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:background="@drawable/map_btn_plain" android:background="@drawable/map_btn_plain"
android:contentDescription="@string/next_button" android:contentDescription="@string/next_button"
android:src="@drawable/ax_1_navigation_next_item_light" android:src="@drawable/ax_1_navigation_next_item_light" />
/>
</LinearLayout> </LinearLayout>
<Button android:id="@+id/SimulateRoute"
<Button
android:id="@+id/SimulateRoute"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:drawableLeft="@drawable/ic_action_play_dark" android:drawableLeft="@drawable/ic_action_play_dark"
android:text="@string/animate_route" android:text="@string/animate_route" />
/>
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/TopBar" android:id="@+id/TopBar"
@ -21,8 +21,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:text="@string/gpx_navigation" android:text="@string/gpx_navigation"
android:textSize="18sp" > android:textSize="18sp"></TextView>
</TextView>
<Spinner <Spinner
android:id="@+id/GPXRouteSpinner" android:id="@+id/GPXRouteSpinner"
@ -30,8 +29,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:textSize="18sp" > android:textSize="18sp"></Spinner>
</Spinner>
</LinearLayout> </LinearLayout>
<ListView <ListView
@ -39,7 +37,6 @@
style="@style/OsmandListView" style="@style/OsmandListView"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent"></ListView>
</ListView>
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
android:orientation="vertical">
<TextView android:id="@+id/Label" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:text="@string/select_plugin_to_activate"></TextView> <TextView
android:id="@+id/Label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/select_plugin_to_activate"></TextView>
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_weight="1" android:layout_height="0dp" <ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_height="0dp"
android:layout_marginTop="10dp"></ListView> android:layout_marginTop="10dp"></ListView>
</LinearLayout> </LinearLayout>

View file

@ -2,44 +2,53 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:background="?attr/expandable_category_color"
android:paddingTop="6dp"
android:paddingBottom="3dp"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="5dp" android:background="?attr/expandable_category_color"
> android:paddingBottom="3dp"
<CheckBox android:id="@+id/check_item" android:focusable="false" android:gravity="top" android:paddingTop="6dp">
<LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:paddingLeft="5dp">
<CheckBox
android:id="@+id/check_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"
android:gravity="top" />
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/plugin_name" android:id="@+id/plugin_name"
style="@style/ListText"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="top" android:gravity="top"
android:textStyle="bold" android:paddingRight="10dp"
android:text="@string/extra_settings"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
style="@style/ListText" android:text="@string/extra_settings" android:textStyle="bold" />
android:paddingRight="10dp">
</TextView>
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/plugin_descr" android:id="@+id/plugin_descr"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"
android:maxLines="7" android:maxLines="7"
android:paddingBottom="5dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="5dp"
android:text="@string/osmand_extra_settings_description" android:text="@string/osmand_extra_settings_description"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:textSize="14sp" android:textSize="14sp"
android:paddingRight="10dp" android:visibility="gone">
android:paddingLeft="10dp"
android:paddingTop="5dp"
android:paddingBottom="5dp">
</TextView> </TextView>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" > android:layout_height="match_parent">
<WebView <WebView
android:id="@+id/printDialogWebview" android:id="@+id/printDialogWebview"

View file

@ -8,7 +8,7 @@
android:id="@+id/header2" android:id="@+id/header2"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/quickaction_top_frame"/> android:background="@drawable/quickaction_top_frame" />
<ImageView <ImageView
android:id="@+id/arrow_up" android:id="@+id/arrow_up"

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:orientation="vertical" > android:orientation="vertical">
<TextView <TextView
android:id="@+id/cumulative_distance" android:id="@+id/cumulative_distance"
@ -29,7 +29,7 @@
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:orientation="vertical" > android:orientation="vertical">
<TextView <TextView
android:id="@+id/distance" android:id="@+id/distance"
@ -47,7 +47,6 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:text="" > android:text=""></TextView>
</TextView>
</LinearLayout> </LinearLayout>

View file

@ -4,12 +4,14 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView android:id="@+id/point_icon"
<ImageView
android:id="@+id/point_icon"
android:layout_width="32dp" android:layout_width="32dp"
android:padding="3dp" android:padding="3dp"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical" />
<TextView <TextView
android:id="@+id/name" android:id="@+id/name"
@ -18,13 +20,13 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:layout_weight="1"/> android:layout_weight="1" />
<TextView <TextView
android:id="@+id/date_or_distance" android:id="@+id/date_or_distance"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical" />
</LinearLayout> </LinearLayout>

View file

@ -5,29 +5,35 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> <LinearLayout
<TextView android:id="@+id/gpx_name" android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/gpx_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:ellipsize="end" android:ellipsize="end"
android:textSize="20sp"/> android:textSize="20sp" />
<TextView android:id="@+id/points_count" <TextView
android:id="@+id/points_count"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:minWidth="16dp" android:minWidth="16dp"
android:textSize="20sp"/> android:textSize="20sp" />
</LinearLayout> </LinearLayout>
<ListView android:id="@android:id/list" <ListView
android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:choiceMode="singleChoice" android:choiceMode="singleChoice"
style="@style/OsmandListView"/> style="@style/OsmandListView" />
</LinearLayout> </LinearLayout>

View file

@ -1,16 +1,54 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_width="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:orientation="vertical">
<TextView android:text="@string/file_with_name_already_exist" android:id="@+id/DuplicateFileName" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content" <TextView
android:visibility="gone"/> android:text="@string/file_with_name_already_exist"
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="3dp"> android:id="@+id/DuplicateFileName"
<TextView android:text="@string/filename_input" android:layout_marginLeft="5dp" android:layout_width="wrap_content" android:layout_height="wrap_content"/> android:layout_marginLeft="5dp"
<EditText android:id="@+id/FileNameEdit" android:layout_marginLeft="5dp" android:layout_width="fill_parent" android:layout_height="wrap_content"/> android:layout_width="fill_parent"
</LinearLayout> android:layout_height="wrap_content"
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:visibility="gone" />
android:gravity="bottom|center" android:layout_marginTop="5dp">
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_cancel" android:id="@+id/Cancel"></Button> <LinearLayout
<Button android:layout_width="125dp" android:layout_height="wrap_content" android:text="@string/default_buttons_save" android:id="@+id/Save"></Button> android:layout_width="fill_parent"
</LinearLayout> android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="3dp">
<TextView
android:text="@string/filename_input"
android:layout_marginLeft="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/FileNameEdit"
android:layout_marginLeft="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:gravity="bottom|center"
android:layout_marginTop="5dp">
<Button
android:layout_width="125dp"
android:layout_height="wrap_content"
android:text="@string/default_buttons_cancel"
android:id="@+id/Cancel"></Button>
<Button
android:layout_width="125dp"
android:layout_height="wrap_content"
android:text="@string/default_buttons_save"
android:id="@+id/Save"></Button>
</LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -2,132 +2,120 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res/net.osmand.plus" xmlns:custom="http://schemas.android.com/apk/res/net.osmand.plus"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="vertical" > android:orientation="vertical">
<net.osmand.view.ExpandableLinearLayout <net.osmand.view.ExpandableLinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
custom:maxVisibleWidth="800dp" > custom:maxVisibleWidth="800dp">
<TableLayout <TableLayout
android:id="@+id/TableLayout" android:id="@+id/TableLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow <TableRow
android:id="@+id/TableRow" android:id="@+id/TableRow"
android:layout_marginLeft="5dp" > android:layout_marginLeft="5dp">
<TextView <TextView
android:id="@+id/TextView" android:id="@+id/TextView"
android:text="@string/search_address_region" > android:text="@string/search_address_region" />
</TextView>
<Button <Button
android:id="@+id/CountryButton" android:id="@+id/CountryButton"
android:text="@string/ChooseCountry"
android:scrollHorizontally="true"
android:lines="1"
android:ellipsize="end"
android:layout_width="150dp" android:layout_width="150dp"
/> android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/ChooseCountry" />
<ImageButton <ImageButton
android:id="@+id/ResetCountry" android:id="@+id/ResetCountry"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:background="?attr/reset_image" android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_reset" > android:contentDescription="@string/default_buttons_reset" />
</ImageButton>
</TableRow> </TableRow>
<TableRow <TableRow
android:id="@+id/TableRow" android:id="@+id/TableRow"
android:layout_marginLeft="5dp" > android:layout_marginLeft="5dp">
<TextView <TextView
android:id="@+id/TextView" android:id="@+id/TextView"
android:text="@string/search_address_city" > android:text="@string/search_address_city" />
</TextView>
<Button <Button
android:id="@+id/CityButton" android:id="@+id/CityButton"
android:text="@string/choose_city"
android:scrollHorizontally="true"
android:lines="1"
android:ellipsize="end"
android:layout_width="150dp" android:layout_width="150dp"
/> android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_city" />
<ImageButton <ImageButton
android:id="@+id/ResetCity" android:id="@+id/ResetCity"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:background="?attr/reset_image" android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_reset" > android:contentDescription="@string/default_buttons_reset" />
</ImageButton>
</TableRow> </TableRow>
<TableRow <TableRow
android:id="@+id/TableRow" android:id="@+id/TableRow"
android:layout_marginLeft="5dp" > android:layout_marginLeft="5dp">
<TextView <TextView
android:id="@+id/TextView" android:id="@+id/TextView"
android:text="@string/search_address_street" > android:text="@string/search_address_street" />
</TextView>
<Button <Button
android:id="@+id/StreetButton" android:id="@+id/StreetButton"
android:text="@string/choose_street"
android:scrollHorizontally="true"
android:lines="1"
android:ellipsize="end"
android:layout_width="150dp" android:layout_width="150dp"
/> android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_street" />
<ImageButton <ImageButton
android:id="@+id/ResetStreet" android:id="@+id/ResetStreet"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:background="?attr/reset_image" android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_reset" > android:contentDescription="@string/default_buttons_reset" />
</ImageButton>
</TableRow> </TableRow>
<TableRow <TableRow
android:id="@+id/TableRow" android:id="@+id/TableRow"
android:layout_marginLeft="5dp" > android:layout_marginLeft="5dp">
<TextView <TextView
android:id="@+id/BuildingText" android:id="@+id/BuildingText"
android:text="@string/search_address_building" > android:text="@string/search_address_building" />
</TextView>
<Button <Button
android:id="@+id/BuildingButton" android:id="@+id/BuildingButton"
android:text="@string/choose_building"
android:scrollHorizontally="true"
android:lines="1"
android:ellipsize="end"
android:layout_width="150dp" android:layout_width="150dp"
/> android:ellipsize="end"
android:lines="1"
android:scrollHorizontally="true"
android:text="@string/choose_building" />
<ImageButton <ImageButton
android:id="@+id/ResetBuilding" android:id="@+id/ResetBuilding"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:background="?attr/reset_image" android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_reset" > android:contentDescription="@string/default_buttons_reset" />
</ImageButton>
</TableRow> </TableRow>
</TableLayout> </TableLayout>
@ -137,22 +125,20 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_span="3" android:layout_span="3"
android:orientation="horizontal" > android:orientation="horizontal">
<RadioButton <RadioButton
android:id="@+id/RadioBuilding" android:id="@+id/RadioBuilding"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/search_address_building_option" > android:text="@string/search_address_building_option" />
</RadioButton>
<RadioButton <RadioButton
android:id="@+id/RadioIntersStreet" android:id="@+id/RadioIntersStreet"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:text="@string/search_address_street_option" > android:text="@string/search_address_street_option" />
</RadioButton>
</RadioGroup> </RadioGroup>
</net.osmand.view.ExpandableLinearLayout> </net.osmand.view.ExpandableLinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -2,14 +2,13 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
style="@style/OsmandListView" style="@style/OsmandListView"
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"></ListView>
</ListView>
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="horizontal"> android:layout_height="fill_parent"
<TextView android:id="@+id/distance_label" android:layout_marginLeft="5dp" android:orientation="horizontal">
android:layout_width="80dp" android:layout_height="wrap_content" android:gravity="left"
android:textSize="20sp"/> <TextView
<TextView android:id="@+id/label" android:layout_width="fill_parent" android:id="@+id/distance_label"
android:layout_height="wrap_content" android:textSize="20sp" /> android:layout_marginLeft="5dp"
android:layout_width="80dp"
android:layout_height="wrap_content"
android:gravity="left"
android:textSize="20sp" />
<TextView
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp" />
</LinearLayout> </LinearLayout>

View file

@ -2,21 +2,20 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/LinearLayout" android:id="@+id/LinearLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:layout_marginTop="5dp" > android:layout_marginTop="5dp">
<ProgressBar <ProgressBar
android:id="@+id/ProgressBar" android:id="@+id/ProgressBar"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="invisible"> android:visibility="invisible"></ProgressBar>
</ProgressBar>
<EditText <EditText
android:id="@+id/SearchText" android:id="@+id/SearchText"
@ -24,16 +23,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:hint="@string/hint_search_online" android:hint="@string/hint_search_online"
android:text="" > android:text=""></EditText>
</EditText>
<Button <Button
android:id="@+id/SearchButton" android:id="@+id/SearchButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minWidth="80dp" android:minWidth="80dp"
android:text="@string/search_button" > android:text="@string/search_button"></Button>
</Button>
</LinearLayout> </LinearLayout>
<ListView <ListView
@ -41,7 +38,6 @@
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"
style="@style/OsmandListView"> style="@style/OsmandListView"></ListView>
</ListView>
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="horizontal" > android:orientation="horizontal">
<TextView <TextView
android:id="@+id/distance_label" android:id="@+id/distance_label"
@ -16,6 +16,6 @@
android:id="@+id/label" android:id="@+id/label"
style="@style/ListText.Small" style="@style/ListText.Small"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>

View file

@ -1,25 +1,51 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"> android:layout_height="fill_parent"
android:orientation="vertical">
<!-- <!--
<LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:layout_marginTop="3dp" android:layout_marginRight="5dp" <LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:layout_marginTop="3dp" android:layout_marginRight="5dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView android:text="" android:id="@+id/Label" android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center"></TextView> <TextView android:text="" android:id="@+id/Label" android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center"></TextView>
</LinearLayout>
</LinearLayout>
--> -->
<LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5dp" android:layout_marginTop="1dp" android:layout_marginRight="3dp"> <LinearLayout
<ProgressBar android:id="@+id/ProgressBar" android:layout_width="wrap_content" android:layout_height="wrap_content"></ProgressBar> android:id="@+id/LinearLayout"
<EditText android:text="" android:id="@+id/SearchText" android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:inputType="textFilter"></EditText> android:layout_width="fill_parent"
<Button android:id="@+id/ResetButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:text="@string/default_buttons_reset"></Button> android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
</LinearLayout> android:layout_marginTop="1dp">
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" <ProgressBar
android:layout_marginLeft="3dp" android:layout_marginTop="3dp" android:layout_marginRight="3dp" style="@style/OsmandListView"></ListView> android:id="@+id/ProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/SearchText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="number" />
<Button
android:id="@+id/ResetButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:text="@string/default_buttons_reset" />
</LinearLayout>
<ListView
android:id="@android:id/list"
style="@style/OsmandListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
android:layout_marginTop="3dp" />
</LinearLayout> </LinearLayout>

View file

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" > android:orientation="horizontal">
<TextView <TextView
android:id="@+id/label" android:id="@+id/label"
@ -11,7 +11,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:layout_marginRight="3dp" android:layout_marginRight="3dp"
android:layout_weight="1"/> android:layout_weight="1" />
<ImageButton <ImageButton
android:id="@+id/remove" android:id="@+id/remove"

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TabHost <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:id="@android:id/tabhost"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -14,13 +14,14 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0"/> android:layout_weight="0" />
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:background="@drawable/ic_background_topofsearchactivities"> android:background="@drawable/ic_background_topofsearchactivities">
<TextView <TextView
android:id="@+id/textViewADesc" android:id="@+id/textViewADesc"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -29,20 +30,19 @@
android:background="@drawable/ic_background_tabinfotext" android:background="@drawable/ic_background_tabinfotext"
android:textColor="@color/color_white" android:textColor="@color/color_white"
android:text="@string/poi_search_desc" android:text="@string/poi_search_desc"
android:textAppearance="?android:attr/textAppearanceSmall"/> android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout> </LinearLayout>
<FrameLayout <FrameLayout
android:id="@android:id/tabcontent" android:id="@android:id/tabcontent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp" />
/>
<android.support.v4.view.ViewPager <android.support.v4.view.ViewPager
android:id="@+id/pager" android:id="@+id/pager"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"/> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
</TabHost> </TabHost>

View file

@ -2,5 +2,4 @@
<ImageView xmlns:android="http://schemas.android.com/apk/res/android" <ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/TabImage" android:id="@+id/TabImage" />
/>

View file

@ -1,28 +1,25 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- This file is at /res/layout/list.xml -->
<!-- This file is at /res/layout/list.xml -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RootLayout" android:id="@+id/RootLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" > android:orientation="horizontal">
<ProgressBar <ProgressBar
android:id="@+id/ProgressBar" android:id="@+id/ProgressBar"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" > android:layout_height="wrap_content" />
</ProgressBar>
<Button <Button
android:id="@+id/SearchTransportLevelButton" android:id="@+id/SearchTransportLevelButton"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" > android:layout_weight="1" />
</Button>
<TextView <TextView
android:id="@+id/SearchAreaText" android:id="@+id/SearchAreaText"
@ -35,7 +32,7 @@
android:id="@+id/RelativeLayout" android:id="@+id/RelativeLayout"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_gravity="center" > android:layout_gravity="center">
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
@ -43,16 +40,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_below="@+id/listView" android:layout_below="@+id/listView"
style="@style/OsmandListView"> style="@style/OsmandListView" />
</ListView>
<ListView <ListView
android:id="@+id/listView" android:id="@+id/listView"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
style="@style/OsmandListView" > style="@style/OsmandListView" />
</ListView>
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>

View file

@ -1,13 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView android:id="@+id/search_icon" android:layout_width="25dp" <ImageView
android:paddingLeft="2dp" android:paddingRight="2dp" android:id="@+id/search_icon"
android:paddingTop="2dp" android:layout_height="fill_parent" /> android:layout_width="25dp"
android:layout_height="fill_parent"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:paddingTop="2dp" />
<TextView android:id="@+id/label" android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" style="@style/ListText.Small"/> android:id="@+id/label"
style="@style/ListText.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>

View file

@ -1,17 +1,27 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- <TextView android:id="@+id/distance_label" android:layout_marginLeft="5dp" <!-- <TextView android:id="@+id/distance_label" android:layout_marginLeft="5dp"
android:layout_width="80dp" android:layout_height="fill_parent" android:gravity="left" android:layout_width="80dp" android:layout_height="fill_parent" android:gravity="left"
android:textSize="20sp"/> --> android:textSize="20sp"/> -->
<TextView android:id="@+id/label" android:layout_weight="1" android:layout_width="0dp" <TextView
android:layout_height="wrap_content" style="@style/ListText" /> android:id="@+id/label"
style="@style/ListText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<ImageButton android:id="@+id/remove" android:layout_width="wrap_content" android:background="?attr/reset_image" <ImageButton
android:id="@+id/remove"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/reset_image"
android:contentDescription="@string/default_buttons_delete" android:contentDescription="@string/default_buttons_delete"
android:paddingLeft="2dp" android:paddingRight="2dp" android:paddingLeft="2dp"
android:paddingTop="2dp" android:layout_height="wrap_content" /> android:paddingRight="2dp"
android:paddingTop="2dp" />
</LinearLayout> </LinearLayout>

View file

@ -1,9 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:paddingTop="3dp" android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="3dp" android:paddingBottom="3dp"
android:orientation="horizontal"> android:paddingTop="3dp">
<TextView android:id="@+id/NameLabel" android:layout_width="fill_parent"
android:layout_height="fill_parent" style="@style/ListText"/> <TextView
android:id="@+id/NameLabel"
style="@style/ListText"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout> </LinearLayout>

View file

@ -1,14 +1,36 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?> <!-- This file is at /res/layout/list.xml -->
<!-- This file is at /res/layout/list.xml -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent"
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/SearchFilterLayout" android:visibility="gone" android:orientation="vertical">
android:layout_marginLeft = "5dp" >
<TextView android:layout_width="wrap_content" android:text="@string/search_poi_filter" android:id="@+id/TextView" android:layout_height="wrap_content"/> <LinearLayout
<EditText android:layout_marginLeft = "5dp" android:layout_marginRight = "5dp" android:layout_width="fill_parent" android:text="" android:id="@+id/SearchFilter" android:layout_height="wrap_content"/> android:id="@+id/SearchFilterLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/search_poi_filter" />
<EditText
android:id="@+id/SearchFilter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:text="" />
</LinearLayout> </LinearLayout>
<ListView android:id="@android:id/list" android:layout_width="fill_parent"
android:layout_height="fill_parent" style="@style/OsmandListView"></ListView> <ListView
android:id="@android:id/list"
style="@style/OsmandListView"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout> </LinearLayout>

View file

@ -1,30 +1,41 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:paddingTop="5dp" android:layout_height="wrap_content"
android:paddingBottom="5dp" android:paddingBottom="5dp"
> android:paddingTop="5dp">
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingLeft="6dp" android:paddingLeft="6dp"
android:paddingRight="3dp"> android:paddingRight="3dp">
<ImageView android:id="@+id/poi_direction" android:layout_width="26dp" android:layout_height="26dp" <ImageView
/> android:id="@+id/poi_direction"
android:layout_width="26dp"
android:layout_height="26dp" />
<ImageView android:id="@+id/poi_icon" android:layout_width="26dp" android:layout_height="26dp" <ImageView
android:id="@+id/poi_icon"
android:layout_width="26dp"
android:layout_height="26dp"
android:layout_marginLeft="3dp" /> android:layout_marginLeft="3dp" />
</LinearLayout> </LinearLayout>
<LinearLayout android:layout_width="wrap_content" <LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:paddingRight="3dp"> android:paddingRight="3dp">
<TextView android:id="@+id/poi_label" android:layout_width="fill_parent" <TextView
android:layout_height="fill_parent" android:gravity="center_vertical" style="@style/ListText.Small"/> android:id="@+id/poi_label"
style="@style/ListText.Small"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical" />
</LinearLayout> </LinearLayout>

View file

@ -1,18 +1,32 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="fill_parent"
android:paddingTop="5dp" android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:orientation="horizontal"> android:paddingTop="5dp">
<ImageView android:id="@+id/folder_icon" android:layout_width="37dip" <ImageView
android:paddingLeft="8dp" android:paddingRight="8dp" android:id="@+id/folder_icon"
android:paddingTop="2dp" android:layout_height="fill_parent" />
<TextView android:id="@+id/folder_label" android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content" style="@style/ListText"/>
<ImageView android:id="@+id/folder_edit_icon"
android:paddingLeft="4dp" android:paddingRight="8dp" android:src="@android:drawable/ic_input_get"
android:layout_width="37dip" android:layout_width="37dip"
android:paddingTop="2dp" android:layout_height="fill_parent" /> android:layout_height="fill_parent"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="2dp" />
<TextView
android:id="@+id/folder_label"
style="@style/ListText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<ImageView
android:id="@+id/folder_edit_icon"
android:layout_width="37dip"
android:layout_height="fill_parent"
android:paddingLeft="4dp"
android:paddingRight="8dp"
android:paddingTop="2dp"
android:src="@android:drawable/ic_input_get" />
</LinearLayout> </LinearLayout>

View file

@ -4,7 +4,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="7dp" android:paddingLeft="7dp"
android:paddingRight="7dp" android:paddingRight="7dp"
android:stretchColumns="1" > android:stretchColumns="1">
<TableRow> <TableRow>
@ -18,27 +18,24 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp" />
/>
</TableRow> </TableRow>
<TableRow <TableRow
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/gpx_split_interval" > android:text="@string/gpx_split_interval"></TextView>
</TextView>
<Spinner <Spinner
android:id="@+id/Spinner" android:id="@+id/Spinner"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" > android:layout_marginRight="5dp"></Spinner>
</Spinner>
</TableRow> </TableRow>
</TableLayout> </TableLayout>

View file

@ -1,28 +1,67 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:stretchColumns="1"> android:layout_height="fill_parent"
<TextView android:id="@+id/DescriptionTextTop" android:layout_marginLeft="5dp" android:layout_marginBottom="5dp" android:stretchColumns="1">
style="@style/ListText" android:gravity="center_horizontal"
android:layout_height="wrap_content" android:text="@string/send_files_to_osm"></TextView> <TextView
android:id="@+id/DescriptionTextTop"
style="@style/ListText"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_marginLeft="5dp"
android:gravity="center_horizontal"
android:text="@string/send_files_to_osm" />
<TableRow android:layout_width="fill_parent"> <TableRow android:layout_width="fill_parent">
<TextView android:id="@+id/TextView" android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:text="@string/gpx_description_txt"></TextView> <TextView
<EditText android:text="" android:id="@+id/DescriptionText" android:minLines="3" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:id="@+id/TextView"
android:layout_height="wrap_content" android:layout_width="fill_parent"></EditText> android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/gpx_description_txt" />
<EditText
android:id="@+id/DescriptionText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:minLines="3"
android:text="" />
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent"> <TableRow android:layout_width="fill_parent">
<TextView android:id="@+id/TextView" android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:text="@string/gpx_tags_txt"></TextView> <TextView
<EditText android:id="@+id/TagsText" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:id="@+id/TextView"
android:layout_height="wrap_content" android:text="osmand" android:layout_width="fill_parent"></EditText> android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/gpx_tags_txt" />
<EditText
android:id="@+id/TagsText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:text="osmand" />
</TableRow> </TableRow>
<TableRow android:layout_width="fill_parent"> <TableRow android:layout_width="fill_parent">
<TextView android:id="@+id/TextView" android:layout_marginLeft="5dp"
android:layout_height="wrap_content" android:text="@string/gpx_visibility_txt"></TextView> <TextView
<Spinner android:id="@+id/Visibility" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:id="@+id/TextView"
android:layout_height="wrap_content" android:layout_width="fill_parent"></Spinner> android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/gpx_visibility_txt" />
<Spinner
android:id="@+id/Visibility"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" />
</TableRow> </TableRow>

View file

@ -1,5 +1,4 @@
<android.support.v4.widget.DrawerLayout <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -9,12 +8,13 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
<!-- The navigation drawer --> <!-- The navigation drawer -->
<ListView android:id="@+id/left_drawer" <ListView
android:id="@+id/left_drawer"
android:layout_width="240dp" android:layout_width="240dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:choiceMode="singleChoice" android:choiceMode="singleChoice"
android:divider="@drawable/divider" android:divider="@drawable/divider"
android:dividerHeight="1px" android:dividerHeight="1px"
android:background="@color/color_white"/> android:background="@color/color_white" />
</android.support.v4.widget.DrawerLayout> </android.support.v4.widget.DrawerLayout>

View file

@ -4,7 +4,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingTop="8dp" > android:paddingTop="8dp">
<ImageView <ImageView
android:id="@+id/Icon" android:id="@+id/Icon"

View file

@ -26,8 +26,7 @@
android:id="@+id/TourImage" android:id="@+id/TourImage"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:scaleType="centerCrop"> android:scaleType="centerCrop"></ImageView>
</ImageView>
<TextView <TextView
android:id="@+id/TourName" android:id="@+id/TourName"
@ -40,7 +39,7 @@
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:textColor="@color/color_white" android:textColor="@color/color_white"
android:textSize="23sp"/> android:textSize="23sp" />
</FrameLayout> </FrameLayout>
<TextView <TextView
@ -53,7 +52,7 @@
android:layout_weight="1" android:layout_weight="1"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="3" android:maxLines="3"
android:textSize="16sp"/> android:textSize="16sp" />
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -69,8 +68,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="14sp" android:textSize="14sp"
android:focusable="false" android:focusable="false" />
/>
</LinearLayout> </LinearLayout>

View file

@ -1,14 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent">
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:gravity="center_vertical|center_horizontal" android:gravity="center_vertical|center_horizontal"
android:orientation="horizontal" > android:orientation="horizontal">
<ProgressBar <ProgressBar
android:id="@+id/ProgressBar" android:id="@+id/ProgressBar"

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
@ -14,13 +13,13 @@
<ScrollView <ScrollView
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" > android:layout_height="fill_parent">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/color_white" android:background="@color/color_white"
android:orientation="vertical" > android:orientation="vertical">
<ImageView <ImageView
android:id="@+id/Icon" android:id="@+id/Icon"
@ -34,7 +33,7 @@
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:orientation="horizontal" > android:orientation="horizontal">
<TextView <TextView
android:id="@+id/HeaderText" android:id="@+id/HeaderText"

View file

@ -4,18 +4,20 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:orientation="horizontal" > android:orientation="horizontal">
<FrameLayout <FrameLayout
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_marginRight="8dp" > android:layout_marginRight="8dp">
<ImageView <ImageView
android:id="@+id/Icon" android:id="@+id/Icon"
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp"/> android:layout_height="48dp" />
</FrameLayout> </FrameLayout>
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View file

@ -2,13 +2,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="vertical" > android:orientation="vertical">
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
style="@style/OsmandListView"> style="@style/OsmandListView"></ListView>
</ListView>
</LinearLayout> </LinearLayout>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TabHost <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:id="@android:id/tabhost"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -14,7 +14,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:visibility="gone" > android:visibility="gone">
<RelativeLayout <RelativeLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -22,7 +22,7 @@
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:gravity="center_vertical|left" android:gravity="center_vertical|left"
android:orientation="horizontal" > android:orientation="horizontal">
<ProgressBar <ProgressBar
android:id="@+id/IndeterminateProgressBar" android:id="@+id/IndeterminateProgressBar"
@ -64,7 +64,7 @@
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal" > android:orientation="horizontal">
<ProgressBar <ProgressBar
android:id="@+id/DeterminateProgressBar" android:id="@+id/DeterminateProgressBar"
@ -86,21 +86,19 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0"/> android:layout_weight="0" />
<FrameLayout <FrameLayout
android:id="@android:id/tabcontent" android:id="@android:id/tabcontent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp" />
/>
<net.osmand.plus.CustomPager <net.osmand.plus.CustomPager
android:id="@+id/pager" android:id="@+id/pager"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"/> android:layout_weight="1" />
<Button <Button
android:id="@+id/DownloadButton" android:id="@+id/DownloadButton"

View file

@ -1,19 +1,51 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:orientation="vertical" > android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<net.osmand.access.ExplorableTextView android:text="" android:id="@+id/TipDescription" android:layout_marginLeft="4dp" android:scrollbars="vertical" <net.osmand.access.ExplorableTextView
android:layout_width="fill_parent" android:layout_height="0dp" android:layout_marginRight="4dp" android:layout_weight="1" android:id="@+id/TipDescription"
style="@style/ListText" android:gravity="fill_horizontal" style="@style/ListText"
/> android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_weight="1"
android:gravity="fill_horizontal"
android:scrollbars="vertical"
android:text="" />
<!-- <TextView android:text="@string/poi_dialog_other_tags_message" android:id="@+id/TextView" android:layout_marginLeft="5dp" <!-- <TextView android:text="@string/poi_dialog_other_tags_message" android:id="@+id/TextView" android:layout_marginLeft="5dp"
android:layout_width="fill_parent" android:layout_height="wrap_content" /> --> android:layout_width="fill_parent" android:layout_height="wrap_content" /> -->
<LinearLayout android:id="@+id/LinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" <LinearLayout
android:layout_marginTop = "15dp" android:orientation="horizontal" android:gravity="bottom|center"> android:id="@+id/LinearLayout"
<Button android:minWidth="70dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/previous_button" android:id="@+id/PreviousButton"></Button> android:layout_width="fill_parent"
<Button android:minWidth="70dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/next_button" android:id="@+id/NextButton"></Button> android:layout_height="wrap_content"
<Button android:minWidth="70dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/close" android:id="@+id/CloseButton"></Button> android:layout_marginTop="15dp"
android:gravity="bottom|center"
android:orientation="horizontal">
<Button
android:id="@+id/PreviousButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="70dp"
android:text="@string/previous_button" />
<Button
android:id="@+id/NextButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="70dp"
android:text="@string/next_button" />
<Button
android:id="@+id/CloseButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="70dp"
android:text="@string/close" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -7,25 +7,28 @@
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:paddingRight="8dp"> android:paddingRight="8dp">
<CheckBox android:id="@+id/check_download_item" <CheckBox
android:id="@+id/check_download_item"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center_vertical" android:gravity="center_vertical"
android:focusable="false"/> android:focusable="false" />
<TextView android:layout_width="0dp" <TextView
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/download_item" android:id="@+id/download_item"
android:gravity="center_vertical" android:gravity="center_vertical"
android:maxLines="7" android:maxLines="7"
android:layout_weight="1" android:layout_weight="1"
style="@style/ListText.Small"/> style="@style/ListText.Small" />
<TextView android:layout_width="wrap_content" <TextView
android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/download_descr" android:id="@+id/download_descr"
android:layout_marginLeft="3dp" android:layout_marginLeft="3dp"
android:gravity="right|center_vertical" android:gravity="right|center_vertical"
style="@style/ListText.Small"/> style="@style/ListText.Small" />
</LinearLayout> </LinearLayout>

View file

@ -8,14 +8,16 @@
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:minHeight="40dp" android:minHeight="40dp"
android:layout_marginRight="3dp"> android:layout_marginRight="3dp">
<ProgressBar <ProgressBar
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:id="@+id/ProgressBar" android:id="@+id/ProgressBar"
android:layout_marginLeft="4dp"/> android:layout_marginLeft="4dp" />
<TextView android:id="@+id/header_text" <TextView
android:id="@+id/header_text"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
@ -23,9 +25,10 @@
android:ellipsize="end" android:ellipsize="end"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_weight="1" android:layout_weight="1"
android:textSize="20sp"/> android:textSize="20sp" />
<include layout="@layout/check_item_rel" />
<include layout="@layout/check_item_rel"/>
<ImageView <ImageView
android:id="@+id/sort" android:id="@+id/sort"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -33,5 +36,5 @@
android:visibility="gone" android:visibility="gone"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"/> android:layout_marginRight="8dp" />
</LinearLayout> </LinearLayout>

View file

@ -7,16 +7,18 @@
android:background="@drawable/view_transparent_selection" android:background="@drawable/view_transparent_selection"
android:id="@+id/package_delivered_layout" android:id="@+id/package_delivered_layout"
android:minHeight="48dp" android:minHeight="48dp"
android:descendantFocusability="blocksDescendants" > android:descendantFocusability="blocksDescendants">
<ImageView android:id="@+id/waypoint_icon" <ImageView
android:id="@+id/waypoint_icon"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:src="@drawable/list_favorite" android:src="@drawable/list_favorite"
android:layout_height="25dp" android:layout_height="25dp"
android:layout_width="25dp" android:layout_width="25dp"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical" />
<TextView android:id="@+id/waypoint_dist" <TextView
android:id="@+id/waypoint_dist"
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
@ -26,7 +28,8 @@
android:textStyle="bold" android:textStyle="bold"
android:textSize="15sp"></TextView> android:textSize="15sp"></TextView>
<TextView android:id="@+id/waypoint_text" <TextView
android:id="@+id/waypoint_text"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
@ -34,9 +37,10 @@
android:ellipsize="end" android:ellipsize="end"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_weight="1" android:layout_weight="1"
android:textSize="18sp"/> android:textSize="18sp" />
<ImageButton android:id="@+id/all_points" <ImageButton
android:id="@+id/all_points"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/more" android:contentDescription="@string/more"
@ -44,9 +48,10 @@
android:visibility="gone" android:visibility="gone"
android:focusable="false" android:focusable="false"
style="@style/Widget.Sherlock.ActionButton" style="@style/Widget.Sherlock.ActionButton"
android:src="@drawable/ic_action_core_overflow_dark"/> android:src="@drawable/ic_action_core_overflow_dark" />
<ImageButton android:id="@+id/info_close" <ImageButton
android:id="@+id/info_close"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/close" android:contentDescription="@string/close"
@ -54,7 +59,7 @@
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
style="@style/Widget.Sherlock.ActionButton" style="@style/Widget.Sherlock.ActionButton"
android:focusable="false" android:focusable="false"
android:src="@drawable/ic_action_gremove_dark"/> android:src="@drawable/ic_action_gremove_dark" />
</LinearLayout> </LinearLayout>

View file

@ -7,7 +7,8 @@
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:layout_marginRight="3dp" android:layout_marginRight="3dp"
android:descendantFocusability="blocksDescendants" > android:descendantFocusability="blocksDescendants">
<ImageView <ImageView
android:id="@+id/back" android:id="@+id/back"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -15,9 +16,10 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:visibility="gone"/> android:visibility="gone" />
<TextView android:id="@+id/title" <TextView
android:id="@+id/title"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
@ -27,14 +29,15 @@
android:ellipsize="end" android:ellipsize="end"
android:layout_weight="1" android:layout_weight="1"
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:textSize="20sp"/> android:textSize="20sp" />
<ImageButton <ImageButton
android:id="@+id/sort" android:id="@+id/sort"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"/> android:layout_marginRight="8dp" />
<ImageButton <ImageButton
android:id="@+id/edit" android:id="@+id/edit"
@ -42,7 +45,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"/> android:layout_marginRight="8dp" />
<ImageButton <ImageButton
android:id="@+id/all" android:id="@+id/all"
@ -51,5 +54,5 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"/> android:layout_marginRight="8dp" />
</LinearLayout> </LinearLayout>

View file

@ -845,9 +845,8 @@ OsmAnd е с отворен код и активно да се развива.
\n\t* \'По посоката на движение\' - Картата ще се завърта в зависимост от вашата посока на движение. \n\t* \'По посоката на движение\' - Картата ще се завърта в зависимост от вашата посока на движение.
\n\t* \'По компаса\' - Картата ще бъде ориентирана по вградения компас. \n\t* \'По компаса\' - Картата ще бъде ориентирана по вградения компас.
</string> </string>
<string name="binary_map_download_success">Успешно сваляне <string name="binary_map_download_success">"Успешно сваляне
\n\t\n\tЗа използване \'Меню\' -&gt; \'Настройки на екрана\' -&gt; \'Карти…\' -&gt; \'Offline vector maps\'. \n\t\n\tЗа да използвате активирайте \'Меню\' → \'Настройки карта\' → \'Карта източник…\' → \'Offline векторни карти\'. "</string>
</string>
<string name="tip_day_night_mode">Дневен/нощен режим</string> <string name="tip_day_night_mode">Дневен/нощен режим</string>
<string name="tip_day_night_mode_t_v2">Можете да променяте изгледа на картата от дневен (ярък) към нощен (тъмен). Тъмният изглед е подходящ за безопасно шофиране нощем. <string name="tip_day_night_mode_t_v2">Можете да променяте изгледа на картата от дневен (ярък) към нощен (тъмен). Тъмният изглед е подходящ за безопасно шофиране нощем.
\n\nПревключването между дневен и нощен изглед можете да направите в \'Меню\' -&gt; \'Настройки на екрана…\' -&gt;\'Дневен/нощен изглед\'. \n\nПревключването между дневен и нощен изглед можете да направите в \'Меню\' -&gt; \'Настройки на екрана…\' -&gt;\'Дневен/нощен изглед\'.
@ -1018,7 +1017,7 @@ OsmAnd е с отворен код и активно да се развива.
<string name="gpx_option_reverse_route">Обръщане посоката на GPX</string> <string name="gpx_option_reverse_route">Обръщане посоката на GPX</string>
<string name="gpx_option_destination_point">Ползвай текущата крайна цел</string> <string name="gpx_option_destination_point">Ползвай текущата крайна цел</string>
<string name="gpx_option_from_start_point">Преминахте по целия маршрут</string> <string name="gpx_option_from_start_point">Преминахте по целия маршрут</string>
<string name="switch_to_vector_map_to_see">За този район има карта в офлайн режим.\n\t\n\tАктивирайте я от \'Меню\' -&gt; \'Настройки изглед\' -&gt; \'Карти…\' -&gt; \'Офлайн векторни карти\'.</string> <string name="switch_to_vector_map_to_see">За този район има карта в офлайн режим.\n\t\n\tАктивирайте я от \'Меню\' → \'Настройки карта\' → \'Карта източник…\' → \'Офлайн векторни карти\'.</string>
<string name="choose_audio_stream">Канал за гласовите напътствия</string> <string name="choose_audio_stream">Канал за гласовите напътствия</string>
<string name="choose_audio_stream_descr">Избор на звуков канал за гласовите напътствия (зависи от настройките на Вашето устройство)</string> <string name="choose_audio_stream_descr">Избор на звуков канал за гласовите напътствия (зависи от настройките на Вашето устройство)</string>
<string name="voice_stream_voice_call">Канал за гласови данни (за предпочитане)</string> <string name="voice_stream_voice_call">Канал за гласови данни (за предпочитане)</string>
@ -1652,7 +1651,7 @@ OsmAnd е с отворен код и активно да се развива.
<string name="routing_attr_weight_description">Изберете максималната разрешена маса (тегло) на МПС</string> <string name="routing_attr_weight_description">Изберете максималната разрешена маса (тегло) на МПС</string>
<string name="copying_osmand_files">Копиране файловете на OsmAnd</string> <string name="copying_osmand_files">Копиране файловете на OsmAnd</string>
<string name="app_mode_truck">Камион</string> <string name="app_mode_truck">Камион</string>
<string name="rendering_attr_publicTransportMode_name">Автобусни и тролейбусни линии</string> <string name="rendering_attr_publicTransportMode_name">Автобусни, тролейбусни, маршрутни линии</string>
<string name="record_plugin_name">Запис на Вашето пътуване</string> <string name="record_plugin_name">Запис на Вашето пътуване</string>
<string name="int_hour">ч.</string> <string name="int_hour">ч.</string>
<string name="duration">Продължителност</string> <string name="duration">Продължителност</string>
@ -1759,10 +1758,10 @@ OsmAnd е с отворен код и активно да се развива.
<string name="map_widget_left">Ляв панел</string> <string name="map_widget_left">Ляв панел</string>
<string name="layers_category_show">Покажи</string> <string name="layers_category_show">Покажи</string>
<string name="configure_map">Настройка на картата</string> <string name="configure_map">Настройка на картата</string>
<string name="rendering_attr_tramTrainRoutes_name">Трамваи и влакове</string> <string name="rendering_attr_tramTrainRoutes_name">Трамвайни и влакови маршрути</string>
<string name="lock_screen_request_explanation">%1$s изисква това разрешение за да изключи екрана с цел пестене на енергия.</string> <string name="lock_screen_request_explanation">%1$s изисква това разрешение за да изключи екрана с цел пестене на енергия.</string>
<string name="wake_on_voice">Включи екрана</string> <string name="wake_on_voice">Включи екрана</string>
<string name="wake_on_voice_descr">Включи екрана, когато приближава завой</string> <string name="wake_on_voice_descr">Включване на екрана на телефона, когато наближава завой</string>
<string name="wake_on_voice_never">Никога</string> <string name="wake_on_voice_never">Никога</string>
<string name="select_impassable_road">Избери на картата</string> <string name="select_impassable_road">Избери на картата</string>
<string name="impassable_road">Избягване на пътища…</string> <string name="impassable_road">Избягване на пътища…</string>
@ -1771,4 +1770,9 @@ OsmAnd е с отворен код и активно да се развива.
<string name="rendering_attr_busRoutes_name">Автобусни линии</string> <string name="rendering_attr_busRoutes_name">Автобусни линии</string>
<string name="rendering_attr_trainLightrailRoutes_name">Маршрути на влакове</string> <string name="rendering_attr_trainLightrailRoutes_name">Маршрути на влакове</string>
<string name="rendering_attr_trolleybusRoutes_name">Тролейбусни линии</string> <string name="rendering_attr_trolleybusRoutes_name">Тролейбусни линии</string>
<string name="tip_recent_changes_1_9_t">"Промени в версия 1.9: * Актуализирани карти със показване на пътната настилка, транспортни слоеве и туристически символи * Търсене POI по маршрута * Маркиране на пътя като непроходим за сесията * По лесно изтегляне и актуализиране на карти * Получаване на визуално и аудио уведомление при приближаване до точката * Показване на маршрута и информация към него * Поддръжка на пътни платна * Поддръжка на Android Wear * Много промени в потребителския интерфейс * Отделна настройка за големината на текста на картата * Специални аудио уведомления в случай че сте напуснали пътя * OsMo вход * Фикс в несъвместимоста на OsMo версията "</string>
<string name="rendering_attr_shareTaxiRoutes_name">Сподели пътя с такси</string>
<string name="search_radius_proximity">В близост до</string>
<string name="osmo_device_not_found">Устройството не е намерено</string>
<string name="osmo_no_connection_msg">OsMo услугата е недостъпна:\n- проверете връзката;\n- проверете настройките;\n- намерете ни в Twitter: https://twitter.com/OsMomobi</string>
</resources> </resources>

Some files were not shown because too many files have changed in this diff Show more