From 15caf8a97c2d6ea6800906b5136e128f25213417 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Thu, 5 Dec 2013 00:36:38 +0000 Subject: [PATCH] Reorder main fragment --- res/layout/fragment_main.xml | 58 ++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/res/layout/fragment_main.xml b/res/layout/fragment_main.xml index a20ecba80..695f74454 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> -- GitLab