allow toggling fullscreen mode by clicking at the new gif_view
This commit is contained in:
parent
6a5186c51f
commit
d309e1d10f
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
view = (inflater.inflate(R.layout.pager_photo_item, container, false) as ViewGroup).apply {
|
view = (inflater.inflate(R.layout.pager_photo_item, container, false) as ViewGroup).apply {
|
||||||
subsampling_view.setOnClickListener { photoClicked() }
|
subsampling_view.setOnClickListener { photoClicked() }
|
||||||
photo_view.setOnClickListener { photoClicked() }
|
photo_view.setOnClickListener { photoClicked() }
|
||||||
|
gif_view.setOnClickListener { photoClicked() }
|
||||||
instant_prev_item.setOnClickListener { listener?.goToPrevItem() }
|
instant_prev_item.setOnClickListener { listener?.goToPrevItem() }
|
||||||
instant_next_item.setOnClickListener { listener?.goToNextItem() }
|
instant_next_item.setOnClickListener { listener?.goToNextItem() }
|
||||||
panorama_outline.setOnClickListener { openPanorama() }
|
panorama_outline.setOnClickListener { openPanorama() }
|
||||||
|
|
Loading…
Reference in a new issue