aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorYraFyra <yrafyra@gmail.com>2012-11-04 23:10:38 +0100
committerYraFyra <yrafyra@gmail.com>2012-11-05 23:34:57 +0100
commiteafae66a89560918f186e92f7d24130b09004181 (patch)
tree1ffaae036fb89427768d52537b897232ad50f39d /main/res/layout
parent26954590cf375f0a0e968cd5197758a617cf3bb9 (diff)
downloadcgeo-eafae66a89560918f186e92f7d24130b09004181.zip
cgeo-eafae66a89560918f186e92f7d24130b09004181.tar.gz
cgeo-eafae66a89560918f186e92f7d24130b09004181.tar.bz2
Solved force close in SimpleDirChooser caused by bad default value
If no path is entered and SimpleDirChooser is opened then it will crash due to IndexOfOfBoundsExcep. This happened to me when trying to use map themes the first time ever today. Fixed minor layout issues releated to map themes.
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/init.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml
index 41e3aad..8450ff8 100644
--- a/main/res/layout/init.xml
+++ b/main/res/layout/init.xml
@@ -726,6 +726,9 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:layout_marginBottom="5dip"
android:layout_gravity="center_vertical"
android:gravity="left"
android:padding="3dip"