This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +19
-0
lines changed
java/com/zulip/android/activities Expand file tree Collapse file tree 5 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
47
47
private EditText mUserName ;
48
48
private EditText mPassword ;
49
49
private EditText serverIn ;
50
+ private EditText realmNameET ;
50
51
51
52
private View mGoogleSignInButton ;
52
53
@ Override
@@ -132,6 +133,7 @@ public void onClick(View view) {
132
133
private void showLoginFields () {
133
134
AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
134
135
AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
136
+ realmNameET = (EditText ) findViewById (R .id .realmName );
135
137
}
136
138
137
139
@ Override
Original file line number Diff line number Diff line change 10
10
import android .annotation .SuppressLint ;
11
11
import android .annotation .TargetApi ;
12
12
import android .app .AlertDialog ;
13
+ import android .app .ProgressDialog ;
13
14
import android .app .SearchManager ;
14
15
import android .content .BroadcastReceiver ;
15
16
import android .content .ComponentName ;
Original file line number Diff line number Diff line change 47
47
android : text =" @string/enter_server"
48
48
android : textAppearance =" ?android:attr/textAppearanceMedium" />
49
49
50
+ <EditText
51
+ android : id =" @+id/realmName"
52
+ android : layout_width =" match_parent"
53
+ android : layout_height =" wrap_content"
54
+ android : hint =" @string/realm_name" />
55
+
50
56
<EditText
51
57
android : id =" @+id/server_url_in"
52
58
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 42
42
android : text =" @string/enter_server"
43
43
android : textAppearance =" ?android:attr/textAppearanceMedium" />
44
44
45
+ <EditText
46
+ android : id =" @+id/realmName"
47
+ android : layout_width =" match_parent"
48
+ android : layout_height =" wrap_content"
49
+ android : hint =" @string/realm_name" />
50
+
45
51
<EditText
46
52
android : id =" @+id/server_url_in"
47
53
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 79
79
<string name =" realm_switching" >Switching Realm</string >
80
80
<string name =" please_wait" >Please wait</string >
81
81
<string name =" realm_add" >Add Realm</string >
82
+ <string name =" realm_name" >Name of a realm (Optional)</string >
83
+
84
+
85
+
82
86
</resources >
You can’t perform that action at this time.
0 commit comments