Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 14ac42a

Browse files
kunall17niftynei
authored andcommitted
Initiate chatBox Views.
1 parent f4dd247 commit 14ac42a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

app/src/main/java/com/zulip/android/activities/ZulipActivity.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
import android.view.View;
4242
import android.widget.AdapterView;
4343
import android.widget.AdapterView.OnItemClickListener;
44+
import android.widget.AutoCompleteTextView;
4445
import android.widget.EditText;
46+
import android.widget.ImageView;
4547
import android.widget.ListView;
4648
import android.widget.SearchView;
4749
import android.widget.TextView;
@@ -100,6 +102,12 @@ public class ZulipActivity extends FragmentActivity implements
100102
MessageListFragment narrowedList;
101103
MessageListFragment homeList;
102104

105+
AutoCompleteTextView streamActv;
106+
AutoCompleteTextView topicActv;
107+
EditText messageEt;
108+
private TextView textView;
109+
private ImageView sendBtn;
110+
private ImageView togglePrivateStreamBtn;
103111
Notifications notifications;
104112

105113
private BroadcastReceiver onGcmMessage = new BroadcastReceiver() {
@@ -246,7 +254,12 @@ protected void onCreate(Bundle savedInstanceState) {
246254
this.logged_in = true;
247255

248256
setContentView(R.layout.main);
249-
257+
streamActv = (AutoCompleteTextView) findViewById(R.id.stream_actv);
258+
topicActv = (AutoCompleteTextView) findViewById(R.id.topic_actv);
259+
messageEt = (EditText) findViewById(R.id.message_et);
260+
textView = (TextView) findViewById(R.id.textView);
261+
sendBtn = (ImageView) findViewById(R.id.send_btn);
262+
togglePrivateStreamBtn = (ImageView) findViewById(R.id.togglePrivateStream_btn);
250263
mutedTopics = new ArrayList<>();
251264
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
252265
drawerToggle = new ActionBarDrawerToggle(this, drawerLayout,

0 commit comments

Comments
 (0)