<RelativeLayout>
    <AppBarLayout>
        ...
    </AppBarLayout>
    <LinearLayout
        android:id="@+id/tool_list"
        android:layout_width="match_parent"
        android:layout_height="@dimen/editor_item_size"
        android:layout_alignParentBottom="true"
        android:orientation="horizontal">
        ...
    </LinearLayout>
    <ScrollView
        android:id="@+id/custom_setting_panel"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/tool_list"
        android:layout_below="@id/appBarLayout">
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <LinearLayout
                android:id="@+id/category_area"
                android:layout_width="match_parent"
                android:layout_height="56dp">
                ...
            </LinearLayout>
            <LinearLayout
                android:id="@+id/title_area"
                android:layout_width="match_parent"
                android:layout_height="56dp"
                android:layout_below="@id/category_area"
                android:orientation="horizontal">
                <TextView
                    android:layout_width="@dimen/editor_item_size"
                    android:layout_height="match_parent"/>
                <EditText
                    android:id="@+id/title_edit"
                    android:layout_width="match_parent"
                    android:layout_height="40dp"/>
            </LinearLayout>
            <View
                android:id="@+id/divider"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_below="@+id/title_area"
                android:background="@color/colorDivider" />
            <jp.wasabeef.richeditor.RichEditor
                android:id="@+id/editor"
                android:layout_width="match_parent"
                android:layout_height="250dp"
                android:layout_below="@id/divider"/>
        </RelativeLayout>
    </ScrollView>
</RelativeLayout>
this is my writeActivity.xml
when i clicked title_edit like this.
i want this flow like below picture.
but it's doesn't work way i wanted it to.
it work like this.
i think i was able to do it this way before, but i think i got it wrong.
i've added a scrolling view, but it doesn't seem to make any difference.
how can I do picture 2 ?



 
    