Skip to content

Commit

Permalink
[fix] problematic behavior of toolbar dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
unixzii authored and gejiaheng committed May 7, 2017
1 parent 1f8239f commit 7dffe34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public void onClick(View v) {
mListPopupWindow.show();
}
});
mSelected.setOnTouchListener(mListPopupWindow.createDragToOpenListener(mSelected));
}

public void setPopupAnchorView(View view) {
Expand Down
3 changes: 1 addition & 2 deletions matisse/src/main/res/layout/album_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/album_item_height"
android:foreground="?selectableItemBackground">
android:layout_height="@dimen/album_item_height">

<com.zhihu.matisse.internal.ui.widget.RoundedRectangleImageView
android:id="@+id/album_cover"
Expand Down

0 comments on commit 7dffe34

Please sign in to comment.