aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-24 02:04:05 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-01-24 02:04:05 +0100
commit35f8ab58f4b6f97f02031b056d2a5f6f993672cf (patch)
treef3b9cda64e6e08337a44588a564d5194fe8b3225 /res
inital commit
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/es_slidingpane_shadow.xml8
-rw-r--r--res/drawable-hdpi/ic_action_add.pngbin0 -> 181 bytes
-rw-r--r--res/drawable-hdpi/ic_action_send.pngbin0 -> 342 bytes
-rw-r--r--res/drawable-hdpi/ic_action_send_now.pngbin0 -> 578 bytes
-rw-r--r--res/drawable-hdpi/ic_action_unsecure.pngbin0 -> 368 bytes
-rw-r--r--res/drawable-hdpi/ic_launcher.pngbin0 -> 1615 bytes
-rw-r--r--res/drawable-hdpi/ic_profile.pngbin0 -> 999 bytes
-rw-r--r--res/drawable-mdpi/es_slidingpane_shadow.xml8
-rw-r--r--res/drawable-mdpi/ic_action_add.pngbin0 -> 134 bytes
-rw-r--r--res/drawable-mdpi/ic_action_send.pngbin0 -> 246 bytes
-rw-r--r--res/drawable-mdpi/ic_action_unsecure.pngbin0 -> 283 bytes
-rw-r--r--res/drawable-mdpi/ic_launcher.pngbin0 -> 1111 bytes
-rw-r--r--res/drawable-mdpi/ic_profile.pngbin0 -> 622 bytes
-rw-r--r--res/drawable-xhdpi/es_slidingpane_shadow.xml7
-rw-r--r--res/drawable-xhdpi/ic_action_add.pngbin0 -> 201 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_send.pngbin0 -> 416 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_send_now.pngbin0 -> 759 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_unsecure.pngbin0 -> 458 bytes
-rw-r--r--res/drawable-xhdpi/ic_launcher.pngbin0 -> 2146 bytes
-rw-r--r--res/drawable-xhdpi/ic_profile.pngbin0 -> 1374 bytes
-rw-r--r--res/drawable-xhdpi/section_header.xml10
-rw-r--r--res/drawable-xxhdpi/es_slidingpane_shadow.xml8
-rw-r--r--res/drawable-xxhdpi/ic_launcher.pngbin0 -> 3272 bytes
-rw-r--r--res/drawable-xxhdpi/ic_profile.pngbin0 -> 2137 bytes
-rw-r--r--res/layout/activity_conversations.xml29
-rw-r--r--res/layout/activity_new_conversation.xml82
-rw-r--r--res/layout/contact.xml44
-rw-r--r--res/layout/conversation_list_row.xml62
-rw-r--r--res/layout/frament_conversation.xml64
-rw-r--r--res/menu/conversations.xml42
-rw-r--r--res/values-sw600dp/dimens.xml8
-rw-r--r--res/values-sw720dp-land/dimens.xml9
-rw-r--r--res/values-v11/styles.xml11
-rw-r--r--res/values-v14/styles.xml12
-rw-r--r--res/values/arrays.xml13
-rw-r--r--res/values/dimens.xml7
-rw-r--r--res/values/strings.xml14
-rw-r--r--res/values/styles.xml37
-rw-r--r--res/xml/preferences.xml41
39 files changed, 516 insertions, 0 deletions
diff --git a/res/drawable-hdpi/es_slidingpane_shadow.xml b/res/drawable-hdpi/es_slidingpane_shadow.xml
new file mode 100644
index 000000000..eaca7894e
--- /dev/null
+++ b/res/drawable-hdpi/es_slidingpane_shadow.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+<gradient
+ android:centerColor="#8B0000"
+ android:endColor="#34FFDD"
+ android:startColor="#FF00FF" />
+<size android:width="5.0dp" android:height="0.5dp" />
+</shape> \ No newline at end of file
diff --git a/res/drawable-hdpi/ic_action_add.png b/res/drawable-hdpi/ic_action_add.png
new file mode 100644
index 000000000..aa7cf4f2c
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_add.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_action_send.png b/res/drawable-hdpi/ic_action_send.png
new file mode 100644
index 000000000..6384a4eec
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_send.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_action_send_now.png b/res/drawable-hdpi/ic_action_send_now.png
new file mode 100644
index 000000000..ff0e369ee
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_send_now.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_action_unsecure.png b/res/drawable-hdpi/ic_action_unsecure.png
new file mode 100644
index 000000000..b9f442d57
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_unsecure.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 000000000..3125b12dd
--- /dev/null
+++ b/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_profile.png b/res/drawable-hdpi/ic_profile.png
new file mode 100644
index 000000000..3f071dec7
--- /dev/null
+++ b/res/drawable-hdpi/ic_profile.png
Binary files differ
diff --git a/res/drawable-mdpi/es_slidingpane_shadow.xml b/res/drawable-mdpi/es_slidingpane_shadow.xml
new file mode 100644
index 000000000..eaca7894e
--- /dev/null
+++ b/res/drawable-mdpi/es_slidingpane_shadow.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+<gradient
+ android:centerColor="#8B0000"
+ android:endColor="#34FFDD"
+ android:startColor="#FF00FF" />
+<size android:width="5.0dp" android:height="0.5dp" />
+</shape> \ No newline at end of file
diff --git a/res/drawable-mdpi/ic_action_add.png b/res/drawable-mdpi/ic_action_add.png
new file mode 100644
index 000000000..99b189a0c
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_add.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_action_send.png b/res/drawable-mdpi/ic_action_send.png
new file mode 100644
index 000000000..4552ae6db
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_send.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_action_unsecure.png b/res/drawable-mdpi/ic_action_unsecure.png
new file mode 100644
index 000000000..84072abd9
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_unsecure.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 000000000..b3c9a5e10
--- /dev/null
+++ b/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_profile.png b/res/drawable-mdpi/ic_profile.png
new file mode 100644
index 000000000..0d056c7cc
--- /dev/null
+++ b/res/drawable-mdpi/ic_profile.png
Binary files differ
diff --git a/res/drawable-xhdpi/es_slidingpane_shadow.xml b/res/drawable-xhdpi/es_slidingpane_shadow.xml
new file mode 100644
index 000000000..cc711819e
--- /dev/null
+++ b/res/drawable-xhdpi/es_slidingpane_shadow.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+<gradient
+ android:endColor="#cccccc"
+ android:startColor="#f9f9f9" />
+<size android:width="3.0dp" android:height="0.5dp" />
+</shape> \ No newline at end of file
diff --git a/res/drawable-xhdpi/ic_action_add.png b/res/drawable-xhdpi/ic_action_add.png
new file mode 100644
index 000000000..9d6af0423
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_add.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_send.png b/res/drawable-xhdpi/ic_action_send.png
new file mode 100644
index 000000000..652ac68d0
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_send.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_send_now.png b/res/drawable-xhdpi/ic_action_send_now.png
new file mode 100644
index 000000000..373dde239
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_send_now.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_unsecure.png b/res/drawable-xhdpi/ic_action_unsecure.png
new file mode 100644
index 000000000..96b128f2c
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_unsecure.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..5ef36c2f1
--- /dev/null
+++ b/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_profile.png b/res/drawable-xhdpi/ic_profile.png
new file mode 100644
index 000000000..88a82cf09
--- /dev/null
+++ b/res/drawable-xhdpi/ic_profile.png
Binary files differ
diff --git a/res/drawable-xhdpi/section_header.xml b/res/drawable-xhdpi/section_header.xml
new file mode 100644
index 000000000..25f148ce2
--- /dev/null
+++ b/res/drawable-xhdpi/section_header.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <size
+ android:height="1.5dp"
+ android:width="1000dp" />
+
+ <solid android:color="#b7b7b7" />
+</shape> \ No newline at end of file
diff --git a/res/drawable-xxhdpi/es_slidingpane_shadow.xml b/res/drawable-xxhdpi/es_slidingpane_shadow.xml
new file mode 100644
index 000000000..eaca7894e
--- /dev/null
+++ b/res/drawable-xxhdpi/es_slidingpane_shadow.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+<gradient
+ android:centerColor="#8B0000"
+ android:endColor="#34FFDD"
+ android:startColor="#FF00FF" />
+<size android:width="5.0dp" android:height="0.5dp" />
+</shape> \ No newline at end of file
diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..9dbbdd971
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_profile.png b/res/drawable-xxhdpi/ic_profile.png
new file mode 100644
index 000000000..309dc5138
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_profile.png
Binary files differ
diff --git a/res/layout/activity_conversations.xml b/res/layout/activity_conversations.xml
new file mode 100644
index 000000000..ae60de40a
--- /dev/null
+++ b/res/layout/activity_conversations.xml
@@ -0,0 +1,29 @@
+<android.support.v4.widget.SlidingPaneLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/slidingpanelayout">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="336dp"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:divider="#b5b5b5"
+ android:dividerHeight="1dp"
+ android:background="#f9f9f9"
+ />
+
+</LinearLayout>
+<LinearLayout
+ android:id="@+id/selected_conversation"
+ android:layout_width="400dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="#e5e5e5"
+ android:orientation="vertical">
+</LinearLayout>
+</android.support.v4.widget.SlidingPaneLayout> \ No newline at end of file
diff --git a/res/layout/activity_new_conversation.xml b/res/layout/activity_new_conversation.xml
new file mode 100644
index 000000000..688367616
--- /dev/null
+++ b/res/layout/activity_new_conversation.xml
@@ -0,0 +1,82 @@
+<RelativeLayout 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"
+ android:background="#f9f9f9">
+
+ <EditText
+ android:id="@+id/new_conversation_search"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:ems="10"
+ android:inputType="textEmailAddress"
+ android:hint="Search or enter Jabber ID"
+ android:background="#ffffff"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"/>
+
+ <ScrollView
+ android:id="@+id/scrollView1"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_below="@+id/new_conversation_search"
+ android:background="#e5e5e5" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="380dp"
+ android:orientation="vertical"
+ android:padding="8dp" >
+
+ <TextView
+ android:id="@+id/phone_contacts_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Phone Contacts"
+ style="@style/sectionHeader"/>
+ <LinearLayout
+ android:id="@+id/phone_contacts"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical">
+
+ </LinearLayout>
+ <TextView
+ android:id="@+id/jabber_contacts_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Jabber Contacts"
+ style="@style/sectionHeader"/>
+ <LinearLayout
+ android:id="@+id/jabber_contacts"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical">
+
+ </LinearLayout>
+ <TextView
+ android:id="@+id/new_contact_header"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="create new contact"
+ style="@style/sectionHeader"
+ android:visibility="gone"/>
+ <LinearLayout
+ android:id="@+id/create_new_contact"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/contact.xml b/res/layout/contact.xml
new file mode 100644
index 000000000..1b11f0fc5
--- /dev/null
+++ b/res/layout/contact.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+<RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp">
+
+ <ImageView
+ android:id="@+id/contact_photo"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_alignParentLeft="true"
+ android:src="@drawable/ic_profile">
+ </ImageView>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@+id/contact_photo"
+ android:layout_centerVertical="true"
+ android:orientation="vertical"
+ android:paddingLeft="8dp">
+ <TextView
+ android:id="@+id/contact_display_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b"
+ />
+ <TextView
+ android:id="@+id/contact_jid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="#5b5b5b"
+ />
+ </LinearLayout>
+
+</RelativeLayout>
+ <View style="@style/Divider"
+ android:id="@+id/contact_divider"/>
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/conversation_list_row.xml b/res/layout/conversation_list_row.xml
new file mode 100644
index 000000000..5b3959c38
--- /dev/null
+++ b/res/layout/conversation_list_row.xml
@@ -0,0 +1,62 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:padding="5dip">
+
+ <!-- ListRow Left sied Thumbnail image -->
+ <LinearLayout android:id="@+id/thumbnail"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="3dip"
+ android:layout_alignParentLeft="true"
+ android:layout_marginRight="5dip">
+
+ <ImageView
+ android:id="@+id/imageView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_profile" />
+
+ </LinearLayout>
+
+ <!-- Title Of Song-->
+ <TextView
+ android:id="@+id/conversation_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignTop="@+id/thumbnail"
+ android:layout_toRightOf="@+id/thumbnail"
+ android:text="Rihanna Love the way lie"
+ android:textColor="#636363"
+ android:typeface="sans"
+ android:textSize="20dip"/>
+
+ <!-- Artist Name -->
+ <TextView
+ android:id="@+id/conversation_lastmsg"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/conversation_name"
+ android:textColor="#636363"
+ android:textSize="12dip"
+ android:layout_marginTop="1dip"
+ android:layout_toRightOf="@+id/thumbnail"
+ android:text="Just gona stand there and ..." />
+
+ <!-- Rightend Duration -->
+ <TextView
+ android:id="@+id/duration"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignBottom="@id/conversation_name"
+ android:gravity="right"
+ android:text="5:45"
+ android:layout_marginRight="5dip"
+ android:textSize="10dip"
+ android:textColor="#636363"/>
+
+
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/frament_conversation.xml b/res/layout/frament_conversation.xml
new file mode 100644
index 000000000..02fe1f903
--- /dev/null
+++ b/res/layout/frament_conversation.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#f9f9f9">
+
+ <RelativeLayout
+ android:id="@+id/textsend"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true" >
+
+ <EditText
+ android:id="@+id/editText1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@+id/imageButton1"
+ android:ems="10"
+ android:inputType="textMultiLine"
+ android:minLines="1"
+ android:background="#ffffff"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp">
+ </EditText>
+
+ <ImageButton
+ android:id="@+id/imageButton1"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="?android:selectableItemBackground"
+ android:src="@drawable/ic_action_send_now" />
+
+ </RelativeLayout>
+
+ <ScrollView
+ android:id="@+id/scrollView1"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_above="@+id/textsend"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:background="#e5e5e5" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="#e5e5e5"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="TextView" />
+ </LinearLayout>
+ </ScrollView>
+
+</RelativeLayout>
diff --git a/res/menu/conversations.xml b/res/menu/conversations.xml
new file mode 100644
index 000000000..39c36a533
--- /dev/null
+++ b/res/menu/conversations.xml
@@ -0,0 +1,42 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/action_add"
+ android:orderInCategory="10"
+ android:icon="@drawable/ic_action_add"
+ android:showAsAction="always"
+ android:title="@string/action_add" />
+
+ <item
+ android:id="@+id/action_security"
+ android:orderInCategory="20"
+ android:showAsAction="always"
+ android:icon="@drawable/ic_action_unsecure"
+ android:title="@string/action_secure" />
+
+ <item
+ android:id="@+id/action_details"
+ android:orderInCategory="40"
+ android:showAsAction="never"
+ android:title="@string/action_details" />
+
+ <item
+ android:id="@+id/action_archive"
+ android:orderInCategory="50"
+ android:showAsAction="never"
+ android:title="@string/action_archive" />
+
+ <item
+ android:id="@+id/action_accounts"
+ android:orderInCategory="90"
+ android:showAsAction="never"
+ android:title="@string/action_accounts"
+ />
+
+ <item
+ android:id="@+id/action_settings"
+ android:orderInCategory="100"
+ android:showAsAction="never"
+ android:title="@string/action_settings"/>
+
+</menu>
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml
new file mode 100644
index 000000000..44f01db75
--- /dev/null
+++ b/res/values-sw600dp/dimens.xml
@@ -0,0 +1,8 @@
+<resources>
+
+ <!--
+ Customize dimensions originally defined in res/values/dimens.xml (such as
+ screen margins) for sw600dp devices (e.g. 7" tablets) here.
+ -->
+
+</resources>
diff --git a/res/values-sw720dp-land/dimens.xml b/res/values-sw720dp-land/dimens.xml
new file mode 100644
index 000000000..61e3fa8fb
--- /dev/null
+++ b/res/values-sw720dp-land/dimens.xml
@@ -0,0 +1,9 @@
+<resources>
+
+ <!--
+ Customize dimensions originally defined in res/values/dimens.xml (such as
+ screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
+ -->
+ <dimen name="activity_horizontal_margin">128dp</dimen>
+
+</resources>
diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml
new file mode 100644
index 000000000..3c02242ad
--- /dev/null
+++ b/res/values-v11/styles.xml
@@ -0,0 +1,11 @@
+<resources>
+
+ <!--
+ Base application theme for API 11+. This theme completely replaces
+ AppBaseTheme from res/values/styles.xml on API 11+ devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
+ <!-- API 11 theme customizations can go here. -->
+ </style>
+
+</resources>
diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml
new file mode 100644
index 000000000..a91fd0372
--- /dev/null
+++ b/res/values-v14/styles.xml
@@ -0,0 +1,12 @@
+<resources>
+
+ <!--
+ Base application theme for API 14+. This theme completely replaces
+ AppBaseTheme from BOTH res/values/styles.xml and
+ res/values-v11/styles.xml on API 14+ devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+ <!-- API 14 theme customizations can go here. -->
+ </style>
+
+</resources>
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
new file mode 100644
index 000000000..592007ba4
--- /dev/null
+++ b/res/values/arrays.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <array name="conversation_encryption_type_entries">
+ <item>None</item>
+ <item>OpenPGP</item>
+ <item>Off the record</item>
+ </array>
+ <array name="conversation_encryption_type_values">
+ <item>none</item>
+ <item>pgp</item>
+ <item>otr</item>
+ </array>
+</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
new file mode 100644
index 000000000..55c1e5908
--- /dev/null
+++ b/res/values/dimens.xml
@@ -0,0 +1,7 @@
+<resources>
+
+ <!-- Default screen margins, per the Android Design guidelines. -->
+ <dimen name="activity_horizontal_margin">16dp</dimen>
+ <dimen name="activity_vertical_margin">16dp</dimen>
+
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 000000000..053dfa5c1
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">Secure Conversations</string>
+ <string name="action_settings">Settings</string>
+ <string name="action_add">New conversation</string>
+ <string name="action_accounts">Manage accounts</string>
+ <string name="action_archive">Archive</string>
+ <string name="action_details">Show details</string>
+ <string name="action_secure">Secure conversation</string>
+ <string name="title_activity_new_conversation">New Conversation</string>
+ <string name="hello_world">Hello world!</string>
+
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 000000000..31b2823f9
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,37 @@
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!--
+ Base application theme, dependent on API level. This theme is replaced
+ by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Light">
+ <!--
+ Theme customizations available in newer API levels can go in
+ res/values-vXX/styles.xml, while customizations related to
+ backward-compatibility can go here.
+ -->
+ </style>
+
+ <!-- Application theme. -->
+ <style name="AppTheme" parent="AppBaseTheme">
+ <!-- All customizations that are NOT specific to a particular API-level can go here. -->
+ </style>
+
+
+ <style name="sectionHeader" parent="android:Widget.Holo.Light.TextView">
+ <item name="android:drawableBottom">@drawable/section_header</item>
+ <item name="android:drawablePadding">4dp</item>
+ <item name="android:layout_marginTop">8dp</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:textAllCaps">true</item>
+ <item name="android:textColor">#5b5b5b</item>
+ <item name="android:textStyle">bold</item>
+ </style>
+
+ <style name="Divider">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">1.5dp</item>
+ <item name="android:background">#b7b7b7</item>
+ </style>
+
+</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
new file mode 100644
index 000000000..696978deb
--- /dev/null
+++ b/res/xml/preferences.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+ <PreferenceCategory
+ android:title="Security">
+ <CheckBoxPreference
+ android:key="trust_unknown_tls_certificates"
+ android:title="Trust TLS certificates"
+ android:summary="Accounts with untrusted certificates simply will not connect to server"
+ />
+ <ListPreference
+ android:key="default_conversation_encryption_type"
+ android:title="Default conversation encryption"
+ android:dialogTitle="Default conversation encryption"
+ android:entries="@array/conversation_encryption_type_entries"
+ android:entryValues="@array/conversation_encryption_type_values"
+ android:defaultValue="pgp"/>
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:title="Notification settings">
+ <CheckBoxPreference
+ android:key="show_notification"
+ android:title="Notification"
+ android:summary="Show notification in status bar when a new message arrives"
+ />
+ <CheckBoxPreference
+ android:key="vibrate_on_notification"
+ android:dependency="show_notification"
+ android:title="Vibrate"
+ android:summary="Also vibrate when a new message arrives"/>
+ <RingtonePreference
+ android:key="notification_ringtone"
+ android:title="Sound"
+ android:ringtoneType="notification"
+ android:dependency="show_notification"
+ android:summary="Play ringtone with notification"/>
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:title="Advanced settings">
+
+ </PreferenceCategory>
+</PreferenceScreen>