diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-15 04:59:18 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-15 04:59:18 +0100 |
commit | afe12447098424254366f5714645420973b37f36 (patch) | |
tree | c951a639f70aea05da34848b8db4ceaf2594ac4a /res | |
parent | f3b6c9969300e09da5203436718760fbec852a31 (diff) |
muc creation
Diffstat (limited to '')
-rw-r--r-- | res/drawable-hdpi/ic_action_chat.png | bin | 0 -> 295 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_action_chat.png | bin | 0 -> 261 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_action_chat.png | bin | 0 -> 310 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_action_chat.png | bin | 0 -> 383 bytes | |||
-rw-r--r-- | res/layout/activity_new_conversation.xml | 3 | ||||
-rw-r--r-- | res/layout/contact.xml | 3 | ||||
-rw-r--r-- | res/menu/newconversation_context.xml | 14 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
8 files changed, 19 insertions, 2 deletions
diff --git a/res/drawable-hdpi/ic_action_chat.png b/res/drawable-hdpi/ic_action_chat.png Binary files differnew file mode 100644 index 00000000..0847ac46 --- /dev/null +++ b/res/drawable-hdpi/ic_action_chat.png diff --git a/res/drawable-mdpi/ic_action_chat.png b/res/drawable-mdpi/ic_action_chat.png Binary files differnew file mode 100644 index 00000000..8fdb5d75 --- /dev/null +++ b/res/drawable-mdpi/ic_action_chat.png diff --git a/res/drawable-xhdpi/ic_action_chat.png b/res/drawable-xhdpi/ic_action_chat.png Binary files differnew file mode 100644 index 00000000..8a9a4314 --- /dev/null +++ b/res/drawable-xhdpi/ic_action_chat.png diff --git a/res/drawable-xxhdpi/ic_action_chat.png b/res/drawable-xxhdpi/ic_action_chat.png Binary files differnew file mode 100644 index 00000000..04000fd0 --- /dev/null +++ b/res/drawable-xxhdpi/ic_action_chat.png diff --git a/res/layout/activity_new_conversation.xml b/res/layout/activity_new_conversation.xml index 88e1b802..a2b00af1 100644 --- a/res/layout/activity_new_conversation.xml +++ b/res/layout/activity_new_conversation.xml @@ -49,7 +49,8 @@ android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:layout_below="@+id/contacts_header" - tools:listitem="@layout/contact" > + tools:listitem="@layout/contact" + android:choiceMode="multipleChoice"> </ListView> </RelativeLayout>
\ No newline at end of file diff --git a/res/layout/contact.xml b/res/layout/contact.xml index 82404d3f..fcf8e8b9 100644 --- a/res/layout/contact.xml +++ b/res/layout/contact.xml @@ -3,7 +3,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="8dp" - android:paddingBottom="8dp"> + android:paddingBottom="8dp" + android:background="?android:attr/activatedBackgroundIndicator"> <ImageView android:id="@+id/contact_photo" diff --git a/res/menu/newconversation_context.xml b/res/menu/newconversation_context.xml new file mode 100644 index 00000000..64c630f1 --- /dev/null +++ b/res/menu/newconversation_context.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/action_contact_details" + android:showAsAction="ifRoom" + android:icon="@drawable/ic_action_person" + android:title="@string/action_contact_details" /> + <item + android:id="@+id/action_start_conversation" + android:showAsAction="ifRoom" + android:icon="@drawable/ic_action_chat" + android:title="@string/start_conversation" /> +</menu> diff --git a/res/values/strings.xml b/res/values/strings.xml index 062b2b0d..b3a3dcd9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -29,4 +29,5 @@ <string name="ask_again"><u>Click to ask again</u></string> <string name="show_otr_key">OTR fingerprint</string> <string name="no_otr_fingerprint">No OTR Fingerprint generated. Just go ahead an start an encrypted conversation</string> + <string name="start_conversation">Start Conversation</string> </resources> |