Adjusted menu button size and fixed wrong left padding in search items without an image
This commit is contained in:
parent
793cf20e40
commit
2335a342b8
5 changed files with 30 additions and 34 deletions
|
|
@ -175,8 +175,9 @@ public class SearchAdapter extends RecyclerView.Adapter<SearchAdapter.ViewHolder
|
|||
setImageTransitionName(activity.getString(R.string.transition_artist_image));
|
||||
break;
|
||||
default:
|
||||
if (image != null) {
|
||||
image.setVisibility(View.GONE);
|
||||
View container = itemView.findViewById(R.id.image_container);
|
||||
if (container != null) {
|
||||
container.setVisibility(View.GONE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ public class PlayerFragment extends AbsPlayerFragment implements PlayerAlbumCove
|
|||
|
||||
private void setUpDragSort() {
|
||||
DragSortRecycler dragSortRecycler = new DragSortRecycler();
|
||||
dragSortRecycler.setViewHandleId(R.id.image);
|
||||
dragSortRecycler.setViewHandleId(R.id.image_container);
|
||||
dragSortRecycler.setOnItemMovedListener(new DragSortRecycler.OnItemMovedListener() {
|
||||
@Override
|
||||
public void onItemMoved(int from, int to) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue