Skip to content
Permalink
Browse files

Update to ConstraintLayout 2.0.0-beta1

  • Loading branch information...
chrisbanes committed May 10, 2019
1 parent 807e6e9 commit 272215e4d7bc3ef419c94ed0ca2fcb9754f2f56d
@@ -23,6 +23,7 @@ import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.constraintlayout.motion.widget.MotionLayout
import androidx.constraintlayout.motion.widget.MotionScene
import androidx.core.os.bundleOf
import androidx.core.view.isGone
import androidx.core.view.isVisible
@@ -119,6 +120,10 @@ class ShowDetailsFragment : TiviMvRxFragment() {
}
}
}

override fun allowsTransition(transition: MotionScene.Transition): Boolean {
return true
}
})

binding.detailsFollowFab.setOnClickListener {
@@ -27,20 +27,20 @@
<ConstraintSet android:id="@+id/nav_closed">
<Constraint android:id="@id/home_content_background">
<Layout
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/home_toolbar"
app:layout_height="0dp"
app:layout_width="match_parent" />
app:layout_constraintTop_toBottomOf="@id/home_toolbar" />
</Constraint>
</ConstraintSet>

<ConstraintSet android:id="@+id/nav_open">
<Constraint android:id="@id/home_content_background">
<Layout
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/home_nav_rv"
app:layout_height="0dp"
app:layout_width="match_parent" />
app:layout_constraintTop_toBottomOf="@id/home_nav_rv" />
</Constraint>
</ConstraintSet>

@@ -108,7 +108,7 @@ object Libs {

val preference = "androidx.preference:preference:1.1.0-alpha02"

val constraintlayout = "androidx.constraintlayout:constraintlayout:2.0.0-alpha5"
val constraintlayout = "androidx.constraintlayout:constraintlayout:2.0.0-beta1"

val coreKtx = "androidx.core:core-ktx:1.0.1"

0 comments on commit 272215e

Please sign in to comment.
You can’t perform that action at this time.