I am trying to implement a android app. I have problems with TextView in a ScrollView. When I write some text into TextView according to its lenght some rows of the text at the top cannot be seen. I think they are occuluded with other things which resides in the top. Here is my xml file.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<RadioGroup
android:id="@+id/RadioGroup1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RadioButton
android:id="@+id/SayisalRadioButton"
android:layout_width="158dp"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/SayisalLoto" />
<RadioButton
android:id="@+id/SuperLotoRadioButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/SuperLoto" />
</RadioGroup>
<TableRow
android:id="@+id/KolonSayisiTableRow"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<EditText
android:id="@+id/KolonSayisiEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/KolonSayisiHint"
android:inputType="number"
android:text="@string/Bos" >
<requestFocus />
</EditText>
<Button
android:id="@+id/SallaButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/Uret" />
<ProgressBar
android:id="@+id/SonucProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:visibility="invisible" />
</TableRow>
<ScrollView
android:id="@+id/SonucScrollView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center" >
<TextView
android:id="@+id/SonucTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:editable="false"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:text="@string/Bos"
android:textAppearance="?android:attr/textAppearanceMedium" />
</ScrollView>
</LinearLayout>
For Example when I put a text with multiple lines into the TextView with ID : SonucTextView according to its size I cannot see the some parts of the text at the top. How can I solve this problem? Is it related to the layout that I am using?