diff options
Diffstat (limited to 'res/layout/call_log_list_item_actions.xml')
-rw-r--r-- | res/layout/call_log_list_item_actions.xml | 145 |
1 files changed, 49 insertions, 96 deletions
diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml index 1280089f5..8ef92bf1a 100644 --- a/res/layout/call_log_list_item_actions.xml +++ b/res/layout/call_log_list_item_actions.xml @@ -14,100 +14,53 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:id="@+id/call_log_action_container"> - <LinearLayout - android:id="@+id/call_log_entry_actions_ll" - android:gravity="center_vertical" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/call_log_action_container" + android:gravity="center_vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:visibility="visible" + android:importantForAccessibility="1"> + + <!-- Temporary border spacer. --> + <View android:layout_width="match_parent" - android:layout_height="@dimen/call_log_action_height" - android:orientation="horizontal" - android:paddingStart="@dimen/call_log_actions_left_padding" - android:visibility="visible" - android:importantForAccessibility="1" - > - <TextView - android:id="@+id/call_back_action" - android:background="?android:attr/selectableItemBackground" - 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_call_back" - android:textColor="@color/call_log_action_text" - android:textSize="@dimen/call_log_list_item_actions_text_size" - android:textStyle="bold" - android:nextFocusLeft="@+id/primary_action_view" - android:nextFocusRight="@+id/video_call_action" - android:focusable="true" - android:singleLine="true"/> - <TextView - android:id="@+id/video_call_action" - android:background="?android:attr/selectableItemBackground" - 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_video_call" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_list_item_actions_text_size" - android:textStyle="bold" - android:nextFocusLeft="@+id/call_back_action" - android:nextFocusRight="@+id/voicemail_action" - android:focusable="true" - android:singleLine="true"/> - <TextView - android:id="@+id/voicemail_action" - android:background="?android:attr/selectableItemBackground" - 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_voicemail" - android:textColor="@color/call_log_action_text" - android:textSize="@dimen/call_log_list_item_actions_text_size" - android:textStyle="bold" - android:nextFocusLeft="@+id/video_call_action" - android:nextFocusRight="@+id/details_action" - android:focusable="true" - android:singleLine="true"/> - <TextView - android:id="@+id/details_action" - android:background="?android:attr/selectableItemBackground" - 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_details" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_list_item_actions_text_size" - android:textStyle="bold" - android:nextFocusLeft="@+id/voicemail_action" - android:nextFocusRight="@+id/report_action" - android:focusable="true" - android:singleLine="true"/> - <TextView - android:id="@+id/report_action" - android:background="?android:attr/selectableItemBackground" - 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> + android:layout_height="1dp" + android:layout_weight="1" + android:background="#eeeeee" /> + + <TextView + android:id="@+id/video_call_action" + style="@style/CallLogActionsStyle" + android:background="?android:attr/selectableItemBackground" + android:text="@string/call_log_action_video_call" + android:nextFocusLeft="@+id/primary_action_view" + android:nextFocusRight="@+id/voicemail_action" /> + + <TextView + android:id="@+id/voicemail_action" + style="@style/CallLogActionsStyle" + android:background="?android:attr/selectableItemBackground" + android:text="@string/call_log_action_voicemail" + android:nextFocusLeft="@+id/video_call_action" + android:nextFocusRight="@+id/details_action" /> + + <TextView + android:id="@+id/details_action" + style="@style/CallLogActionsStyle" + android:background="?android:attr/selectableItemBackground" + android:text="@string/call_log_action_details" + android:nextFocusLeft="@+id/voicemail_action" + android:nextFocusRight="@+id/report_action" /> + + <TextView + android:id="@+id/report_action" + style="@style/CallLogActionsStyle" + android:background="?android:attr/selectableItemBackground" + android:text="@string/call_log_action_report" + android:nextFocusLeft="@+id/details_action" + android:nextFocusRight="@+id/primary_action_view" + android:visibility="gone" /> + +</LinearLayout> |