mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
Added animation + white background to settings page
This commit is contained in:
parent
82c041329b
commit
377f5000a5
3 changed files with 18 additions and 3 deletions
|
|
@ -70,6 +70,8 @@ class SettingsFragment : GenericFragment() {
|
|||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
postponeEnterTransition()
|
||||
|
||||
binding.lifecycleOwner = viewLifecycleOwner
|
||||
binding.viewModel = viewModel
|
||||
|
||||
|
|
@ -112,5 +114,7 @@ class SettingsFragment : GenericFragment() {
|
|||
}
|
||||
|
||||
binding.themeSpinner.onItemSelectedListener = themeListener
|
||||
|
||||
startPostponedEnterTransition()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@
|
|||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/back"
|
||||
|
|
|
|||
|
|
@ -99,7 +99,12 @@
|
|||
|
||||
<action
|
||||
android:id="@+id/action_global_helpFragment"
|
||||
app:destination="@id/helpFragment"/>
|
||||
app:destination="@id/helpFragment"
|
||||
app:enterAnim="@anim/slide_in_right"
|
||||
app:exitAnim="@anim/slide_out_left"
|
||||
app:popEnterAnim="@anim/slide_in_left"
|
||||
app:popExitAnim="@anim/slide_out_right"
|
||||
app:launchSingleTop="true"/>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/recordingsFragment"
|
||||
|
|
@ -109,7 +114,12 @@
|
|||
|
||||
<action
|
||||
android:id="@+id/action_global_recordingsFragment"
|
||||
app:destination="@id/recordingsFragment"/>
|
||||
app:destination="@id/recordingsFragment"
|
||||
app:enterAnim="@anim/slide_in_right"
|
||||
app:exitAnim="@anim/slide_out_left"
|
||||
app:popEnterAnim="@anim/slide_in_left"
|
||||
app:popExitAnim="@anim/slide_out_right"
|
||||
app:launchSingleTop="true"/>
|
||||
|
||||
<fragment
|
||||
android:id="@+id/startCallFragment"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue