the code run normally on emulator with API 24 changing portrait to landscape. but in a samsung galaxy S4 with API 21 when i turn to side my phone , portrait to landscape. Crash the app. Any suggestion?
The code =
<com.bluejamesbond.text.DocumentView xmlns:ext="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" ext:documentView_cacheConfig="auto_quality" ext:documentView_antialias="true" ext:documentView_hyphen="-" ext:documentView_textFormat="formatted" ext:documentView_text="@string/text_sobremeta1" ext:documentView_textAlignment="justified" ext:documentView_textColor="@color/textosParrafos" style="@style/parrafos"/>
the code run normally on emulator with API 24 changing portrait to landscape. but in a samsung galaxy S4 with API 21 when i turn to side my phone , portrait to landscape. Crash the app. Any suggestion? The code =
<com.bluejamesbond.text.DocumentView xmlns:ext="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" ext:documentView_cacheConfig="auto_quality" ext:documentView_antialias="true" ext:documentView_hyphen="-" ext:documentView_textFormat="formatted" ext:documentView_text="@string/text_sobremeta1" ext:documentView_textAlignment="justified" ext:documentView_textColor="@color/textosParrafos" style="@style/parrafos"/>