Skip to content

Commit

Permalink
disabled fullscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
celalbaydar committed Mar 25, 2024
1 parent 6192760 commit ea9709a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class ViewPager2Sample : AppCompatActivity() {
super.onCreate(savedInstanceState)
binding = ActivityViewPager2SampleBinding.inflate(layoutInflater)
setContentView(binding.root)
setupScreen()
binding.tabLayout.apply {
addTab(this.newTab().setIcon(R.drawable.ic_camera))
val titles = arrayOf("Chat", "Status", "Call")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class ImagePickerFragment(private val resultCallback: ((Results) -> Unit)? = nul
super.onCreate(savedInstanceState)
options = arguments?.getParcelable(ARG_PARAM_PIX) ?: Options()
requireActivity().let {
it.setupScreen()
it.actionBar?.hide()
}
}
Expand All @@ -72,7 +71,6 @@ class ImagePickerFragment(private val resultCallback: ((Results) -> Unit)? = nul
}

private fun FragmentActivity.setup() {
setUpMargins(binding)
permissions()
reSetup(this)
//in case of resetting the options in an live fragment
Expand Down
2 changes: 1 addition & 1 deletion pix/src/main/res/layout/layout_image_picker_grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
android:layout_height="56dp"
android:layout_gravity="right|bottom"
android:layout_marginEnd="16dp"
android:layout_marginBottom="64dp"
android:layout_marginBottom="16dp"
android:background="@drawable/circular_button"
android:elevation="8dp">

Expand Down

0 comments on commit ea9709a

Please sign in to comment.