69 lines
2.5 KiB
XML
69 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
Yaaic - Yet Another Android IRC Client
|
|
|
|
Copyright 2009-2013 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/>.
|
|
-->
|
|
|
|
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
card_view:cardBackgroundColor="@color/cardview_background">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/connection"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_navigation_server_disconnected"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/menu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:clickable="true"
|
|
android:src="@drawable/ic_action_menu" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/connection"
|
|
android:layout_toLeftOf="@id/menu"
|
|
android:text="Server"
|
|
android:textAppearance="@android:style/TextAppearance.Material.Title" />
|
|
|
|
<TextView
|
|
android:id="@+id/host"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/title"
|
|
android:layout_toRightOf="@id/connection"
|
|
android:layout_toLeftOf="@id/menu"
|
|
android:text="irc.example.com"
|
|
android:textAppearance="@android:style/TextAppearance.Material.Body1" />
|
|
|
|
</RelativeLayout>
|
|
</android.support.v7.widget.CardView>
|