Fixed test info cannot fully display

This commit is contained in:
PeratX 2017-04-06 21:42:03 +08:00
parent 7fe0b65d33
commit 7e29d21ac7
2 changed files with 34 additions and 25 deletions

View File

@ -2,7 +2,7 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/scrollView"
android:id="@+id/scrollView_about"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout

View File

@ -1,30 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_server_test"
android:id="@+id/scrollView_server_test"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="org.itxtech.daedalus.ServerTestActivity">
<Spinner
android:layout_height="wrap_content">
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_server_test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/spinner_server_choice" android:layout_alignParentTop="true"
android:entries="@array/dns_server_options"/>
<Button
android:text="@string/action_start_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_below="@+id/spinner_server_choice"
android:layout_alignParentStart="true" android:layout_marginTop="20dp" android:id="@+id/button_start_test"
android:layout_alignParentEnd="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_below="@+id/button_start_test"
android:layout_alignParentStart="true" android:layout_marginTop="10dp" android:id="@+id/textView_test_info"
android:textSize="18sp"/>
</RelativeLayout>
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="org.itxtech.daedalus.ServerTestActivity">
<Spinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/spinner_server_choice" android:layout_alignParentTop="true"
android:entries="@array/dns_server_options"/>
<Button
android:text="@string/action_start_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_below="@+id/spinner_server_choice"
android:layout_alignParentStart="true" android:layout_marginTop="20dp"
android:id="@+id/button_start_test"
android:layout_alignParentEnd="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_below="@+id/button_start_test"
android:layout_alignParentStart="true" android:layout_marginTop="10dp"
android:id="@+id/textView_test_info"
android:textSize="18sp"/>
</RelativeLayout>
</ScrollView>