aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/blog_preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/blog_preferences.xml')
-rw-r--r--WordPress/src/main/res/layout/blog_preferences.xml139
1 files changed, 139 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/blog_preferences.xml b/WordPress/src/main/res/layout/blog_preferences.xml
new file mode 100644
index 000000000..56aae7516
--- /dev/null
+++ b/WordPress/src/main/res/layout/blog_preferences.xml
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/mainRL"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/grey_light"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/settings"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="@dimen/settings_padding"
+ android:paddingRight="@dimen/settings_padding">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:id="@+id/sectionContent"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/l_section1"
+ style="@style/WordPressSettingsSectionHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/account_details" />
+
+ <org.wordpress.android.widgets.WPEditText
+ android:id="@+id/username"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/username"
+ android:maxLength="@integer/max_length_username"
+ android:singleLine="true" />
+
+ <org.wordpress.android.widgets.WPEditText
+ android:id="@+id/password"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/password"
+ android:inputType="textPassword"
+ android:maxLength="@integer/max_length_password"
+ android:singleLine="true" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/l_httpuser"
+ style="@style/WordPressSubHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/http_credentials" />
+
+ <org.wordpress.android.widgets.WPEditText
+ android:id="@+id/httpuser"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:maxLength="@integer/max_length_username"
+ android:hint="@string/httpuser" />
+
+ <org.wordpress.android.widgets.WPEditText
+ android:id="@+id/httppassword"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword"
+ android:singleLine="true"
+ android:maxLength="@integer/max_length_password"
+ android:hint="@string/httppassword" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/sectionTags"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_medium">
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/l_section2"
+ style="@style/WordPressSettingsSectionHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/media" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/l_maxImageWidth"
+ style="@style/WordPressSubHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/max_thumbnail_px_width" />
+
+ <Spinner
+ android:id="@+id/maxImageWidth"
+ android:layout_marginTop="@dimen/margin_small"
+ android:layout_marginBottom="@dimen/margin_small"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ <org.wordpress.android.widgets.WPCheckBox
+ android:id="@+id/fullSizeImage"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/grey_dark"
+ android:layout_marginTop="@dimen/margin_medium"
+ android:text="@string/upload_full_size_image" />
+
+ <org.wordpress.android.widgets.WPCheckBox
+ android:id="@+id/scaledImage"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/grey_dark"
+ android:text="@string/upload_scaled_image" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/l_scaledImage"
+ style="@style/WordPressSubHeader"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/scaled_image" />
+
+ <org.wordpress.android.widgets.WPEditText
+ android:id="@+id/scaledImageWidth"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:maxLength="4"
+ android:inputType="number"
+ android:singleLine="true" />
+ </LinearLayout>
+
+ <org.wordpress.android.widgets.WPButton
+ android:id="@+id/remove_account"
+ android:layout_marginTop="@dimen/margin_medium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/remove_account" />
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file