diff options
Diffstat (limited to 'WordPress/src/main/res/layout/comment_edit_activity.xml')
-rw-r--r-- | WordPress/src/main/res/layout/comment_edit_activity.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/comment_edit_activity.xml b/WordPress/src/main/res/layout/comment_edit_activity.xml new file mode 100644 index 000000000..83b8f504f --- /dev/null +++ b/WordPress/src/main/res/layout/comment_edit_activity.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fillViewport="true" + android:clipToPadding="false" + android:paddingBottom="@dimen/margin_large" + android:paddingLeft="@dimen/margin_extra_large" + android:paddingRight="@dimen/margin_extra_large" + android:paddingTop="@dimen/margin_large" + android:background="@color/white" + android:scrollbarStyle="outsideInset" > + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <LinearLayout + android:id="@+id/edit_comment_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/author_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_medium" + android:hint="@string/author_name" + android:inputType="textPersonName|textNoSuggestions" + android:singleLine="true" /> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/author_email" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_medium" + android:hint="@string/author_email" + android:inputType="textEmailAddress" + android:singleLine="true" /> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/author_url" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/margin_medium" + android:hint="@string/author_url" + android:inputType="textUri" + android:singleLine="true" /> + + <org.wordpress.android.widgets.WPEditText + android:id="@+id/edit_comment_content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="top" + android:hint="@string/hint_comment_content" + android:inputType="textCapSentences|textAutoCorrect|textMultiLine" + android:minLines="4" + android:textColorLink="@color/reader_hyperlink" /> + + </LinearLayout> + + <ProgressBar + android:id="@+id/edit_comment_progress" + style="@android:style/Widget.Holo.Light.ProgressBar.Large" + android:layout_centerInParent="true" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:indeterminate="true" + android:visibility="gone"/> + + </RelativeLayout> +</ScrollView>
\ No newline at end of file |