summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/LogInDialog.java
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-10-03 16:38:14 -0700
committerSean Leonard <meanderingcode@aetherislands.net>2013-10-03 16:38:14 -0700
commit697e7da6e1379ac23cd8dbb47a1246547abafda6 (patch)
tree07f7d05616c4c2d3a0425c96cc6ed8fc83f19d38 /src/se/leap/leapclient/LogInDialog.java
parent6112dcbb6a430651f172a7a07f2e9b7633299705 (diff)
parent83f18ec709d71d843155a8df853b014e5a599c01 (diff)
Merge branch 'feature/move-confighelper-constants' into develop
Diffstat (limited to 'src/se/leap/leapclient/LogInDialog.java')
-rw-r--r--src/se/leap/leapclient/LogInDialog.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/LogInDialog.java b/src/se/leap/leapclient/LogInDialog.java
index 8e8bb65a..73833a13 100644
--- a/src/se/leap/leapclient/LogInDialog.java
+++ b/src/se/leap/leapclient/LogInDialog.java
@@ -38,7 +38,14 @@ import android.widget.TextView;
*
*/
public class LogInDialog extends DialogFragment {
-
+
+
+ final public static String TAG = "logInDialog";
+ final public static String VERB = "log in";
+ final public static String USERNAME = "username";
+ final public static String PASSWORD = "password";
+
+
public AlertDialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
LayoutInflater inflater = getActivity().getLayoutInflater();
@@ -51,7 +58,7 @@ public class LogInDialog extends DialogFragment {
final EditText username_field = (EditText)log_in_dialog_view.findViewById(R.id.username_entered);
if(getArguments() != null && getArguments().containsKey(getResources().getString(R.string.user_message))) {
- String username = getArguments().getString(ConfigHelper.USERNAME_KEY);
+ String username = getArguments().getString(USERNAME);
username_field.setText(username);
username_field.setHint("");
}