diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-06 14:36:50 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-05-07 14:44:12 -0700 |
commit | 51c2bde72ee4674266ac464bea2aba72d217d75f (patch) | |
tree | ec4401aa894388658fe91a25a35de632a70ff9d0 /res/layout/call_log_list_item_actions.xml | |
parent | f4ea223170ab5aaf63562d7d46b08fd24664bdce (diff) |
Update layouts for call log list item actions.
+ Add icons for actions.
+ Revise layouts to match new visual appearance. Call Log actions
are now a linear layout with an icon and text.
+ Some style/redline tweaks.
+ Temporarily replaced animation logic with LinearLayout, to be
revisited.
Bug: 20433758
Change-Id: Ia13b6c9f583d673743488f2e93be5593a1fbf8dc
Diffstat (limited to 'res/layout/call_log_list_item_actions.xml')
-rw-r--r-- | res/layout/call_log_list_item_actions.xml | 82 |
1 files changed, 54 insertions, 28 deletions
diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml index 8ef92bf1a..43da5d21b 100644 --- a/res/layout/call_log_list_item_actions.xml +++ b/res/layout/call_log_list_item_actions.xml @@ -23,44 +23,70 @@ android:visibility="visible" android:importantForAccessibility="1"> - <!-- Temporary border spacer. --> - <View - android:layout_width="match_parent" - android:layout_height="1dp" - android:layout_weight="1" - android:background="#eeeeee" /> - - <TextView + <LinearLayout android:id="@+id/video_call_action" - style="@style/CallLogActionsStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@string/call_log_action_video_call" + style="@style/CallLogActionStyle" android:nextFocusLeft="@+id/primary_action_view" - android:nextFocusRight="@+id/voicemail_action" /> + android:nextFocusRight="@+id/voicemail_action"> - <TextView + <ImageView + style="@style/CallLogActionIconStyle" + android:src="@drawable/ic_videocam_24dp" /> + + <TextView + style="@style/CallLogActionTextStyle" + android:text="@string/call_log_action_video_call" /> + + </LinearLayout> + + <LinearLayout android:id="@+id/voicemail_action" - style="@style/CallLogActionsStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@string/call_log_action_voicemail" + style="@style/CallLogActionStyle" android:nextFocusLeft="@+id/video_call_action" - android:nextFocusRight="@+id/details_action" /> + android:nextFocusRight="@+id/details_action"> + + <ImageView + style="@style/CallLogActionIconStyle" + android:src="@drawable/ic_voicemail_24dp" /> + + <TextView + style="@style/CallLogActionTextStyle" + android:text="@string/call_log_action_voicemail" + android:nextFocusLeft="@+id/video_call_action" + android:nextFocusRight="@+id/details_action" /> + + </LinearLayout> - <TextView + <LinearLayout android:id="@+id/details_action" - style="@style/CallLogActionsStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@string/call_log_action_details" + style="@style/CallLogActionStyle" android:nextFocusLeft="@+id/voicemail_action" - android:nextFocusRight="@+id/report_action" /> + android:nextFocusRight="@+id/report_action"> - <TextView + <ImageView + style="@style/CallLogActionIconStyle" + android:src="@drawable/ic_more_horiz_24dp" /> + + <TextView + style="@style/CallLogActionTextStyle" + android:text="@string/call_log_action_details" /> + + </LinearLayout> + + <LinearLayout android:id="@+id/report_action" - style="@style/CallLogActionsStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@string/call_log_action_report" + style="@style/CallLogActionStyle" android:nextFocusLeft="@+id/details_action" - android:nextFocusRight="@+id/primary_action_view" - android:visibility="gone" /> + android:nextFocusRight="@+id/primary_action_view"> + + <ImageView + style="@style/CallLogActionIconStyle" + android:src="@drawable/ic_report_problem_24dp" /> + + <TextView + style="@style/CallLogActionTextStyle" + android:text="@string/call_log_action_report" /> + + </LinearLayout> </LinearLayout> |