Yani yakın zamanda Android Studio 2.2 ile orada çok daha kolay tasarımı yapan yeni ConstraintLayout, ama aksine RelativeLayout
ve Linearlayout
ben kullanamıyorum, ScrollView
surround ConstraintLayot
. Mümkün mü? Öyleyse nasıl?
yani
<ScrollView 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="match_parent"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp">
<android.support.constraint.ConstraintLayout
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp">
<!-- Have whatever children you want inside -->
</android.support.constraint.ConstraintLayout>
</ScrollView>