allow toggling fullscreen mode by clicking at the new gif_view

This commit is contained in:
tibbi 2018-10-02 23:29:32 +02:00
parent 6a5186c51f
commit d309e1d10f

View file

@ -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() }