aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-07 14:23:13 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-10 00:53:44 +0200
commit203c85e11429c21d9c57e35b04692f2a6e61b10c (patch)
tree23162af687a879b87eeb7d97445bd8017614ab6b /src/eu/siacs
parent7b8ed5ffbcf04937be8ad87d2d43e1484e631bab (diff)
made searchview text color white
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/ui/StartConversation.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversation.java b/src/eu/siacs/conversations/ui/StartConversation.java
index 3cf09a97..ad129ea0 100644
--- a/src/eu/siacs/conversations/ui/StartConversation.java
+++ b/src/eu/siacs/conversations/ui/StartConversation.java
@@ -11,6 +11,7 @@ import android.app.Fragment;
import android.app.FragmentTransaction;
import android.app.ListFragment;
import android.content.Context;
+import android.graphics.Color;
import android.os.Bundle;
import android.support.v13.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
@@ -171,6 +172,9 @@ public class StartConversation extends XmppActivity {
menuCreateContact.setVisible(false);
}
mSearchView = (SearchView) menuSearch.getActionView();
+ int id = mSearchView.getContext().getResources().getIdentifier("android:id/search_src_text", null, null);
+ TextView textView = (TextView) mSearchView.findViewById(id);
+ textView.setTextColor(Color.WHITE);
mSearchView.setOnQueryTextListener(this.mOnQueryTextListener);
menuSearch
.setOnActionExpandListener(this.mOnSearchActionExpandListener);