2013-08-10 17:35:20 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_height="fill_parent">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:orientation="vertical">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
|
|
|
|
android:stretchColumns="1">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TableRow>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit_tilesource_name" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/Name"
|
2013-08-10 17:44:27 +02:00
|
|
|
android:layout_width="180dp"
|
2013-08-10 17:35:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text="">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2013-08-10 17:35:20 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text="@string/edit_tilesource_choose_existing"></TextView>
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/TileSourceSpinner"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_marginRight="5dp"></Spinner>
|
2013-08-10 17:35:20 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit_tilesource_url_to_load" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/URLToLoad"
|
2013-08-10 17:44:27 +02:00
|
|
|
android:layout_width="180dp"
|
2013-08-10 17:35:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:lines="5"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:minLines="2"
|
|
|
|
android:text=""></EditText>
|
2013-08-10 17:35:20 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit_tilesource_minzoom" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/MinZoom"
|
2013-08-10 17:44:27 +02:00
|
|
|
android:layout_width="180dp"
|
2013-08-10 17:35:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text=""></EditText>
|
2013-08-10 17:35:20 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit_tilesource_maxzoom" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/MaxZoom"
|
2013-08-10 17:44:27 +02:00
|
|
|
android:layout_width="180dp"
|
2013-08-10 17:35:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text=""></EditText>
|
2013-08-10 17:35:20 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text="@string/edit_tilesource_expiration_time" />
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/ExpirationTime"
|
2013-08-10 17:44:27 +02:00
|
|
|
android:layout_width="180dp"
|
2013-08-10 17:35:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:text=""></EditText>
|
2013-08-10 17:35:20 +02:00
|
|
|
</TableRow>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2013-08-10 17:35:20 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/EllipticMercator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_span="2"
|
|
|
|
android:text="@string/edit_tilesource_elliptic_tile" />
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|