This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
java/com/zulip/android/activities Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,11 @@ public void onTaskFailure(String result) {
444
444
}
445
445
});
446
446
asyncDevGetEmails .execute ();
447
+ break ;
448
+ case R .id .register :
449
+ Intent intent = new Intent (Intent .ACTION_VIEW ,Uri .parse (serverIn .getText ().toString ()+"register" ));
450
+ startActivity (intent );
451
+ break ;
447
452
default :
448
453
break ;
449
454
}
Original file line number Diff line number Diff line change 139
139
android : layout_height =" wrap_content"
140
140
android : visibility =" gone" />
141
141
142
+ <TextView
143
+ android : id =" @+id/register"
144
+ android : layout_width =" wrap_content"
145
+ android : layout_height =" wrap_content"
146
+ android : padding =" 8dp"
147
+ android : text =" @string/register_button"
148
+ android : layout_gravity =" center_horizontal"
149
+ android : layout_marginTop =" 16dp"
150
+ android : onClick =" onClick"
151
+ android : textColor =" #ff0099cc"
152
+ />
153
+
142
154
<TextView
143
155
android : id =" @+id/local_server_button"
144
156
android : layout_width =" wrap_content"
Original file line number Diff line number Diff line change 130
130
android : layout_height =" wrap_content"
131
131
android : visibility =" gone" />
132
132
133
+ <TextView
134
+ android : id =" @+id/register"
135
+ android : layout_width =" wrap_content"
136
+ android : layout_height =" wrap_content"
137
+ android : padding =" 8dp"
138
+ android : text =" @string/register_button"
139
+ android : layout_gravity =" center_horizontal"
140
+ android : layout_marginTop =" 16dp"
141
+ android : onClick =" onClick"
142
+ android : textColor =" #ff0099cc"
143
+ />
144
+
133
145
<TextView
134
146
android : id =" @+id/local_server_button"
135
147
android : layout_width =" wrap_content"
Original file line number Diff line number Diff line change 98
98
<string name =" content_description_search_icon" >search icon</string >
99
99
<string name =" hint_search_people" >Search People</string >
100
100
<string name =" hint_search_stream" >Search Stream</string >
101
+ <string name =" register_button" >Register</string >
101
102
</resources >
You can’t perform that action at this time.
0 commit comments