diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/item_portforward.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/res/layout/item_portforward.xml b/res/layout/item_portforward.xml index 5ab467c..4cdc14c 100644 --- a/res/layout/item_portforward.xml +++ b/res/layout/item_portforward.xml @@ -17,10 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:orientation="vertical" - android:gravity="left|center_vertical" android:layout_width="wrap_content"> + android:gravity="left|center_vertical" + android:layout_width="fill_parent" + android:padding="10dip" + > <TextView android:id="@android:id/text1" @@ -28,6 +31,8 @@ android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:text="Tunnel Nickname" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" /> <TextView @@ -36,6 +41,7 @@ android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall" android:text="Local port 8080 to 192.168.1.1:80" + android:layout_below="@android:id/text1" /> -</LinearLayout> +</RelativeLayout> |