Yes, that is terrible, and pretty much guaranteed to break.
On Mon, Jul 18, 2011 at 6:54 AM, dmitry.lukas...@gmail.com
dmitry.lukas...@gmail.com wrote:
I've found only one way to change default search view icon:-) But this is
terrible solution
SearchView sv = new SearchView(mActivity);
My concern is why I can easily change android:actionOverflowButtonStyle...
and cannot do the same with search icon. Gray search icon is not acceptable
for our brand style... so default action bar became useless for us, and we
should create custom bar for tablet that is ridiculous:)
--
You
Sorry at this point you can't customize it like that. If you seriously
can't live with the standard style, you'll need to make your own.
On Thu, Jul 28, 2011 at 11:42 PM, dmitry.lukas...@gmail.com wrote:
My concern is why I can easily change android:actionOverflowButtonStyle...
and cannot do
These were always private but aapt didn't correctly enforce not being
able to reference private styles/attributes.
Note that this would not have done what you wanted as private resource
integers change from build to build.
see bug http://code.google.com/p/android/issues/detail?id=18659 for more
How did you fixed this?
On Jul 16, 11:18 pm, Jake Wharton jakewhar...@gmail.com wrote:
I managed to fix these up fairly easily. I can only assume the removed
styles were not meant to be public yet and that the styling of action modes
is being limited to provide a more consistent experience.
Removed references to actionModeStyle and actionModePopupWindowStyle. It
would seem the only customization options for action modes going
forward is their
background
imagehttp://developer.android.com/reference/android/R.attr.html#actionModeBackground.
This is the only true regression in
How to change android:searchViewSearchIcon now?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
I've found only one way to change default search view icon:-) But this is
terrible solution
SearchView sv = new SearchView(mActivity);
sv.setOnQueryTextListener(mOnSearchQueryTextListener);
menuItemSearch.setActionView(sv);
searchViewChangeHack(sv);
private static int sViewIndex = 0;
I managed to fix these up fairly easily. I can only assume the removed
styles were not meant to be public yet and that the styling of action modes
is being limited to provide a more consistent experience.
The missing attributes definitely need to be on the API differences report
at the very
9 matches
Mail list logo