Yaaic/res/layout/serveritem.xml

61 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
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/>.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" android:padding="3px">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@android:drawable/presence_away"
android:layout_margin="5px"
android:drawablePadding="5px"
android:text="" />
<!-- <RadioButton
android:id="@+id/server_checkbox"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="5px"/>
-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/server_title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Title"
android:textSize="22px"/>
<TextView
android:id="@+id/server_host"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Host" />
<TextView
android:id="@+id/server_channels"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Channels" />
</LinearLayout>
</LinearLayout>