aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-07 02:57:36 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-07 02:57:36 +0100
commitcda1c2c3a12b4c18f13771dd4b58aab6e465176b (patch)
tree9f246adce16c0951f64f4233c4c0ad8d00d7c8e1 /res
parentaa42eb544a1ebf99dc52d71c917b899d1fce628d (diff)
refresh contact list
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_action_refresh.pngbin0 -> 678 bytes
-rw-r--r--res/drawable-mdpi/ic_action_refresh.pngbin0 -> 507 bytes
-rw-r--r--res/drawable-xhdpi/ic_action_refresh.pngbin0 -> 901 bytes
-rw-r--r--res/drawable-xxhdpi/ic_action_refresh.pngbin0 -> 1274 bytes
-rw-r--r--res/layout/activity_new_conversation.xml11
-rw-r--r--res/menu/newconversation.xml6
6 files changed, 16 insertions, 1 deletions
diff --git a/res/drawable-hdpi/ic_action_refresh.png b/res/drawable-hdpi/ic_action_refresh.png
new file mode 100644
index 00000000..45b22282
--- /dev/null
+++ b/res/drawable-hdpi/ic_action_refresh.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_action_refresh.png b/res/drawable-mdpi/ic_action_refresh.png
new file mode 100644
index 00000000..de008e51
--- /dev/null
+++ b/res/drawable-mdpi/ic_action_refresh.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_action_refresh.png b/res/drawable-xhdpi/ic_action_refresh.png
new file mode 100644
index 00000000..cdc160d4
--- /dev/null
+++ b/res/drawable-xhdpi/ic_action_refresh.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_action_refresh.png b/res/drawable-xxhdpi/ic_action_refresh.png
new file mode 100644
index 00000000..cb847f37
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_action_refresh.png
Binary files differ
diff --git a/res/layout/activity_new_conversation.xml b/res/layout/activity_new_conversation.xml
index c993ce49..88e1b802 100644
--- a/res/layout/activity_new_conversation.xml
+++ b/res/layout/activity_new_conversation.xml
@@ -4,6 +4,16 @@
android:layout_height="match_parent"
android:background="#e5e5e5" >
+
+ <ProgressBar
+ android:id="@+id/progressBar1"
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:visibility="gone"
+ />
+
<EditText
android:id="@+id/new_conversation_search"
android:layout_width="wrap_content"
@@ -42,5 +52,4 @@
tools:listitem="@layout/contact" >
</ListView>
-
</RelativeLayout> \ No newline at end of file
diff --git a/res/menu/newconversation.xml b/res/menu/newconversation.xml
index 4f9b6da0..ca6a57e1 100644
--- a/res/menu/newconversation.xml
+++ b/res/menu/newconversation.xml
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
+ android:id="@+id/action_refresh_contacts"
+ android:orderInCategory="10"
+ android:showAsAction="always"
+ android:icon="@drawable/ic_action_refresh"
+ android:title="Refresh contact list" />
+ <item
android:id="@+id/action_accounts"
android:orderInCategory="90"
android:showAsAction="never"