Merge pull request #9978 from osmandapp/Travel-fix
We have a few issues with text and icon colors.
This commit is contained in:
commit
a585b1aa90
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,7 @@ public class SearchRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerView
|
|||
}
|
||||
|
||||
private LayerDrawable getPlaceholder(boolean history) {
|
||||
int colorDefault = ContextCompat.getColor(app, R.color.icon_color_default_light);
|
||||
LayerDrawable res = (LayerDrawable) AppCompatResources.getDrawable(
|
||||
app, history
|
||||
? R.drawable.wikivoyage_search_history_placeholder
|
||||
|
@ -145,6 +146,8 @@ public class SearchRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerView
|
|||
history ? R.drawable.ic_action_history : R.drawable.ic_action_placeholder_city,
|
||||
R.color.icon_color_default_light
|
||||
));
|
||||
} else {
|
||||
res.setTint(colorDefault);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue