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 @@ -49,6 +49,7 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
49
49
private EditText mUserName ;
50
50
private EditText mPassword ;
51
51
private EditText serverIn ;
52
+ private EditText realmNameET ;
52
53
53
54
private View mGoogleSignInButton ;
54
55
@ Override
@@ -96,6 +97,7 @@ public void onClick(View view) {
96
97
private void showLoginFields () {
97
98
AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
98
99
AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
100
+ realmNameET = (EditText ) findViewById (R .id .realmName );
99
101
}
100
102
101
103
@ Override
Original file line number Diff line number Diff line change 11
11
import android .annotation .SuppressLint ;
12
12
import android .annotation .TargetApi ;
13
13
import android .app .AlertDialog ;
14
+ import android .app .ProgressDialog ;
14
15
import android .app .SearchManager ;
15
16
import android .content .BroadcastReceiver ;
16
17
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 86
86
<string name =" realm_switching" >Switching realm</string >
87
87
<string name =" please_wait" >Please wait</string >
88
88
<string name =" realm_add" >Add Realm</string >
89
+ <string name =" realm_name" >Name of a realm (Optional)</string >
90
+
91
+
92
+
89
93
</resources >
You can’t perform that action at this time.
0 commit comments