aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-07-25 11:41:13 +0200
committerrsudev <rasch@munin-soft.de>2013-07-25 11:41:13 +0200
commit8be80d1ba64788720a9ac325e072459b7ace4216 (patch)
tree4c5ea29718649d4b56ef9a63cc8a3e37e73484a5 /main/res/layout
parentbc4f10436c1528884749cca99bb8d5c9290c5e34 (diff)
downloadcgeo-8be80d1ba64788720a9ac325e072459b7ace4216.zip
cgeo-8be80d1ba64788720a9ac325e072459b7ace4216.tar.gz
cgeo-8be80d1ba64788720a9ac325e072459b7ace4216.tar.bz2
Implements #17, Reload reCAPTCHA
Took layout and ideas raised by @culmor30 Moved reCAPTCHA key and challenge retrieval to the RecaptchaReceiver
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/recaptcha_dialog.xml35
1 files changed, 25 insertions, 10 deletions
diff --git a/main/res/layout/recaptcha_dialog.xml b/main/res/layout/recaptcha_dialog.xml
index ac9f746..3cae1fa 100644
--- a/main/res/layout/recaptcha_dialog.xml
+++ b/main/res/layout/recaptcha_dialog.xml
@@ -4,16 +4,31 @@
android:layout_height="fill_parent"
android:orientation="vertical" >
- <ImageView
- android:id="@+id/image"
- android:layout_width="220dip"
- android:layout_height="42dip"
- android:layout_gravity="center"
- android:layout_marginBottom="5dip"
- android:layout_marginTop="5dip"
- android:gravity="center"
- android:scaleType="fitXY"
- android:src="@null" />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/image"
+ android:layout_width="220dip"
+ android:layout_height="42dip"
+ android:layout_gravity="center"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip"
+ android:scaleType="fitXY"
+ android:src="@null" />
+
+ <ImageButton
+ android:id="@+id/button_recaptcha_refresh"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ android:layout_gravity="center_vertical"
+ android:scaleType="centerInside"
+ android:src="@drawable/ic_menu_refresh" />
+
+ </LinearLayout>
<EditText
android:id="@+id/text"