Use CardView instead of card 9 png drawable
This commit is contained in:
1 parent
7dc1491c26
commit
34eb6a423a
22 files changed
+255
-239
No files matched your search
@@ -279,7 +279,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
mSearchBar.setHelper(this);
|
||||
mSearchBar.setAllowEmptySearch(false);
|
||||
updateSearchBar();
|
||||
mSearchBarMover = new SearchBarMover(this, mSearchBar, mRecyclerView);
|
||||
mSearchBarMover = new SearchBarMover(this, ViewUtils.$$(view, R.id.search_bar_card), mRecyclerView);
|
||||
|
||||
mFabLayout.setExpanded(false, false);
|
||||
mFabLayout.setAutoCancel(false);
|
||||
|
||||
@@ -452,7 +452,7 @@ public final class GalleryListScene extends BaseScene
|
||||
|
||||
mSearchFab.setOnClickListener(this);
|
||||
|
||||
mSearchBarMover = new SearchBarMover(this, mSearchBar, mRecyclerView, mSearchLayout);
|
||||
mSearchBarMover = new SearchBarMover(this, ViewUtils.$$(view, R.id.search_bar_card), mRecyclerView, mSearchLayout);
|
||||
|
||||
// Update list url builder
|
||||
onUpdateUrlBuilder();
|
||||
|
||||
@@ -111,8 +111,6 @@ public class SearchBar extends FrameLayout implements View.OnClickListener,
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
setBackgroundResource(R.drawable.card_white_no_padding_2dp);
|
||||
|
||||
mSearchDatabase = SearchDatabase.getInstance(getContext());
|
||||
|
||||
LayoutInflater inflater = LayoutInflater.from(context);
|
||||
|
||||
Reference in new issue
Block a user