| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="280dp" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center"> |
| |
| <ImageView |
| android:id="@+id/promo_dialog_image" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentTop="true" |
| tools:src="@drawable/stats_widget_promo_header" /> |
| |
| <LinearLayout |
| android:id="@+id/promo_dialog_text" |
| android:layout_width="280dp" |
| android:layout_height="wrap_content" |
| android:layout_below="@+id/promo_dialog_image" |
| android:orientation="vertical" |
| android:padding="24dp"> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/promo_dialog_title" |
| style="@style/StatsModuleTitle" |
| android:textSize="@dimen/text_sz_large" |
| tools:text="@string/stats_widget_promo_title" /> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/promo_dialog_description" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="20dp" |
| android:textColor="@color/grey_darken_20" |
| android:textSize="@dimen/text_sz_medium" |
| tools:text="@string/new_editor_promo_desc" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="280dp" |
| android:layout_height="52dp" |
| android:layout_below="@+id/promo_dialog_text" |
| android:padding="8dp" |
| android:gravity="right|end"> |
| |
| <android.support.v7.widget.AppCompatButton |
| android:id="@+id/promo_dialog_cancel_button" |
| style="?android:attr/borderlessButtonStyle" |
| android:layout_width="wrap_content" |
| android:layout_height="36dp" |
| android:textAllCaps="true" |
| android:textColor="@color/blue_medium" |
| tools:text="@string/stats_widget_promo_ok_btn_label"/> |
| </LinearLayout> |
| </RelativeLayout> |