<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
///Content
</android.support.constraint.ConstraintLayout>
</android.support.v4.widget.NestedScrollView>
在这种情况下,约束布局为long。我对儿童观的边缘化也有意见。我有很多类似于
<TextView
android:id="@+id/tvDurationPlan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_medium"
android:textSize="@dimen/txt_size_small"
style="@style/WhiteTextViewStyle"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="@+id/tvPlanLabel"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvPlanLabel"
app:layout_constraintVertical_bias="0.0"
android:layout_marginEnd="16dp"
tools:text="TextView" />
而且布局没用。
请帮帮我!
最佳答案
我可以说,这个bug在com.android.support.constraint:constraint-layout:1.1.0-beta3中修复了