75 lines
2.7 KiB
XML
75 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright 2016 Hippo Seven
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingLeft="?attr/dialogPreferredPadding"
|
|
android:paddingTop="@dimen/abc_dialog_padding_top_material"
|
|
android:paddingRight="?attr/dialogPreferredPadding">
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:id="@+id/enable"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/enable"/>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/ip_input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/ip"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/ip"
|
|
android:inputType="text"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/port_input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/port"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/port"
|
|
android:inputType="numberDecimal"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/passkey_input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/passkey"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/Passkey"
|
|
android:inputType="text"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</LinearLayout>
|