diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2015-01-22 20:36:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:36:41 +0300 |
commit | 7661789be16e678d1ff41c2a0d6d30e52388019d (patch) | |
tree | 8ab7ec960d7799014fc43ef83374384de95a5876 /android/res/layout | |
parent | 657918e9eab1b6414f82ba5622871a9329d23da0 (diff) |
Display like dialogs on the main activity
Diffstat (limited to 'android/res/layout')
-rw-r--r-- | android/res/layout/fragment_google_play_dialog.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/android/res/layout/fragment_google_play_dialog.xml b/android/res/layout/fragment_google_play_dialog.xml new file mode 100644 index 0000000000..07512f2003 --- /dev/null +++ b/android/res/layout/fragment_google_play_dialog.xml @@ -0,0 +1,70 @@ +<?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:orientation="vertical"> + + <TextView + android:id="@+id/tv__title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_small" + android:layout_marginLeft="@dimen/margin_medium_and_half" + android:layout_marginRight="@dimen/margin_medium_and_half" + android:layout_marginTop="@dimen/margin_medium_and_half" + android:fontFamily="@string/robotoMedium" + android:text="Do you like maps.me?" + android:textColor="@color/text_black_title" + android:textSize="20sp" + android:textStyle="bold"/> + + <TextView + android:id="@+id/tv__subtitle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_medium_and_half" + android:layout_marginLeft="@dimen/margin_medium_and_half" + android:layout_marginRight="@dimen/margin_medium_and_half" + android:fontFamily="@string/robotoRegular" + android:text="Please, tap a star to rate our app" + android:textColor="@color/text_black_subtitle" + android:textSize="14sp"/> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <RatingBar + android:id="@+id/rb__play_rate" + style="@style/MwmRatingBar" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:gravity="center_vertical" + android:numStars="5" + android:stepSize="1"/> + + <View + android:id="@+id/v__divider" + android:layout_width="match_parent" + android:layout_height="1px" + android:background="@color/downloader_gray" + android:visibility="gone"/> + + <Button + android:id="@+id/btn__explain_bad_rating" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/clickableBackground" + android:drawableLeft="@drawable/ic_rate_send" + android:fontFamily="@string/robotoRegular" + android:gravity="center_vertical" + android:padding="@dimen/margin_medium" + android:text="Send feedback" + android:textColor="@color/text_black_title" + android:visibility="gone"/> + + + </RelativeLayout> + +</LinearLayout>
\ No newline at end of file |