Search in sources :

Example 11 with AutoTransition

use of androidx.transition.AutoTransition in project Signal-Android by signalapp.

the class WebRtcCallView method layoutParticipants.

private void layoutParticipants() {
    Transition transition = new AutoTransition().setDuration(TRANSITION_DURATION_MILLIS);
    TransitionManager.beginDelayedTransition(participantsParent, transition);
    ConstraintSet constraintSet = new ConstraintSet();
    constraintSet.clone(participantsParent);
    constraintSet.setMargin(R.id.call_screen_participants_pager, ConstraintSet.BOTTOM, ViewUtil.dpToPx(withControlsHeight(pagerBottomMarginDp)));
    constraintSet.applyTo(participantsParent);
}
Also used : AutoTransition(androidx.transition.AutoTransition) Transition(androidx.transition.Transition) AutoTransition(androidx.transition.AutoTransition) ConstraintSet(androidx.constraintlayout.widget.ConstraintSet)

Aggregations

AutoTransition (androidx.transition.AutoTransition)11 ConstraintSet (androidx.constraintlayout.widget.ConstraintSet)8 Transition (androidx.transition.Transition)7 View (android.view.View)5 ImageView (android.widget.ImageView)5 TextView (android.widget.TextView)5 RecyclerView (androidx.recyclerview.widget.RecyclerView)5 AvatarImageView (org.thoughtcrime.securesms.components.AvatarImageView)4 ViewGroup (android.view.ViewGroup)2 Animator (android.animation.Animator)1 ArgbEvaluator (android.animation.ArgbEvaluator)1 ValueAnimator (android.animation.ValueAnimator)1 Editable (android.text.Editable)1 TextWatcher (android.text.TextWatcher)1 CompoundButton (android.widget.CompoundButton)1 RelativeLayout (android.widget.RelativeLayout)1 AnimatedVectorDrawableCompat (androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat)1 AlarmData (james.alarmio.data.AlarmData)1 SoundData (james.alarmio.data.SoundData)1 TimerData (james.alarmio.data.TimerData)1