Address book list
This commit is contained in:
BIN
res/drawable-hdpi/ic_social_add_person.png
Normal file
BIN
res/drawable-hdpi/ic_social_add_person.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-mdpi/ic_social_add_person.png
Normal file
BIN
res/drawable-mdpi/ic_social_add_person.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-xhdpi/ic_social_add_person.png
Normal file
BIN
res/drawable-xhdpi/ic_social_add_person.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
24
res/layout/listitem_contact.xml
Normal file
24
res/layout/listitem_contact.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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:padding="5dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/contact_picture"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contact_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@+id/contact_picture"
|
||||
android:layout_marginTop="13dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_toRightOf="@+id/contact_picture"
|
||||
android:text="Contact name"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
</RelativeLayout>
|
||||
11
res/menu/address_book_list.xml
Normal file
11
res/menu/address_book_list.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:i2pandroid="http://schemas.android.com/apk/res-auto" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_new_contact"
|
||||
android:icon="@drawable/ic_social_add_person.png"
|
||||
android:title="@string/action_new_contact"
|
||||
i2pandroid:showAsAction="ifRoom"/>
|
||||
|
||||
</menu>
|
||||
@@ -1,6 +1,12 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:i2pandroid="http://schemas.android.com/apk/res-auto" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_address_book"
|
||||
android:orderInCategory="50"
|
||||
android:title="@string/action_address_book"
|
||||
i2pandroid:showAsAction="never"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<string name="app_name">I2P-Bote</string>
|
||||
<string name="action_new_email">New email</string>
|
||||
<string name="action_send_email">Send email</string>
|
||||
<string name="action_address_book">Address book</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
|
||||
<string name="items_selected">%s selected</string>
|
||||
@@ -39,6 +40,9 @@
|
||||
<string name="compose_email">Compose email</string>
|
||||
<string name="email_queued_for_sending">Email queued for sending</string>
|
||||
|
||||
<string name="address_book_empty">Address book is empty</string>
|
||||
<string name="action_new_contact">New contact</string>
|
||||
|
||||
<string name="pref_title_general">General</string>
|
||||
<string name="pref_summ_general">General settings and default identity settings</string>
|
||||
<string name="pref_title_autoMail">Auto-check mail</string>
|
||||
|
||||
Reference in New Issue
Block a user