Back to project page edu-video-client.
The source code is released under:
Apache License
If you think the Android project edu-video-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ngm.explaintome; //from w w w .j ava2s . c om import android.content.Context; import android.graphics.Color; import android.util.AttributeSet; import android.widget.EditText; import android.widget.SearchView; public class ColoredSearchView extends SearchView { public ColoredSearchView(Context context, AttributeSet attrs) { super(context, attrs); final EditText textField = (EditText) findViewById(getResources() .getIdentifier("android:id/search_src_text", null, null)); textField.setTextColor(Color.BLACK); } public ColoredSearchView(Context context) { this(context, null); } }