Don't allow duplicate domains to be created in domain settings. Implements https...
[PrivacyBrowser.git] / app / src / main / res / layout / add_domain_dialog.xml
index 82f24dff95c76fd73bec492924cfe69156bfad9e..176c542e9ac31587631977a70752a8532b7370e6 100644 (file)
@@ -29,7 +29,6 @@
         android:layout_height="wrap_content"
         android:layout_width="match_parent"
         android:layout_marginTop="12dp"
-        android:layout_marginBottom="12dp"
         android:layout_marginStart="4dp"
         android:layout_marginEnd="4dp" >
 
             android:inputType="textUri"
             android:selectAllOnFocus="true" />
     </android.support.design.widget.TextInputLayout>
+
+    <TextView
+        android:id="@+id/domain_name_already_exists_textview"
+        android:layout_height="wrap_content"
+        android:layout_width="match_parent"
+        android:text="@string/domain_name_already_exists"
+        android:textColor="?attr/redText"
+        android:layout_marginStart="8dp"
+        android:layout_marginEnd="8dp"
+        android:layout_marginBottom="12dp" />
 </LinearLayout>
\ No newline at end of file