diff options
| author | rsudev <rasch@munin-soft.de> | 2012-10-27 00:17:31 +0200 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2012-11-03 23:24:18 +0100 |
| commit | f5343eac8a433b198d47057a112e4c92486906b3 (patch) | |
| tree | f4eda41be808315c30768ffc362689dec62fda72 /main/res/layout | |
| parent | c942e65f13579e96ef528f8a7641f3571ce963dd (diff) | |
| download | cgeo-f5343eac8a433b198d47057a112e4c92486906b3.zip cgeo-f5343eac8a433b198d47057a112e4c92486906b3.tar.gz cgeo-f5343eac8a433b198d47057a112e4c92486906b3.tar.bz2 | |
Implements #1676, custom themes
- Adds the selection of a base folder for map themes to settings
- Reworks the map menu to allow selection of a custom theme
- Implements a reusable version of listDir to get a list of files
Diffstat (limited to 'main/res/layout')
| -rw-r--r-- | main/res/layout/init.xml | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml index d0617fe..c2887e3 100644 --- a/main/res/layout/init.xml +++ b/main/res/layout/init.xml @@ -709,6 +709,31 @@ android:scrollHorizontally="true" android:inputType="textNoSuggestions" /> </LinearLayout> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:gravity="left" + android:padding="3dip" + android:textSize="14dip" + android:textColor="?text_color" + android:text="@string/init_rendertheme_folder" /> + <LinearLayout + android:id="@+id/init_themefilegroup" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + <Button style="@style/button_full" + android:id="@+id/select_themefolder" + android:text="@string/init_select_themefolder" + android:layout_width="wrap_content" /> + <EditText style="@style/edittext_full" + android:id="@+id/themefolder" + android:singleLine="true" + android:lines="1" + android:scrollHorizontally="true" + android:inputType="textNoSuggestions" /> + </LinearLayout> <!-- ** --> <RelativeLayout style="@style/separator_horizontal_layout" > <View style="@style/separator_horizontal" /> @@ -818,7 +843,6 @@ android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:layout_marginBottom="5dip" - android:layout_alignParentLeft="true" android:layout_gravity="left" android:padding="3dip" android:textSize="14dip" @@ -836,7 +860,6 @@ android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:layout_marginBottom="5dip" - android:layout_alignParentLeft="true" android:layout_gravity="left" android:padding="3dip" android:textSize="14dip" @@ -871,11 +894,11 @@ android:id="@+id/webDeviceName" android:singleLine="true" android:lines="1" - android:maxLength="15" + android:maxLength="15" android:scrollHorizontally="true" android:inputType="textNoSuggestions" /> <TextView - android:layout_width="wrap_content" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dip" android:layout_marginRight="10dip" |
