]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/profile_detail.xml
warn when using authentication with insecure HTTP scheme
[mobile-ledger.git] / app / src / main / res / layout / profile_detail.xml
index b12d306a814352c140d5c868222f05460b5e052a..3479cf07430fa22f981517eb40b4701cb3e7082f 100644 (file)
             android:layout_height="wrap_content"
             android:orientation="vertical"
             android:paddingStart="8dp"
+            android:animateLayoutChanges="true"
             tools:ignore="RtlSymmetry">
 
+            <LinearLayout
+                android:id="@+id/insecure_scheme_text"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginBottom="@dimen/activity_vertical_margin"
+                android:background="@color/error_background"
+                android:padding="@dimen/activity_vertical_margin"
+                android:visibility="gone">
+
+                <TextView
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:text="@string/insecure_scheme_with_auth" />
+            </LinearLayout>
+
             <com.google.android.material.textfield.TextInputLayout
                 android:id="@+id/auth_user_name_layout"
                 android:layout_width="match_parent"