diff options
author | Sai Cheemalapati <saicheems@google.com> | 2014-07-10 11:42:34 -0700 |
---|---|---|
committer | Sai Cheemalapati <saicheems@google.com> | 2014-07-14 22:25:18 +0000 |
commit | b77bf5df2b866dd40e330b7c2dedee4a1d51fc78 (patch) | |
tree | 71c7987663e2e8c8dc04c3019e24139d9e0c2109 /res/layout | |
parent | a91b9d61eb55751e87af8aab2ba424b9f98fb64f (diff) |
DO NOT MERGE Added report button to UI and database.
It toasts when clicked for now. The database is not updated when it
is clicked yet.
Bug: 11150383
Change-Id: Ifd588bdfb36dd8a96977a870071a064726f6e669
(cherry picked from commit 3eae4825ee9a29bd43c9b01d3cbf92de6ad3eb11)
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/call_log_list_item_actions.xml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml index 609f2a98d..22fcca0c2 100644 --- a/res/layout/call_log_list_item_actions.xml +++ b/res/layout/call_log_list_item_actions.xml @@ -73,8 +73,25 @@ android:textSize="@dimen/call_log_list_item_actions_text_size" android:textStyle="bold" android:nextFocusLeft="@+id/voicemail_action" - android:nextFocusRight="@+id/primary_action_view" + android:nextFocusRight="@+id/report_action" android:focusable="true" android:singleLine="true"/> + <TextView + android:id="@+id/report_action" + android:background="@drawable/action_button_background" + android:gravity="center" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:paddingStart="@dimen/call_log_action_horizontal_padding" + android:paddingEnd="@dimen/call_log_action_horizontal_padding" + android:text="@string/call_log_action_report" + android:textColor="?attr/call_log_secondary_text_color" + android:textSize="@dimen/call_log_list_item_actions_text_size" + android:textStyle="bold" + android:nextFocusLeft="@+id/details_action" + android:nextFocusRight="@+id/primary_action_view" + android:focusable="true" + android:singleLine="true" + android:visibility="gone"/> </LinearLayout> </FrameLayout> |