তাই সম্প্রতি, অ্যান্ড্রয়েড স্টুডিও ২.২ এর সাথে একটি নতুন কনস্ট্রেন্টলয়েট রয়েছে যা ডিজাইনিংকে অনেক সহজ করে তুলেছে, কিন্তু এর বিপরীতে RelativeLayoutএবং এর আশেপাশে Linearlayoutআমি একটি ব্যবহার করতে পারি না । এটা কি সম্ভব? যদি তাই হয়, কিভাবে? ScrollViewConstraintLayot
অর্থাত্
<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>