aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/chat.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-22 22:37:55 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-22 22:37:55 -0700
commit167d895345e7482807d65efe01745cb123846eda (patch)
tree14a100bcf62dd55176cd61693916e268f109449f /subsonic-android/res/layout/chat.xml
parent1654cf11f1b61532e5270fd53b152906fb2e590c (diff)
downloaddsub-167d895345e7482807d65efe01745cb123846eda.tar.gz
dsub-167d895345e7482807d65efe01745cb123846eda.tar.bz2
dsub-167d895345e7482807d65efe01745cb123846eda.zip
Merge Chat Tab from UltraSonic
Diffstat (limited to 'subsonic-android/res/layout/chat.xml')
-rw-r--r--subsonic-android/res/layout/chat.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/subsonic-android/res/layout/chat.xml b/subsonic-android/res/layout/chat.xml
new file mode 100644
index 00000000..fdeb5b36
--- /dev/null
+++ b/subsonic-android/res/layout/chat.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <include layout="@layout/tab_progress" />
+
+ <ListView
+ android:id="@+id/chat_entries"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:textFilterEnabled="true" />
+
+ <LinearLayout
+ android:layout_height="4dip"
+ android:layout_width="fill_parent"
+ android:layout_marginTop="4dip"/>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="bottom" >
+
+ <EditText
+ android:id="@+id/chat_edittext"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_weight="1"
+ android:autoLink="all"
+ android:hint="@string/chat.send_a_message"
+ android:inputType="textEmailAddress|textMultiLine"
+ android:linksClickable="true"
+ android:paddingBottom="10dip"
+ android:paddingTop="10dip" />
+
+ <ImageButton
+ android:id="@+id/chat_send"
+ android:layout_width="60dip"
+ android:layout_height="40dip"
+ android:src="?attr/chat_send" />
+
+ </LinearLayout>
+</LinearLayout> \ No newline at end of file