1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-11 11:44:59 -05:00
Yaaic/application/res/layout/conversations.xml

85 lines
3.1 KiB
XML
Raw Normal View History

2009-12-17 15:27:57 -05: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/>.
-->
<org.yaaic.view.ConversationLayout
2009-12-17 15:27:57 -05:00
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ff181818">
2009-12-17 15:27:57 -05:00
<LinearLayout
2010-11-18 12:52:19 -05:00
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2011-03-06 07:04:42 -05:00
android:padding="3dp">
2010-11-18 12:52:19 -05:00
<ImageView
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/disconnected"/>
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2011-03-06 07:04:42 -05:00
android:paddingLeft="3dp"
2011-03-15 17:11:55 -04:00
android:textSize="12sp"
2011-03-06 07:04:42 -05:00
android:text="Server"
android:maxLines="1"
2010-11-18 12:52:19 -05:00
android:layout_weight="1" />
</LinearLayout>
<ViewSwitcher
2010-03-05 09:56:57 -05:00
android:id="@+id/switcher"
2010-11-18 12:52:19 -05:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
2011-03-06 05:25:49 -05:00
<org.yaaic.view.ConversationGallery
2010-11-18 12:52:19 -05:00
android:id="@+id/deck"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2011-03-15 23:25:15 -04:00
android:layout_margin="0px"
android:unselectedAlpha="100"
2011-03-06 07:04:42 -05:00
android:spacing="5dp"
2011-03-15 23:25:15 -04:00
android:padding="0dp" />
2010-11-18 12:52:19 -05:00
</ViewSwitcher>
<org.yaaic.view.ConversationSwitcher
android:id="@+id/dots"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<EditText
android:id="@+id/input"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="textImeMultiLine"
android:imeOptions="actionSend" />
2010-11-18 12:52:19 -05:00
<Button
2010-08-29 10:42:50 -04:00
android:id="@+id/speech"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableLeft="@android:drawable/ic_btn_speak_now"
android:visibility="gone" />
2010-11-18 12:52:19 -05:00
</LinearLayout>
</org.yaaic.view.ConversationLayout>