diff options
Diffstat (limited to 'WordPress/src/main/res/layout/create_blog_fragment.xml')
-rw-r--r-- | WordPress/src/main/res/layout/create_blog_fragment.xml | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/create_blog_fragment.xml b/WordPress/src/main/res/layout/create_blog_fragment.xml new file mode 100644 index 000000000..b9933855a --- /dev/null +++ b/WordPress/src/main/res/layout/create_blog_fragment.xml @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fillViewport="true"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="0dp" + android:gravity="center" + android:orientation="vertical"> + + <org.wordpress.android.widgets.WPLinearLayoutSizeBound + app:maxWidth="600dp" + android:layout_width="wrap_content" + android:layout_height="0dp" + android:gravity="center" + android:layout_weight="1" + android:animateLayoutChanges="true" + android:orientation="vertical"> + + <org.wordpress.android.widgets.WPTextView + android:id="@+id/create_account_label" + android:text="@string/create_new_blog_wpcom" + android:paddingBottom="8dp" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp" + style="@style/WordPress.NUXTitle" + android:fontFamily="sans-serif-light" + app:fixWidowWords="true"/> + + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@color/white" + android:id="@+id/relativeLayout"> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/site_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + style="@style/WordPress.NUXEditText" + android:inputType="textCapSentences" + android:hint="@string/title" + app:persistenceEnabled="true"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/imageView2" + android:layout_gravity="center_horizontal" + android:layout_alignParentEnd="false" + android:layout_alignParentStart="false" + app:srcCompat="@drawable/dashicon_edit" + android:layout_centerVertical="true" + android:layout_marginLeft="10dp" + android:tint="@color/grey_darken_10"/> + </RelativeLayout> + + + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:background="@color/white" + android:layout_marginBottom="16dp"> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/site_url" + style="@style/WordPress.NUXEditText" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="@string/add_account_blog_url" + android:inputType="textUri" + android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" + android:clickable="true" + android:paddingLeft="0dp" + android:paddingTop="12dp" + android:paddingRight="0dp" + android:paddingBottom="12dp" + android:layout_toLeftOf="@+id/textView" + app:persistenceEnabled="true"/> + + <org.wordpress.android.widgets.WPTextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/dot_wordpress_dot_com_url" + android:id="@+id/textView" + android:layout_alignParentEnd="false" + android:layout_marginTop="4dp" + android:layout_alignParentStart="false" + android:layout_alignParentTop="false" + android:paddingRight="8dp" + android:enabled="false" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:layout_marginRight="4dp" + android:textColor="@color/grey_darken_10" + android:textIsSelectable="true" + android:textSize="@dimen/nux_edit_field_font_size"/> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/imageView" + android:layout_gravity="center_horizontal" + android:layout_alignParentEnd="false" + android:layout_alignParentStart="false" + app:srcCompat="@drawable/dashicon_admin_site" + android:layout_centerVertical="true" + android:layout_marginLeft="10dp" + android:tint="@color/grey_darken_10"/> + </RelativeLayout> + + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="@dimen/nux_main_button_height" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp"> + + <org.wordpress.android.widgets.WPTextView + style="@style/WordPress.NUXPrimaryButton" + android:id="@+id/signup_button" + android:layout_width="match_parent" + android:text="@string/create_new_blog_wpcom" + android:clickable="true" + android:gravity="center" + android:enabled="false"/> + + <RelativeLayout + android:id="@+id/nux_sign_in_progress_bar" + style="@style/WordPress.NUXPrimaryButton" + android:layout_width="match_parent" + android:visibility="gone" + android:enabled="false"> + + <ProgressBar + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_centerVertical="true" + android:layout_centerHorizontal="true" /> + </RelativeLayout> + </RelativeLayout> + + <org.wordpress.android.widgets.WPTextView + style="@style/WordPress.NUXFlatButton" + android:id="@+id/nux_sign_in_progress_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:visibility="gone" + android:textColor="@color/blue_light" + android:gravity="center|top"/> + + </org.wordpress.android.widgets.WPLinearLayoutSizeBound> + + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="bottom"> + + <org.wordpress.android.widgets.WPTextView + style="@style/WordPress.NUXFlatButton" + android:id="@+id/cancel_button" + android:layout_width="wrap_content" + android:layout_height="48dp" + android:text="@string/cancel" + android:gravity="center|top" + android:layout_gravity="center" + android:visibility="gone"/> + </LinearLayout> + </LinearLayout> +</ScrollView> |