android: Make remote identity configurable in the GUI
[strongswan.git] / src / frontends / android / app / src / main / res / layout / profile_detail_view.xml
index 4a1cc61..737c2f9 100644 (file)
                 android:text="@string/profile_advanced_label" />
 
             <org.strongswan.android.ui.widget.TextInputLayoutHelper
-                android:id="@+id/mtu_wrap"
+                android:id="@+id/remote_id_wrap"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_marginTop="10dp"
+                app:helper_text="@string/profile_remote_id_hint" >
+
+                <android.support.design.widget.TextInputEditText
+                    android:id="@+id/remote_id"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:singleLine="true"
+                    android:inputType="textNoSuggestions"
+                    android:hint="@string/profile_remote_id_label" />
+
+            </org.strongswan.android.ui.widget.TextInputLayoutHelper>
+
+            <org.strongswan.android.ui.widget.TextInputLayoutHelper
+                android:id="@+id/mtu_wrap"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
                 app:helper_text="@string/profile_mtu_hint" >
 
                 <android.support.design.widget.TextInputEditText