2009-05-15 11:32:49 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-05-30 07:54:49 -04:00
|
|
|
<!--
|
|
|
|
Yaaic - Yet Another Android IRC Client
|
|
|
|
|
|
|
|
Copyright 2009 Sebastian Kaspari
|
|
|
|
|
|
|
|
This file is part of Yaaic.
|
|
|
|
|
|
|
|
Yaaic 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.
|
|
|
|
|
|
|
|
Yaaic 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 Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2009-05-15 11:32:49 -04:00
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
2010-03-11 18:07:30 -05:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:scrollbarStyle="outsideOverlay">
|
2009-05-15 11:32:49 -04:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
2010-03-11 18:07:30 -05:00
|
|
|
<TextView
|
|
|
|
android:text="Server"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#ff333333"
|
|
|
|
android:textSize="14px"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:padding="3px"
|
|
|
|
android:layout_margin="2px" />
|
2009-05-15 11:32:49 -04:00
|
|
|
<TextView
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_title"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/title"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true" />
|
2009-05-15 11:32:49 -04:00
|
|
|
<TextView
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_host"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/host"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true" />
|
2009-05-15 11:32:49 -04:00
|
|
|
<TextView
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_port"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/port"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:singleLine="true"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:minEms="6"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:text="6667" />
|
|
|
|
<TextView
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_password"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/password"
|
|
|
|
android:layout_width="wrap_content"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:password="true"
|
|
|
|
android:minEms="10"
|
|
|
|
android:maxEms="10" />
|
2009-05-15 11:32:49 -04:00
|
|
|
<CheckBox
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/autoconnect"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_port"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:visibility="gone" />
|
2009-05-15 11:32:49 -04:00
|
|
|
<CheckBox
|
2009-12-17 15:27:57 -05:00
|
|
|
android:id="@+id/useSSL"
|
2009-05-15 11:32:49 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:text="@string/server_useSSL"
|
2009-11-20 13:27:02 -05:00
|
|
|
android:visibility="gone" />
|
2010-03-11 18:07:30 -05:00
|
|
|
<TextView
|
|
|
|
android:text="User"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#ff333333"
|
|
|
|
android:textSize="14px"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:padding="3px"
|
|
|
|
android:layout_margin="2px" />
|
|
|
|
<TextView
|
|
|
|
android:text="Nickname"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/nickname"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
|
|
android:text="Ident"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/ident"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="yaaic"
|
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
|
|
android:text="Real Name"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/realname"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text=""
|
|
|
|
android:singleLine="true" />
|
2009-12-17 15:27:57 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
|
|
android:id="@+id/add"
|
|
|
|
android:text="@string/add_server"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel"
|
|
|
|
android:text="@string/cancel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0" />
|
|
|
|
</LinearLayout>
|
2009-05-15 11:32:49 -04:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|