Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
ebcf5143
Commit
ebcf5143
authored
Feb 04, 2018
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle errors in acl dialog more gracefully
parent
3975f3f4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
63 deletions
+110
-63
mobile/src/main/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
...in/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
+98
-59
mobile/src/main/res/layout/dialog_acl_rule.xml
mobile/src/main/res/layout/dialog_acl_rule.xml
+12
-4
No files found.
mobile/src/main/java/com/github/shadowsocks/acl/CustomRulesFragment.kt
View file @
ebcf5143
This diff is collapsed.
Click to expand it.
mobile/src/main/res/layout/dialog_acl_rule.xml
View file @
ebcf5143
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
...
...
@@ -8,8 +9,15 @@
android:layout_height=
"wrap_content"
android:labelFor=
"@+id/content"
android:entries=
"@array/acl_rule_templates"
/>
<EditText
android:id=
"@+id/content"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:inputType=
"textNoSuggestions|textMultiLine"
/>
<android.support.design.widget.TextInputLayout
android:id=
"@+id/content_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:errorEnabled=
"true"
>
<android.support.design.widget.TextInputEditText
android:id=
"@+id/content"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:inputType=
"textNoSuggestions|textMultiLine"
/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
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