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 @@ -52,6 +52,7 @@ public class LoginActivity extends AppCompatActivity implements View.OnClickList
52
52
private EditText mUserName ;
53
53
private EditText mPassword ;
54
54
private EditText serverIn ;
55
+ private EditText realmNameET ;
55
56
56
57
private View mGoogleSignInButton ;
57
58
@@ -100,6 +101,7 @@ public void onClick(View view) {
100
101
private void showLoginFields () {
101
102
AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
102
103
AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
104
+ realmNameET = (EditText ) findViewById (R .id .realmName );
103
105
}
104
106
105
107
@ 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 46
46
android : text =" @string/enter_server"
47
47
android : textAppearance =" ?android:attr/textAppearanceMedium" />
48
48
49
+ <EditText
50
+ android : id =" @+id/realmName"
51
+ android : layout_width =" match_parent"
52
+ android : layout_height =" wrap_content"
53
+ android : hint =" @string/realm_name" />
54
+
49
55
<EditText
50
56
android : id =" @+id/server_url_in"
51
57
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 40
40
android : text =" @string/enter_server"
41
41
android : textAppearance =" ?android:attr/textAppearanceMedium" />
42
42
43
+ <EditText
44
+ android : id =" @+id/realmName"
45
+ android : layout_width =" match_parent"
46
+ android : layout_height =" wrap_content"
47
+ android : hint =" @string/realm_name" />
48
+
43
49
<EditText
44
50
android : id =" @+id/server_url_in"
45
51
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 80
80
<string name =" realm_switching" >Switching realm</string >
81
81
<string name =" please_wait" >Please wait</string >
82
82
<string name =" realm_add" >Add Realm</string >
83
+ <string name =" realm_name" >Name of a realm (Optional)</string >
84
+
85
+
86
+
83
87
</resources >
You can’t perform that action at this time.
0 commit comments