[Android] Fix Network server dialog
Geoffrey Métais
git at videolan.org
Thu Sep 1 15:44:11 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep 1 15:43:40 2016 +0200| [5ce2e3964bdc5c61d03cf6bb8a6bc75723f83af1] | committer: Geoffrey Métais
Fix Network server dialog
> https://code.videolan.org/videolan/vlc-android/commit/5ce2e3964bdc5c61d03cf6bb8a6bc75723f83af1
---
vlc-android/src/org/videolan/vlc/gui/dialogs/NetworkServerDialog.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/NetworkServerDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/NetworkServerDialog.java
index 945dd43..3751e5c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/NetworkServerDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/NetworkServerDialog.java
@@ -94,8 +94,8 @@ public class NetworkServerDialog extends DialogFragment implements AdapterView.O
View v = inflater.inflate(R.layout.network_server_dialog, container, false);
- mEditAddress = ((TextInputLayout)v.findViewById(R.id.server_domain)).getEditText();
- mEditAddressLayout = (TextInputLayout) mEditAddress.getParent();
+ mEditAddressLayout = (TextInputLayout) v.findViewById(R.id.server_domain);
+ mEditAddress = mEditAddressLayout.getEditText();
mEditFolder = ((TextInputLayout)v.findViewById(R.id.server_folder)).getEditText();
mEditUsername = ((TextInputLayout)v.findViewById(R.id.server_username)).getEditText();
mEditServername = ((TextInputLayout)v.findViewById(R.id.server_name)).getEditText();
More information about the Android
mailing list