summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/res/layout/v_provider_credentials.xml8
-rw-r--r--app/src/main/res/values/styles.xml5
2 files changed, 10 insertions, 3 deletions
diff --git a/app/src/main/res/layout/v_provider_credentials.xml b/app/src/main/res/layout/v_provider_credentials.xml
index 0bfdcc47..65f554aa 100644
--- a/app/src/main/res/layout/v_provider_credentials.xml
+++ b/app/src/main/res/layout/v_provider_credentials.xml
@@ -18,7 +18,7 @@
android:hint="@string/auth_username"
app:errorEnabled="true"
android:layout_marginTop="@dimen/standard_margin"
- >
+ app:errorTextAppearance="@style/error_appearance">
<android.support.design.widget.TextInputEditText
android:id="@+id/provider_credentials_username"
@@ -35,7 +35,8 @@
android:layout_height="wrap_content"
app:passwordToggleEnabled="true"
android:hint="@string/password"
- app:errorEnabled="true">
+ app:errorEnabled="true"
+ app:errorTextAppearance="@style/error_appearance">
<android.support.design.widget.TextInputEditText
android:id="@+id/provider_credentials_password"
@@ -53,7 +54,8 @@
app:passwordToggleEnabled="true"
android:hint="@string/password"
app:errorEnabled="true"
- android:visibility="gone">
+ android:visibility="gone"
+ app:errorTextAppearance="@style/error_appearance">
<android.support.design.widget.TextInputEditText
android:id="@+id/provider_credentials_password_verification"
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 97f001a4..485a7497 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -74,4 +74,9 @@
<item name="android:textStyle">bold</item>
</style>
+ <style name="error_appearance" parent="@android:style/TextAppearance">
+ <item name="android:textColor">@color/colorError</item>
+ <item name="android:textSize">11sp</item>
+ </style>
+
</resources> \ No newline at end of file