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
4747 private EditText mUserName ;
4848 private EditText mPassword ;
4949 private EditText serverIn ;
50+ private EditText realmNameET ;
5051
5152 private View mGoogleSignInButton ;
5253 @ Override
@@ -132,6 +133,7 @@ public void onClick(View view) {
132133 private void showLoginFields () {
133134 AnimationHelper .showView (findViewById (R .id .serverInput ), 201 );
134135 AnimationHelper .hideView (findViewById (R .id .serverFieldLayout ), 100 );
136+ realmNameET = (EditText ) findViewById (R .id .realmName );
135137 }
136138
137139 @ Override
Original file line number Diff line number Diff line change 1010import android .annotation .SuppressLint ;
1111import android .annotation .TargetApi ;
1212import android .app .AlertDialog ;
13+ import android .app .ProgressDialog ;
1314import android .app .SearchManager ;
1415import android .content .BroadcastReceiver ;
1516import android .content .ComponentName ;
Original file line number Diff line number Diff line change 4747 android : text =" @string/enter_server"
4848 android : textAppearance =" ?android:attr/textAppearanceMedium" />
4949
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+
5056 <EditText
5157 android : id =" @+id/server_url_in"
5258 android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 4242 android : text =" @string/enter_server"
4343 android : textAppearance =" ?android:attr/textAppearanceMedium" />
4444
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+
4551 <EditText
4652 android : id =" @+id/server_url_in"
4753 android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 7979 <string name =" realm_switching" >Switching Realm</string >
8080 <string name =" please_wait" >Please wait</string >
8181 <string name =" realm_add" >Add Realm</string >
82+ <string name =" realm_name" >Name of a realm (Optional)</string >
83+
84+
85+
8286</resources >
You can’t perform that action at this time.
0 commit comments