|
41 | 41 | import android.view.View;
|
42 | 42 | import android.widget.AdapterView;
|
43 | 43 | import android.widget.AdapterView.OnItemClickListener;
|
| 44 | +import android.widget.AutoCompleteTextView; |
44 | 45 | import android.widget.EditText;
|
| 46 | +import android.widget.ImageView; |
45 | 47 | import android.widget.ListView;
|
46 | 48 | import android.widget.SearchView;
|
47 | 49 | import android.widget.TextView;
|
@@ -100,6 +102,12 @@ public class ZulipActivity extends FragmentActivity implements
|
100 | 102 | MessageListFragment narrowedList;
|
101 | 103 | MessageListFragment homeList;
|
102 | 104 |
|
| 105 | + AutoCompleteTextView streamActv; |
| 106 | + AutoCompleteTextView topicActv; |
| 107 | + EditText messageEt; |
| 108 | + private TextView textView; |
| 109 | + private ImageView sendBtn; |
| 110 | + private ImageView togglePrivateStreamBtn; |
103 | 111 | Notifications notifications;
|
104 | 112 |
|
105 | 113 | private BroadcastReceiver onGcmMessage = new BroadcastReceiver() {
|
@@ -246,7 +254,12 @@ protected void onCreate(Bundle savedInstanceState) {
|
246 | 254 | this.logged_in = true;
|
247 | 255 |
|
248 | 256 | 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); |
250 | 263 | mutedTopics = new ArrayList<>();
|
251 | 264 | drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
|
252 | 265 | drawerToggle = new ActionBarDrawerToggle(this, drawerLayout,
|
|
0 commit comments