Skip to content

Commit

Permalink
Show picture viewer controls by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Oct 14, 2022
1 parent c7500ec commit 48a46ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class PictureViewerFragment : Fragment(), View.OnKeyListener {
binding.actionNext.setOnClickListener { pictureViewerViewModel.showNext() }
binding.actionPlayPause.setOnClickListener { pictureViewerViewModel.togglePresentation() }
binding.root.setOnClickListener { toggleActions() }
binding.actionPlayPause.requestFocus()
return binding.root
}

Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/fragment_picture_viewer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
android:layout_marginBottom="27dp"
android:background="@drawable/button_bar_back"
android:padding="12dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down

0 comments on commit 48a46ca

Please sign in to comment.