diff --git a/res/layout/fragment_main.xml b/res/layout/fragment_main.xml index a20ecba80a2b464c10b3454f3677eff1c0f55e7b..695f74454c62ab3ea2f724c03c27e480b2f43506 100644 --- a/res/layout/fragment_main.xml +++ b/res/layout/fragment_main.xml @@ -1,15 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true" - android:padding="10dp" - android:scrollbarStyle="outsideInset" - > -<LinearLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_height="match_parent" > <ImageView @@ -18,25 +11,6 @@ android:layout_height="wrap_content" android:src="@drawable/i2plogo" /> - <TextView - android:id="@+id/textView4" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/label_statistics" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <TextView - android:id="@+id/main_status_text" - android:layout_width="fill_parent" - android:layout_height="wrap_content" /> - - <TextView - android:id="@+id/textView1" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/label_main_controls" - android:textAppearance="?android:attr/textAppearanceLarge" /> - <Button android:id="@+id/router_start_button" android:layout_width="match_parent" @@ -59,5 +33,31 @@ android:drawableLeft="@drawable/stop_router_icon" /> --> +<ScrollView + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:fillViewport="true" + android:padding="10dp" + android:scrollbarStyle="outsideInset" + > +<LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + > + + <TextView + android:id="@+id/textView4" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/label_statistics" + android:textAppearance="?android:attr/textAppearanceLarge" /> + + <TextView + android:id="@+id/main_status_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + </LinearLayout> </ScrollView> +</LinearLayout>