Show when an email is selected
This commit is contained in:
2
TODO
2
TODO
@@ -1,5 +1,3 @@
|
||||
- Email selection
|
||||
-- Show which have been selected (background? image?)
|
||||
- Deleting identities
|
||||
-- Select identities in list, or menu option of each?
|
||||
- Addressbook
|
||||
|
||||
BIN
res/drawable-hdpi/ic_navigation_accept.png
Normal file
BIN
res/drawable-hdpi/ic_navigation_accept.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi/ic_navigation_accept.png
Normal file
BIN
res/drawable-mdpi/ic_navigation_accept.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xhdpi/ic_navigation_accept.png
Normal file
BIN
res/drawable-xhdpi/ic_navigation_accept.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -10,6 +10,15 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_contact_picture" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/email_selected"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/contact_picture"
|
||||
android:layout_alignLeft="@+id/contact_picture"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/ic_navigation_accept" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/email_subject"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -63,6 +63,10 @@ public class EmailListAdapter extends ArrayAdapter<Email> {
|
||||
}
|
||||
});
|
||||
|
||||
if (mSelectedEmails.get(position)) {
|
||||
((ImageView) v.findViewById(R.id.email_selected)).setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
try {
|
||||
String fromAddress = email.getOneFromAddress();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user