Commit ebcf5143 authored by Mygod's avatar Mygod

Handle errors in acl dialog more gracefully

parent 3975f3f4
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
...@@ -8,8 +9,15 @@ ...@@ -8,8 +9,15 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:labelFor="@+id/content" android:labelFor="@+id/content"
android:entries="@array/acl_rule_templates"/> android:entries="@array/acl_rule_templates"/>
<EditText android:id="@+id/content" <android.support.design.widget.TextInputLayout
android:layout_width="match_parent" android:id="@+id/content_layout"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:inputType="textNoSuggestions|textMultiLine"/> 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> </LinearLayout>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment