From 0f19cf4207c5181a7abf021a1afcd9c73e6f8feb Mon Sep 17 00:00:00 2001 From: Kyle Horimoto Date: Fri, 25 Sep 2015 14:30:03 -0700 Subject: kruton comments. --- app/src/main/res/layout/activity_edit_host.xml | 3 +- app/src/main/res/layout/fragment_host_editor.xml | 48 ++++++++++++++++-------- app/src/main/res/values/strings.xml | 3 +- 3 files changed, 37 insertions(+), 17 deletions(-) (limited to 'app/src') diff --git a/app/src/main/res/layout/activity_edit_host.xml b/app/src/main/res/layout/activity_edit_host.xml index f2aa96c..f417b18 100644 --- a/app/src/main/res/layout/activity_edit_host.xml +++ b/app/src/main/res/layout/activity_edit_host.xml @@ -20,4 +20,5 @@ android:id="@+id/fragment_container" android:layout_width="fill_parent" android:layout_height="fill_parent" - tools:context="org.connectbot.EditHostActivity" /> + tools:context="org.connectbot.EditHostActivity" + tools:ignore="MergeRootFrame" /> diff --git a/app/src/main/res/layout/fragment_host_editor.xml b/app/src/main/res/layout/fragment_host_editor.xml index a88c1d4..20bc852 100644 --- a/app/src/main/res/layout/fragment_host_editor.xml +++ b/app/src/main/res/layout/fragment_host_editor.xml @@ -20,7 +20,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - tools:context="org.connectbot.HostEditorFragment"> + tools:context="org.connectbot.HostEditorFragment" + > + android:layout_marginBottom="4dp" + > + android:textSize="12sp" + /> + android:layout_height="wrap_content" + /> + android:animateLayoutChanges="true" + tools:ignore="UnusedAttribute" + > + android:layout_height="wrap_content" + > + android:inputType="text" + /> @@ -72,7 +80,8 @@ android:layout_margin="16dp" android:src="@drawable/ic_expand_more" android:contentDescription="@string/expand" - android:background="#00000000" /> + android:background="#00000000" + /> @@ -82,13 +91,17 @@ android:layout_height="wrap_content" android:orientation="vertical" android:layout_marginLeft="56dp" + android:layout_marginStart="56dp" android:visibility="gone" - android:animateLayoutChanges="true"> + android:animateLayoutChanges="true" + tools:ignore="UnusedAttribute" + > + android:layout_height="wrap_content" + > + android:inputType="text" + /> + android:layout_height="wrap_content" + > + android:inputType="text" + /> + android:layout_height="wrap_content" + > + android:maxLines="1" + /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index aa40906..be9518a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -594,8 +594,9 @@ F11 F12 - Connection type: + Protocol + Expand -- cgit v1.2.3