Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Yunitsky <yunik@mapswithme.com>2015-01-22 15:39:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:36:40 +0300
commit131878a41f0717795544a9cb2db0e524514aaa7f (patch)
treeff19bf39305e7b159b0e6d52a80a0a35f0b87429 /android/res/layout
parent1d0013495ef20d6da03710baf4da9a7fb2c60fb8 (diff)
Add dialog to display Google+ button to upvote app.
Diffstat (limited to 'android/res/layout')
-rw-r--r--android/res/layout/fragment_google_plus_dialog.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/android/res/layout/fragment_google_plus_dialog.xml b/android/res/layout/fragment_google_plus_dialog.xml
new file mode 100644
index 0000000000..90a7d3311d
--- /dev/null
+++ b/android/res/layout/fragment_google_plus_dialog.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:padding="@dimen/margin_medium"
+ android:src="@drawable/ic_direction"/>
+
+ <TextView
+ style="@style/MwmText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:padding="@dimen/margin_small"
+ android:text="Enjoy app?"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:fontFamily="@string/robotoLight"
+ android:padding="@dimen/margin_small"
+ android:text="Tap on +1 button to recommend"/>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@android:color/darker_gray"/>
+
+ <com.google.android.gms.plus.PlusOneButton
+ android:id="@+id/btn__gplus"
+ xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/margin_small"
+ plus:annotation="inline"
+ plus:size="normal"/>
+
+</LinearLayout> \ No newline at end of file