Mam problem tego typu że umieszczam napis w TextView a TextView w ScrollView.
W moim przykladzie sa 2x ScrollView ale to dlatego ze za pomocą kodudodaje kolejne wiersze i właśnie pionowo przewijanie normalnie funkcjonuje a pionowo text zawija się do kolejnego wiersza.
I moje pytanie brzmi w jaki sposób napisać kod aby text wyszedł poza ekran a można było go przewinąć?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="horizontal">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/addRow">
<TextView
android:id="@+id/textField"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/ViewTransaction"
android:text="#ID | Data | Time | Pair | Lot | BUY/SELL | SL | TP | Profit | R/R | Long"/>
</LinearLayout>
</ScrollView>
</ScrollView>
</LinearLayout>
Z góry dziękuje za poświęcony mi czas. :)