aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-09 23:13:23 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-10 00:53:44 +0200
commit2684ecda1ec085621d3b0b19f7ff7dd0c3193221 (patch)
tree832f1e7384f878b6ffc1e59e6fc788e09c2e1d4a /src/eu/siacs/conversations/ui
parent203c85e11429c21d9c57e35b04692f2a6e61b10c (diff)
small changes
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r--src/eu/siacs/conversations/ui/StartConversation.java20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversation.java b/src/eu/siacs/conversations/ui/StartConversation.java
index ad129ea0..664e50a8 100644
--- a/src/eu/siacs/conversations/ui/StartConversation.java
+++ b/src/eu/siacs/conversations/ui/StartConversation.java
@@ -18,7 +18,6 @@ import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
-import android.view.MenuItem.OnActionExpandListener;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
@@ -90,19 +89,6 @@ public class StartConversation extends XmppActivity {
return true;
}
};
- private OnActionExpandListener mOnSearchActionExpandListener = new OnActionExpandListener() {
-
- @Override
- public boolean onMenuItemActionExpand(MenuItem item) {
- return true;
- }
-
- @Override
- public boolean onMenuItemActionCollapse(MenuItem item) {
- invalidateOptionsMenu();
- return true;
- }
- };
@Override
public void onCreate(Bundle savedInstanceState) {
@@ -176,8 +162,6 @@ public class StartConversation extends XmppActivity {
TextView textView = (TextView) mSearchView.findViewById(id);
textView.setTextColor(Color.WHITE);
mSearchView.setOnQueryTextListener(this.mOnQueryTextListener);
- menuSearch
- .setOnActionExpandListener(this.mOnSearchActionExpandListener);
return true;
}
@@ -211,9 +195,7 @@ public class StartConversation extends XmppActivity {
}
private void onTabChanged() {
- if (mSearchView == null || mSearchView.isIconified()) {
- invalidateOptionsMenu();
- }
+ invalidateOptionsMenu();
}
private class ListItemAdapter extends ArrayAdapter<ListItem> {