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
|
|
|
|
|
2011-02-05 07:00:12 -05:00
|
|
|
Copyright 2009-2011 Sebastian Kaspari
|
2009-05-30 07:54:49 -04:00
|
|
|
|
|
|
|
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
|
2010-11-18 12:52:19 -05:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:scrollbarStyle="outsideInset">
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
2012-01-21 17:07:44 -05:00
|
|
|
android:layout_height="wrap_content">
|
2010-11-18 12:52:19 -05:00
|
|
|
<TextView
|
|
|
|
android:text="@string/server"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-01-21 17:07:44 -05:00
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle" />
|
2010-11-18 12:52:19 -05:00
|
|
|
<TextView
|
|
|
|
android:text="@string/server_title"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/title"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_title"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
|
|
android:text="@string/server_host"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/host"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_host"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
|
|
android:text="@string/server_port"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/port"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_port"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:minEms="6"
|
|
|
|
android:text="6667" />
|
|
|
|
<TextView
|
|
|
|
android:text="@string/server_password"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/password"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_password"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:password="true"
|
|
|
|
android:minEms="10"
|
|
|
|
android:maxEms="10" />
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/autoconnect"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_port"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/server_port"
|
|
|
|
android:visibility="gone" />
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/useSSL"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/server_useSSL"
|
2010-11-18 12:52:19 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/server_useSSL" />
|
2010-04-25 05:43:45 -04:00
|
|
|
<!-- ############################################################################ -->
|
2010-03-11 18:07:30 -05:00
|
|
|
<TextView
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/user"
|
2010-03-11 18:07:30 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-01-21 17:07:44 -05:00
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle" />
|
2010-03-11 18:07:30 -05:00
|
|
|
<TextView
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/nickname"
|
2010-03-11 18:07:30 -05:00
|
|
|
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"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:singleLine="true"
|
|
|
|
android:contentDescription="@string/nickname" />
|
2010-09-06 22:07:40 -04:00
|
|
|
<Button
|
|
|
|
android:id="@+id/aliases"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/aliases" />
|
2010-03-11 18:07:30 -05:00
|
|
|
<TextView
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/ident"
|
2010-03-11 18:07:30 -05:00
|
|
|
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"
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/ident"
|
2010-03-11 18:07:30 -05:00
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/realname"
|
2010-03-11 18:07:30 -05:00
|
|
|
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=""
|
2011-02-19 15:58:37 -05:00
|
|
|
android:contentDescription="@string/realname"
|
2010-03-11 18:07:30 -05:00
|
|
|
android:singleLine="true" />
|
2010-04-25 05:43:45 -04:00
|
|
|
<!-- ############################################################################ -->
|
2010-11-18 12:52:19 -05:00
|
|
|
<TextView
|
2012-01-21 17:07:44 -05:00
|
|
|
android:text="@string/on_connect"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle" />
|
2011-03-06 07:47:14 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/authentication"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/authentication" />
|
2010-11-18 12:52:19 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/channels"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/channels" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/commands"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/commands" />
|
2010-04-25 05:43:45 -04:00
|
|
|
<!-- ############################################################################ -->
|
2010-11-18 12:52:19 -05:00
|
|
|
<TextView
|
2012-01-21 17:07:44 -05:00
|
|
|
android:text="@string/preferences"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="3dip"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle" />
|
2010-04-05 16:36:04 -04:00
|
|
|
<TextView
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/charset"
|
2010-04-05 16:36:04 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Spinner
|
2010-11-18 12:52:19 -05:00
|
|
|
android:id="@+id/charset"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:prompt="@string/select_charset" />
|
2010-04-25 05:43:45 -04:00
|
|
|
<!-- ############################################################################ -->
|
2010-11-18 12:52:19 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:layout_width="fill_parent"
|
2010-04-25 04:19:59 -04:00
|
|
|
android:layout_height="wrap_content"
|
2011-03-06 07:06:19 -05:00
|
|
|
android:paddingTop="10dp">
|
2010-11-18 12:52:19 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/add"
|
|
|
|
android:text="@string/server_save"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
2009-12-17 15:27:57 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel"
|
2010-09-05 12:24:22 -04:00
|
|
|
android:text="@string/action_cancel"
|
2009-12-17 15:27:57 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0" />
|
2010-11-18 12:52:19 -05:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2009-05-15 11:32:49 -04:00
|
|
|
</ScrollView>
|