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
5252 private EditText mUserName ;
5353 private EditText mPassword ;
5454 private EditText serverIn ;
55+ private EditText realmNameET ;
5556
5657 private View mGoogleSignInButton ;
5758
@@ -100,6 +101,7 @@ public void onClick(View view) {
100101 private void showLoginFields () {
101102 AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
102103 AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
104+ realmNameET = (EditText ) findViewById (R .id .realmName );
103105 }
104106
105107 @ Override
Original file line number Diff line number Diff line change 1111import android .annotation .SuppressLint ;
1212import android .annotation .TargetApi ;
1313import android .app .AlertDialog ;
14+ import android .app .ProgressDialog ;
1415import android .app .SearchManager ;
1516import android .content .BroadcastReceiver ;
1617import android .content .ComponentName ;
Original file line number Diff line number Diff line change 4646 android : text =" @string/enter_server"
4747 android : textAppearance =" ?android:attr/textAppearanceMedium" />
4848
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+
4955 <EditText
5056 android : id =" @+id/server_url_in"
5157 android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 4040 android : text =" @string/enter_server"
4141 android : textAppearance =" ?android:attr/textAppearanceMedium" />
4242
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+
4349 <EditText
4450 android : id =" @+id/server_url_in"
4551 android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 8080 <string name =" realm_switching" >Switching realm</string >
8181 <string name =" please_wait" >Please wait</string >
8282 <string name =" realm_add" >Add Realm</string >
83+ <string name =" realm_name" >Name of a realm (Optional)</string >
84+
85+
86+
8387</resources >
You can’t perform that action at this time.
0 commit comments