Make quick contact badge accessible.
Since the quick contact badge is now within the primary action, we need
a nextFocusLeft to be able to select it.
Note that it was not selectable earlier because it was not set as
focusable. Also, currently the focused state is not visible: it would be
nice to fix that as well.
Bug: 5290460
Change-Id: Ib2a2ce9ee42daef54217df66e2faaf7d11cff570
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml
index bf01103..4768bf6 100644
--- a/res/layout/call_log_list_item.xml
+++ b/res/layout/call_log_list_item.xml
@@ -44,13 +44,16 @@
android:background="?android:attr/selectableItemBackground"
android:focusable="true"
android:nextFocusRight="@+id/secondary_action_icon"
+ android:nextFocusLeft="@+id/quick_contact_photo"
>
<QuickContactBadge
android:id="@+id/quick_contact_photo"
android:layout_width="@dimen/call_log_list_contact_photo_size"
android:layout_height="@dimen/call_log_list_contact_photo_size"
+ android:nextFocusRight="@id/primary_action_view"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
+ android:focusable="true"
/>
<LinearLayout
android:layout_width="wrap_content"