aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-13 21:37:27 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-13 21:37:27 +0100
commit9c811f8fb20b056ea12803e93e5ea20dc052bdcd (patch)
tree7c4be8327ca3722f41d7784c126081a92585c26c /res
parent507cfba6ad481b078528ead056088e6aa6c4a3fc (diff)
sharing text
Diffstat (limited to 'res')
-rw-r--r--res/drawable/grey.xml5
-rw-r--r--res/drawable/greybackground.xml6
-rw-r--r--res/layout/share_with.xml50
-rw-r--r--res/values/strings.xml1
4 files changed, 62 insertions, 0 deletions
diff --git a/res/drawable/grey.xml b/res/drawable/grey.xml
new file mode 100644
index 00000000..bdb9383f
--- /dev/null
+++ b/res/drawable/grey.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="#ffdddddd" />
+</shape> \ No newline at end of file
diff --git a/res/drawable/greybackground.xml b/res/drawable/greybackground.xml
new file mode 100644
index 00000000..529af5e8
--- /dev/null
+++ b/res/drawable/greybackground.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item
+ android:state_pressed="true"
+ android:drawable="@drawable/grey" />
+</selector>
diff --git a/res/layout/share_with.xml b/res/layout/share_with.xml
new file mode 100644
index 00000000..ae73a688
--- /dev/null
+++ b/res/layout/share_with.xml
@@ -0,0 +1,50 @@
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+<LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/conversations_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Active Conversations"
+ style="@style/sectionHeader"
+ android:paddingLeft="8dp"
+ android:paddingTop="8dp"
+ android:paddingRight="8dp"/>
+
+
+ <LinearLayout
+ android:id="@+id/conversations"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:divider="?android:dividerHorizontal"
+ android:showDividers="middle" >
+
+ </LinearLayout>
+ <TextView
+ android:id="@+id/contacts_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Contacts"
+ style="@style/sectionHeader"
+ android:paddingLeft="8dp"
+ android:paddingTop="8dp"
+ android:paddingRight="8dp"/>
+ <LinearLayout
+ android:id="@+id/contacts"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:divider="?android:dividerHorizontal"
+ android:showDividers="middle" >
+
+ </LinearLayout>
+</LinearLayout>
+</ScrollView> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 646ec4c5..937f5570 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -25,4 +25,5 @@
<string name="untrusted_cert_hint">The server %s presented you with an unstrusted, possible self signed, certificate.</string>
<string name="account_info">Server Info</string>
<string name="register_account">Register new account on server</string>
+ <string name="share_with">Share with</string>
</resources>