[Android] Fill login field with default username

Geoffrey Métais git at videolan.org
Wed Mar 2 11:36:57 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar  2 11:06:19 2016 +0100| [df24c9aeb438981bcf69a6752428e08daa23eb21] | committer: Geoffrey Métais

Fill login field with default username

> https://code.videolan.org/videolan/vlc-android/commit/df24c9aeb438981bcf69a6752428e08daa23eb21
---

 vlc-android/res/layout/vlc_login_dialog.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/res/layout/vlc_login_dialog.xml b/vlc-android/res/layout/vlc_login_dialog.xml
index cef2d74..555754e 100644
--- a/vlc-android/res/layout/vlc_login_dialog.xml
+++ b/vlc-android/res/layout/vlc_login_dialog.xml
@@ -31,6 +31,7 @@
                 android:layout_height="wrap_content"
                 android:minWidth="200dp"
                 android:hint="@string/login"
+                android:text="@{dialog.getDefaultUsername()}"
                 android:inputType="textNoSuggestions"
                 android:singleLine="true" />
         </android.support.design.widget.TextInputLayout>



More information about the Android mailing list