Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
df9a408e
Commit
df9a408e
authored
Mar 24, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #377 from lizardlab/master
Added preference constraints to number fields
parents
ca36f293
ba8b84aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
account_editor_oauth.xml
app/src/main/res/xml/account_editor_oauth.xml
+1
-0
account_editor_xmpp.xml
app/src/main/res/xml/account_editor_xmpp.xml
+3
-0
preference_editor.xml
app/src/main/res/xml/preference_editor.xml
+5
-0
No files found.
app/src/main/res/xml/account_editor_oauth.xml
View file @
df9a408e
...
...
@@ -53,6 +53,7 @@
<EditTextPreference
android:key=
"@string/account_proxy_port_key"
android:title=
"@string/account_proxy_port"
android:inputType=
"number"
android:singleLine=
"true"
/>
<EditTextPreference
...
...
app/src/main/res/xml/account_editor_xmpp.xml
View file @
df9a408e
...
...
@@ -60,6 +60,7 @@
android:key=
"@string/account_port_key"
android:title=
"@string/account_port"
android:singleLine=
"true"
android:inputType=
"number"
android:dependency=
"@string/account_custom_key"
/>
<EditTextPreference
...
...
@@ -70,6 +71,7 @@
<com.xabber.android.ui.widget.PriorityPreference
android:key=
"@string/account_priority_key"
android:title=
"@string/account_priority"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
<CheckBoxPreference
...
...
@@ -102,6 +104,7 @@
<EditTextPreference
android:key=
"@string/account_proxy_port_key"
android:title=
"@string/account_proxy_port"
android:inputType=
"number"
android:singleLine=
"true"
/>
<EditTextPreference
...
...
app/src/main/res/xml/preference_editor.xml
View file @
df9a408e
...
...
@@ -268,6 +268,7 @@
android:defaultValue=
"@string/connection_priority_chat_default"
android:dependency=
"@string/connection_adjust_priority_key"
android:title=
"@string/chat"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
<com.xabber.android.ui.widget.PriorityPreference
...
...
@@ -275,6 +276,7 @@
android:defaultValue=
"@string/connection_priority_available_default"
android:dependency=
"@string/connection_adjust_priority_key"
android:title=
"@string/available"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
<com.xabber.android.ui.widget.PriorityPreference
...
...
@@ -282,6 +284,7 @@
android:defaultValue=
"@string/connection_priority_away_default"
android:dependency=
"@string/connection_adjust_priority_key"
android:title=
"@string/away"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
<com.xabber.android.ui.widget.PriorityPreference
...
...
@@ -289,6 +292,7 @@
android:defaultValue=
"@string/connection_priority_xa_default"
android:dependency=
"@string/connection_adjust_priority_key"
android:title=
"@string/xa"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
<com.xabber.android.ui.widget.PriorityPreference
...
...
@@ -296,6 +300,7 @@
android:defaultValue=
"@string/connection_priority_dnd_default"
android:dependency=
"@string/connection_adjust_priority_key"
android:title=
"@string/dnd"
android:inputType=
"numberSigned"
android:singleLine=
"true"
/>
</PreferenceCategory>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment