blob: 56aae7516f9f9c1a67e3a6bb7686d3eb748e8f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
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>
|