Corey Johnson
Oct 10, 2018 ยท 1 min read

I found this really difficult while designing the layout, in addition to the point you made.

I found that if you use the tools namespace, it can help with making sure your layout looks the way you intend.

Example:

<merge
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:parentTag="android.widget.LinearLayout"
    tools:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    Corey Johnson

    Written by

    Android Developer who is enthusiastic about education and user experiences!