1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2014 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:id="@+id/call_log_action_container"> 21 <LinearLayout 22 android:id="@+id/call_log_entry_actions_ll" 23 android:gravity="center_vertical" 24 android:layout_width="match_parent" 25 android:layout_height="@dimen/call_log_action_height" 26 android:orientation="horizontal" 27 android:paddingStart="@dimen/call_log_actions_left_padding" 28 android:visibility="visible" 29 android:importantForAccessibility="1" 30 > 31 <TextView 32 android:id="@+id/call_back_action" 33 android:background="?android:attr/selectableItemBackground" 34 android:gravity="center" 35 android:layout_width="wrap_content" 36 android:layout_height="match_parent" 37 android:paddingStart="@dimen/call_log_action_horizontal_padding" 38 android:paddingEnd="@dimen/call_log_action_horizontal_padding" 39 android:text="@string/call_log_action_call_back" 40 android:textColor="@color/call_log_action_text" 41 android:textSize="@dimen/call_log_list_item_actions_text_size" 42 android:textStyle="bold" 43 android:nextFocusLeft="@+id/primary_action_view" 44 android:nextFocusRight="@+id/video_call_action" 45 android:focusable="true" 46 android:singleLine="true"/> 47 <TextView 48 android:id="@+id/video_call_action" 49 android:background="?android:attr/selectableItemBackground" 50 android:gravity="center" 51 android:layout_width="wrap_content" 52 android:layout_height="match_parent" 53 android:paddingStart="@dimen/call_log_action_horizontal_padding" 54 android:paddingEnd="@dimen/call_log_action_horizontal_padding" 55 android:text="@string/call_log_action_video_call" 56 android:textColor="?attr/call_log_secondary_text_color" 57 android:textSize="@dimen/call_log_list_item_actions_text_size" 58 android:textStyle="bold" 59 android:nextFocusLeft="@+id/call_back_action" 60 android:nextFocusRight="@+id/voicemail_action" 61 android:focusable="true" 62 android:singleLine="true"/> 63 <TextView 64 android:id="@+id/voicemail_action" 65 android:background="?android:attr/selectableItemBackground" 66 android:gravity="center" 67 android:layout_width="wrap_content" 68 android:layout_height="match_parent" 69 android:paddingStart="@dimen/call_log_action_horizontal_padding" 70 android:paddingEnd="@dimen/call_log_action_horizontal_padding" 71 android:text="@string/call_log_action_voicemail" 72 android:textColor="@color/call_log_action_text" 73 android:textSize="@dimen/call_log_list_item_actions_text_size" 74 android:textStyle="bold" 75 android:nextFocusLeft="@+id/video_call_action" 76 android:nextFocusRight="@+id/details_action" 77 android:focusable="true" 78 android:singleLine="true"/> 79 <TextView 80 android:id="@+id/details_action" 81 android:background="?android:attr/selectableItemBackground" 82 android:gravity="center" 83 android:layout_width="wrap_content" 84 android:layout_height="match_parent" 85 android:paddingStart="@dimen/call_log_action_horizontal_padding" 86 android:paddingEnd="@dimen/call_log_action_horizontal_padding" 87 android:text="@string/call_log_action_details" 88 android:textColor="?attr/call_log_secondary_text_color" 89 android:textSize="@dimen/call_log_list_item_actions_text_size" 90 android:textStyle="bold" 91 android:nextFocusLeft="@+id/voicemail_action" 92 android:nextFocusRight="@+id/report_action" 93 android:focusable="true" 94 android:singleLine="true"/> 95 <TextView 96 android:id="@+id/report_action" 97 android:background="?android:attr/selectableItemBackground" 98 android:gravity="center" 99 android:layout_width="wrap_content" 100 android:layout_height="match_parent" 101 android:paddingStart="@dimen/call_log_action_horizontal_padding" 102 android:paddingEnd="@dimen/call_log_action_horizontal_padding" 103 android:text="@string/call_log_action_report" 104 android:textColor="?attr/call_log_secondary_text_color" 105 android:textSize="@dimen/call_log_list_item_actions_text_size" 106 android:textStyle="bold" 107 android:nextFocusLeft="@+id/details_action" 108 android:nextFocusRight="@+id/primary_action_view" 109 android:focusable="true" 110 android:singleLine="true" 111 android:visibility="gone"/> 112 </LinearLayout> 113</FrameLayout> 114