pythontr.com
SearchView edSearch = (SearchView) findViewById(R.id.edSearch);
//edSearch.setOnClickListener(this);
//edSearch.setOnQueryTextListener(this);
edSearch.setQueryHint(Html.fromHtml("<font color = "+Color.LTGRAY+">Yük No...</font>"));
edSearch.setBackgroundColor(Color.rgb(74, 105, 165));
// edSearch.setIconifiedByDefault(true);
// Renklendirme
int id = edSearch.getContext()
.getResources()
.getIdentifier("android:id/search_src_text", null, null);
TextView textView = (TextView) edSearch.findViewById(id);
textView.setTextColor(Color.LTGRAY);
Yorumlar