98 lines
3.5 KiB
XML
98 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ LEDD Project
|
|
~ Copyright (C) 2015 LEDD Team
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusableInTouchMode="true"
|
|
android:minWidth="250dp"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="15dp"
|
|
android:paddingRight="15dp"
|
|
android:paddingTop="15dp">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/img_host"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:src="@drawable/ic_computer_black_48dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBottom="@id/img_host"
|
|
android:layout_alignTop="@id/img_host"
|
|
android:layout_marginLeft="7dp"
|
|
android:layout_toRightOf="@id/img_host"
|
|
android:gravity="center"
|
|
android:text="@string/text_choose_daemon"
|
|
android:textAppearance="?android:textAppearanceMedium" />
|
|
|
|
<ProgressBar
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginLeft="5dp"
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:minHeight="50dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/host_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" />
|
|
|
|
</ScrollView>
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/text_or"
|
|
android:textAppearance="?android:textAppearanceMedium" />
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/input_ip_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
app:errorEnabled="true">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/input_ip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/hint_daemon_ip_port"
|
|
android:minWidth="250dp" />
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
</LinearLayout> |