xml - Android scroll content above -
when typing in richeditor scroll content held in scrollview (the effect richeditor have, if within scrollview). unfortunately cannot add richeditor within scrollview seems mess entire scroll, forcing user manually scroll down page when text added richeditor.
<scrollview android:id="@+id/scroll" android:layout_width="match_parent" android:layout_height="wrap_content" > <linearlayout android:layout_width="match_parent" android:layout_height="wrap_content" > <edittext android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/titlefield" /> </linearlayout> </scrollview> <linearlayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/scroll" > <jp.wasabeef.richeditor.richeditor android:id="@+id/editor" android:layout_width="match_parent" android:layout_height="wrap_content" /> </linearlayout>
Comments
Post a Comment