diff options
Diffstat (limited to 'res/layout')
31 files changed, 0 insertions, 2211 deletions
diff --git a/res/layout/account_filter_header_for_phone_favorite.xml b/res/layout/account_filter_header_for_phone_favorite.xml deleted file mode 100644 index b55210a10..000000000 --- a/res/layout/account_filter_header_for_phone_favorite.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<!-- Layout showing the type of account filter for phone favorite screen - (or, new phone "all" screen). - This is very similar to account_filter_header.xml but different in its - top padding. --> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/account_filter_header_container" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:paddingTop="8dip" - android:layout_marginStart="@dimen/contact_browser_list_header_left_margin" - android:layout_marginEnd="@dimen/contact_browser_list_header_right_margin" - android:background="?android:attr/selectableItemBackground" - android:visibility="gone"> - <TextView - android:id="@+id/account_filter_header" - style="@style/ContactListSeparatorTextViewStyle" - android:paddingStart="@dimen/contact_browser_list_item_text_indent" /> - <TextView - android:id="@+id/contact_list_all_empty" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textColor="?android:attr/textColorSecondary" - android:paddingStart="8dip" - android:paddingTop="@dimen/contact_phone_list_empty_description_padding" - android:paddingBottom="@dimen/contact_phone_list_empty_description_padding" - android:textSize="@dimen/contact_phone_list_empty_description_size" - android:text="@string/listFoundAllContactsZero" - android:visibility="gone"/> -</LinearLayout> diff --git a/res/layout/all_contacts_activity.xml b/res/layout/all_contacts_activity.xml deleted file mode 100644 index 50cba1eca..000000000 --- a/res/layout/all_contacts_activity.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - 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="match_parent" - android:id="@+id/all_contacts_frame"> - <fragment android:name="com.android.dialer.list.AllContactsFragment" - android:id="@+id/all_contacts_fragment" - android:layout_width="match_parent" - android:layout_height="match_parent" /> -</FrameLayout> diff --git a/res/layout/all_contacts_fragment.xml b/res/layout/all_contacts_fragment.xml deleted file mode 100644 index 2ca013a19..000000000 --- a/res/layout/all_contacts_fragment.xml +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/pinned_header_list_layout" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <!-- Shown only when an Account filter is set. - - paddingTop should be here to show "shade" effect correctly. --> - <!-- TODO: Remove the filter header. --> - <include layout="@layout/account_filter_header" /> - - <FrameLayout - android:layout_width="match_parent" - android:layout_height="0dip" - android:layout_weight="1" > - <view - class="com.android.contacts.common.list.PinnedHeaderListView" - style="@style/DialtactsTheme" - android:id="@android:id/list" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginStart="?attr/contact_browser_list_padding_left" - android:layout_marginEnd="?attr/contact_browser_list_padding_right" - android:paddingTop="18dp" - android:fastScrollEnabled="true" - android:fadingEdge="none" - android:nestedScrollingEnabled="true" /> - - <com.android.dialer.widget.EmptyContentView - android:id="@+id/empty_list_view" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="gone"/> - - </FrameLayout> -</LinearLayout> diff --git a/res/layout/block_report_spam_dialog.xml b/res/layout/block_report_spam_dialog.xml deleted file mode 100644 index a731decfc..000000000 --- a/res/layout/block_report_spam_dialog.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:padding="25dp"> - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/block_report_number_alert_details" - android:layout_marginBottom="10dp" - android:textColor="@color/call_log_primary_color" - android:textSize="@dimen/blocked_number_settings_description_text_size"/> - - <CheckBox - android:id="@+id/report_number_as_spam_action" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/checkbox_report_as_spam_action" - android:textSize="@dimen/blocked_number_settings_description_text_size"/> -</LinearLayout>
\ No newline at end of file diff --git a/res/layout/blocked_number_footer.xml b/res/layout/blocked_number_footer.xml deleted file mode 100644 index 17425c840..000000000 --- a/res/layout/blocked_number_footer.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:focusable="false"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:padding="@dimen/blocked_number_container_padding" - android:background="@android:color/white" - android:focusable="true"> - - <TextView android:id="@+id/blocked_number_footer_textview" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textColor="@color/blocked_number_secondary_text_color" - android:textSize="@dimen/blocked_number_settings_description_text_size" - android:text="@string/block_number_footer_message_vvm"/> - </LinearLayout> -</LinearLayout> diff --git a/res/layout/blocked_number_fragment.xml b/res/layout/blocked_number_fragment.xml deleted file mode 100644 index 4bc20857e..000000000 --- a/res/layout/blocked_number_fragment.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/blocked_number_fragment" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:background="@color/blocked_number_background"> - - <ListView android:id="@id/android:list" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:divider="@null" - android:headerDividersEnabled="false" /> - -</LinearLayout> diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml deleted file mode 100644 index e4b795fd8..000000000 --- a/res/layout/blocked_number_header.xml +++ /dev/null @@ -1,217 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:card_view="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:focusable="false" - android:orientation="vertical"> - - <LinearLayout - android:id="@+id/blocked_numbers_disabled_for_emergency" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="27dp" - android:paddingBottom="29dp" - android:paddingStart="@dimen/blocked_number_container_padding" - android:paddingEnd="44dp" - android:background="@color/blocked_number_disabled_emergency_background_color" - android:focusable="true" - android:orientation="vertical" - android:visibility="gone"> - - <TextView - style="@style/BlockedNumbersDescriptionTextStyle" - android:textStyle="bold" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/blocked_numbers_disabled_emergency_header_label"/> - - <TextView - style="@style/BlockedNumbersDescriptionTextStyle" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/blocked_numbers_disabled_emergency_desc"/> - - </LinearLayout> - - <android.support.v7.widget.CardView - android:layout_width="match_parent" - android:layout_height="wrap_content" - card_view:cardCornerRadius="0dp"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@android:color/white" - android:focusable="true" - android:orientation="vertical"> - - <TextView - android:id="@+id/blocked_number_text_view" - style="@android:style/TextAppearance.Material.Subhead" - android:layout_width="wrap_content" - android:layout_height="48dp" - android:paddingStart="@dimen/blocked_number_container_padding" - android:gravity="center_vertical" - android:text="@string/block_list" - android:textColor="@color/blocked_number_header_color"/> - - <RelativeLayout - android:id="@+id/import_settings" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="gone"> - - <TextView - android:id="@+id/import_description" - style="@style/BlockedNumbersDescriptionTextStyle" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="11dp" - android:paddingBottom="27dp" - android:paddingStart="@dimen/blocked_number_container_padding" - android:paddingEnd="@dimen/blocked_number_container_padding" - android:text="@string/blocked_call_settings_import_description" - android:textColor="@color/secondary_text_color" - android:textSize="@dimen/blocked_number_settings_description_text_size"/> - - <Button - android:id="@+id/import_button" - style="@style/DialerFlatButtonStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/blocked_number_container_padding" - android:layout_alignParentEnd="true" - android:layout_below="@id/import_description" - android:text="@string/blocked_call_settings_import_button"/> - - <Button - android:id="@+id/view_numbers_button" - style="@style/DialerFlatButtonStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="8dp" - android:layout_below="@id/import_description" - android:layout_toStartOf="@id/import_button" - android:text="@string/blocked_call_settings_view_numbers_button"/> - - <View - android:layout_width="match_parent" - android:layout_height="1dp" - android:layout_marginTop="8dp" - android:layout_below="@id/import_button" - android:background="@color/divider_line_color"/> - - </RelativeLayout> - - <LinearLayout - android:id="@+id/migrate_promo" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:visibility="gone"> - - <TextView - android:id="@+id/migrate_promo_header" - style="@android:style/TextAppearance.Material.Subhead" - android:layout_width="match_parent" - android:layout_height="48dp" - android:paddingStart="@dimen/blocked_number_container_padding" - android:paddingEnd="@dimen/blocked_number_container_padding" - android:gravity="center_vertical" - android:textStyle="bold" - android:text="@string/migrate_blocked_numbers_dialog_title" - android:textColor="@color/blocked_number_header_color"/> - - <TextView - android:id="@+id/migrate_promo_description" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/blocked_number_container_padding" - android:layout_marginEnd="@dimen/blocked_number_container_padding" - android:layout_marginBottom="@dimen/blocked_number_container_padding" - android:text="@string/migrate_blocked_numbers_dialog_message" - android:textColor="@color/secondary_text_color"/> - - <Button - android:id="@+id/migrate_promo_allow_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/migrate_blocked_numbers_dialog_allow_button" - android:layout_marginStart="@dimen/blocked_number_container_padding" - android:layout_marginEnd="@dimen/blocked_number_container_padding" - android:layout_gravity="end" - style="@style/DialerPrimaryFlatButtonStyle" - android:layout_marginBottom="@dimen/blocked_number_container_padding"/> - - <View - style="@style/FullWidthDivider"/> - - </LinearLayout> - - <LinearLayout - android:id="@+id/add_number_linear_layout" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="@dimen/blocked_number_add_top_margin" - android:paddingBottom="@dimen/blocked_number_add_bottom_margin" - android:paddingStart="@dimen/blocked_number_horizontal_margin" - android:background="?android:attr/selectableItemBackground" - android:baselineAligned="false" - android:clickable="true" - android:contentDescription="@string/addBlockedNumber" - android:focusable="true" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/add_number_icon" - android:layout_width="@dimen/contact_photo_size" - android:layout_height="@dimen/contact_photo_size" - android:importantForAccessibility="no"/> - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:layout_marginStart="@dimen/blocked_number_horizontal_margin" - android:gravity="center_vertical" - android:orientation="vertical"> - - <TextView - android:id="@+id/add_number_textview" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:includeFontPadding="false" - android:text="@string/addBlockedNumber" - android:textColor="@color/blocked_number_primary_text_color" - android:textSize="@dimen/blocked_number_primary_text_size"/> - </LinearLayout> - - </LinearLayout> - - <View - android:id="@+id/blocked_number_list_divider" - android:layout_width="match_parent" - android:layout_height="1dp" - android:layout_marginStart="72dp" - android:background="@color/divider_line_color"/> - - </LinearLayout> - - </android.support.v7.widget.CardView> - -</LinearLayout> diff --git a/res/layout/blocked_number_item.xml b/res/layout/blocked_number_item.xml deleted file mode 100644 index a4997f257..000000000 --- a/res/layout/blocked_number_item.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/caller_information" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="@dimen/blocked_number_horizontal_margin" - android:baselineAligned="false" - android:orientation="horizontal" - android:focusable="true" - android:gravity="center_vertical" - android:background="@android:color/white"> - - <QuickContactBadge - android:id="@+id/quick_contact_photo" - android:layout_width="@dimen/contact_photo_size" - android:layout_height="@dimen/contact_photo_size" - android:focusable="true" - android:layout_marginTop="@dimen/blocked_number_top_margin" - android:layout_marginBottom="@dimen/blocked_number_bottom_margin"/> - <LinearLayout - android:layout_width="0dp" - android:layout_height="match_parent" - android:gravity="center_vertical" - android:layout_weight="1" - android:orientation="vertical" - android:layout_marginStart="@dimen/blocked_number_horizontal_margin"> - - <TextView - android:id="@+id/caller_name" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="@color/blocked_number_primary_text_color" - android:textSize="@dimen/blocked_number_primary_text_size" - android:includeFontPadding="false" - android:singleLine="true"/> - - <TextView - android:id="@+id/caller_number" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="@color/blocked_number_secondary_text_color" - android:textSize="@dimen/blocked_number_settings_description_text_size" - android:singleLine="true" /> - </LinearLayout> - - <ImageView - android:id="@+id/delete_button" - android:layout_width="@dimen/blocked_number_delete_icon_size" - android:layout_height="@dimen/blocked_number_delete_icon_size" - android:layout_marginEnd="24dp" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:src="@drawable/ic_remove" - android:scaleType="center" - android:tint="@color/blocked_number_icon_tint" - android:contentDescription="@string/description_blocked_number_list_delete" /> - -</LinearLayout> diff --git a/res/layout/blocked_numbers_activity.xml b/res/layout/blocked_numbers_activity.xml deleted file mode 100644 index d28eaf879..000000000 --- a/res/layout/blocked_numbers_activity.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - 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:id="@+id/blocked_numbers_activity_container" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginTop="@dimen/action_bar_height"> -</FrameLayout> diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml deleted file mode 100644 index 7d9124888..000000000 --- a/res/layout/call_detail.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - 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:id="@+id/call_detail" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/background_dialer_call_log" > - - <!-- - The list view is under everything. - It contains a first header element which is hidden under the controls UI. - When scrolling, the controls move up until the name bar hits the top. - --> - <ListView - android:id="@+id/history" - android:layout_width="match_parent" - android:layout_height="fill_parent" /> - -</FrameLayout> diff --git a/res/layout/call_detail_footer.xml b/res/layout/call_detail_footer.xml deleted file mode 100644 index 6ee76e62e..000000000 --- a/res/layout/call_detail_footer.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <View - android:layout_width="match_parent" - android:layout_height="@dimen/divider_line_thickness" - android:background="@color/call_log_action_divider" /> - - <TextView android:id="@+id/call_detail_action_block" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/action_block_number" - android:drawableStart="@drawable/ic_call_detail_block" - style="@style/CallDetailActionItemStyle" /> - - <TextView android:id="@+id/call_detail_action_copy" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/action_copy_number_text" - android:drawableStart="@drawable/ic_call_detail_content_copy" - style="@style/CallDetailActionItemStyle" /> - - <TextView android:id="@+id/call_detail_action_edit_before_call" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/action_edit_number_before_call" - android:drawableStart="@drawable/ic_call_detail_edit" - android:visibility="gone" - style="@style/CallDetailActionItemStyle" /> - - <TextView android:id="@+id/call_detail_action_report" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/action_report_number" - android:drawableStart="@drawable/ic_call_detail_report" - android:visibility="gone" - style="@style/CallDetailActionItemStyle" /> - -</LinearLayout> diff --git a/res/layout/call_detail_header.xml b/res/layout/call_detail_header.xml deleted file mode 100644 index 6eceb80ee..000000000 --- a/res/layout/call_detail_header.xml +++ /dev/null @@ -1,89 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/caller_information" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="@dimen/call_detail_horizontal_margin" - android:paddingTop="@dimen/call_detail_top_margin" - android:paddingBottom="@dimen/call_detail_bottom_margin" - android:baselineAligned="false" - android:orientation="horizontal" - android:elevation="@dimen/call_detail_elevation" - android:focusable="true" - android:background="@color/background_dialer_white" > - - <QuickContactBadge - android:id="@+id/quick_contact_photo" - android:layout_width="@dimen/contact_photo_size" - android:layout_height="@dimen/contact_photo_size" - android:layout_alignParentStart="true" - android:layout_gravity="top" - android:layout_marginTop="3dp" - android:focusable="true" /> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:orientation="vertical" - android:gravity="center_vertical" - android:layout_marginStart="@dimen/call_detail_horizontal_margin"> - - <TextView - android:id="@+id/caller_name" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?attr/call_log_primary_text_color" - android:textSize="@dimen/call_log_primary_text_size" - android:includeFontPadding="false" - android:layout_marginTop="2dp" - android:layout_marginBottom="3dp" - android:singleLine="true" /> - - <TextView - android:id="@+id/caller_number" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_detail_text_size" - android:layout_marginBottom="1dp" - android:singleLine="true" /> - - <TextView - android:id="@+id/phone_account_label" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_detail_text_size" - android:singleLine="true" - android:visibility="gone" /> - - </LinearLayout> - - <ImageView - android:id="@+id/call_back_button" - android:layout_width="@dimen/call_log_list_item_primary_action_dimen" - android:layout_height="@dimen/call_log_list_item_primary_action_dimen" - android:layout_marginEnd="16dp" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:src="@drawable/ic_call_24dp" - android:scaleType="center" - android:tint="@color/call_log_list_item_primary_action_icon_tint" - android:contentDescription="@string/description_call_log_call_action" - android:visibility="gone" /> - -</LinearLayout> diff --git a/res/layout/call_detail_history_item.xml b/res/layout/call_detail_history_item.xml deleted file mode 100644 index 10d9605a1..000000000 --- a/res/layout/call_detail_history_item.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="@dimen/call_log_inner_margin" - android:paddingBottom="@dimen/call_log_inner_margin" - android:paddingStart="@dimen/call_detail_horizontal_margin" - android:paddingEnd="@dimen/call_log_outer_margin" - android:orientation="vertical" > - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" > - <view - class="com.android.dialer.calllog.CallTypeIconsView" - android:id="@+id/call_type_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" /> - <TextView - android:id="@+id/call_type_text" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/call_log_icon_margin" - android:textColor="?attr/call_log_primary_text_color" - android:textSize="@dimen/call_log_primary_text_size" /> - </LinearLayout> - <TextView - android:id="@+id/date" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_detail_text_size" /> - <TextView - android:id="@+id/duration" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_detail_text_size" /> -</LinearLayout> diff --git a/res/layout/call_log_activity.xml b/res/layout/call_log_activity.xml deleted file mode 100644 index aa1a6f44d..000000000 --- a/res/layout/call_log_activity.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/calllog_frame" - android:orientation="vertical"> - <com.android.contacts.common.list.ViewPagerTabs - android:id="@+id/viewpager_header" - android:layout_width="match_parent" - android:layout_height="@dimen/tab_height" - android:textAllCaps="true" - android:orientation="horizontal" - android:layout_gravity="top" - android:elevation="@dimen/tab_elevation" - style="@style/DialtactsActionBarTabTextStyle" /> - <android.support.v4.view.ViewPager - android:id="@+id/call_log_pager" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1" /> - <RelativeLayout - android:id="@+id/floating_action_button_container" - android:layout_width="0dp" - android:layout_height="0dp" /> -</LinearLayout> diff --git a/res/layout/call_log_fragment.xml b/res/layout/call_log_fragment.xml deleted file mode 100644 index aad7d8e77..000000000 --- a/res/layout/call_log_fragment.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<!-- Layout parameters are set programmatically. --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/background_dialer_call_log"> - - <android.support.v7.widget.RecyclerView android:id="@+id/recycler_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/background_dialer_call_log" - android:clipToPadding="false" - android:paddingStart="@dimen/call_log_horizontal_margin" - android:paddingEnd="@dimen/call_log_horizontal_margin" - android:paddingBottom="@dimen/floating_action_button_list_bottom_padding" /> - - <com.android.dialer.widget.EmptyContentView - android:id="@+id/empty_list_view" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="gone" /> - -</FrameLayout> diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml deleted file mode 100644 index 660bca36e..000000000 --- a/res/layout/call_log_list_item.xml +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/call_log_list_item" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <!-- Day group heading. Used to show a "today", "yesterday", "last week" or "other" heading - above a group of call log entries. --> - <TextView - android:id="@+id/call_log_day_group_label" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="start" - android:layout_marginStart="@dimen/call_log_start_margin" - android:layout_marginEnd="@dimen/call_log_outer_margin" - android:fontFamily="sans-serif-medium" - android:textColor="@color/call_log_day_group_heading_color" - android:textSize="@dimen/call_log_day_group_heading_size" - android:paddingTop="@dimen/call_log_day_group_padding_top" - android:paddingBottom="@dimen/call_log_day_group_padding_bottom" /> - - <android.support.v7.widget.CardView - android:id="@+id/call_log_row" - style="@style/CallLogCardStyle"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <!-- Primary area containing the contact badge and caller information --> - <LinearLayout - android:id="@+id/primary_action_view" - android:background="?android:attr/selectableItemBackground" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="@dimen/call_log_start_margin" - android:paddingEnd="@dimen/call_log_outer_margin" - android:paddingTop="@dimen/call_log_vertical_padding" - android:paddingBottom="@dimen/call_log_vertical_padding" - android:orientation="horizontal" - android:gravity="center_vertical" - android:focusable="true" - android:nextFocusRight="@+id/call_back_action" - android:nextFocusLeft="@+id/quick_contact_photo" > - - <QuickContactBadge - android:id="@+id/quick_contact_photo" - android:layout_width="@dimen/contact_photo_size" - android:layout_height="@dimen/contact_photo_size" - android:paddingTop="2dp" - android:nextFocusRight="@id/primary_action_view" - android:layout_gravity="top" - android:focusable="true" /> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:orientation="vertical" - android:gravity="center_vertical" - android:layout_marginStart="@dimen/call_log_list_item_info_margin_start"> - - <TextView - android:id="@+id/name" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/call_log_name_margin_bottom" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:textColor="@color/call_log_primary_color" - android:textSize="@dimen/call_log_primary_text_size" - android:singleLine="true" /> - - <LinearLayout - android:id="@+id/call_type" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <view - class="com.android.dialer.calllog.CallTypeIconsView" - android:id="@+id/call_type_icons" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:layout_gravity="center_vertical" /> - - <ImageView android:id="@+id/work_profile_icon" - android:src="@drawable/ic_work_profile" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:scaleType="center" - android:visibility="gone" /> - - <TextView - android:id="@+id/call_location_and_date" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:layout_gravity="center_vertical" - android:textColor="@color/call_log_detail_color" - android:textSize="@dimen/call_log_detail_text_size" - android:singleLine="true" /> - - </LinearLayout> - - <TextView - android:id="@+id/call_account_label" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/call_log_call_account_margin_bottom" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_detail_text_size" - android:visibility="gone" - android:singleLine="true" /> - - <TextView - android:id="@+id/voicemail_transcription" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/call_log_icon_margin" - android:textColor="@color/call_log_voicemail_transcript_color" - android:textSize="@dimen/call_log_voicemail_transcription_text_size" - android:ellipsize="marquee" - android:visibility="gone" - android:singleLine="false" - android:maxLines="10"/> - - </LinearLayout> - - <ImageView - android:id="@+id/primary_action_button" - android:layout_width="@dimen/call_log_list_item_primary_action_dimen" - android:layout_height="@dimen/call_log_list_item_primary_action_dimen" - android:layout_gravity="center_vertical" - android:layout_marginEnd="@dimen/call_log_icon_margin" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:scaleType="center" - android:tint="@color/call_log_list_item_primary_action_icon_tint" - android:visibility="gone" /> - - </LinearLayout> - - <!-- Viewstub with additional expandable actions for a call log entry --> - <ViewStub android:id="@+id/call_log_entry_actions_stub" - android:inflatedId="@+id/call_log_entry_actions" - android:layout="@layout/call_log_list_item_actions" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="bottom" /> - - </LinearLayout> - - </android.support.v7.widget.CardView> - -</LinearLayout> diff --git a/res/layout/call_log_list_item_actions.xml b/res/layout/call_log_list_item_actions.xml deleted file mode 100644 index 4aad6195a..000000000 --- a/res/layout/call_log_list_item_actions.xml +++ /dev/null @@ -1,202 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License - --> -<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"> - - <com.android.dialer.voicemail.VoicemailPlaybackLayout - android:id="@+id/voicemail_playback_layout" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - - <View - android:layout_width="match_parent" - android:layout_height="1dp" - android:background="@color/call_log_action_divider" /> - - <LinearLayout - android:id="@+id/call_action" - android:paddingTop="@dimen/call_log_actions_top_padding" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_call_24dp" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:gravity="center_vertical"> - <TextView - android:id="@+id/call_action_text" - style="@style/CallLogActionTextStyle" - android:text="@string/description_call_log_call_action" /> - - <TextView - android:id="@+id/call_type_or_location_text" - style="@style/CallLogActionSupportTextStyle"/> - </LinearLayout> - - </LinearLayout> - - <LinearLayout - android:id="@+id/video_call_action" - style="@style/CallLogActionStyle"> - - <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/create_new_contact_action" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_person_add_24dp" /> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/search_shortcut_create_new_contact" /> - - </LinearLayout> - - <LinearLayout - android:id="@+id/add_to_existing_contact_action" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_person_24dp" /> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/search_shortcut_add_to_contact" /> - - </LinearLayout> - - <LinearLayout - android:id="@+id/send_message_action" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_message_24dp" /> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_send_message" /> - - </LinearLayout> - - <LinearLayout - android:id="@+id/call_with_note_action" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_call_note_white_24dp" /> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_with_a_note" /> - - </LinearLayout> - - <LinearLayout - android:id="@+id/block_report_action" - style="@style/CallLogActionStyle" - android:visibility="gone"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_block_24dp"/> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_block_report_number" /> - </LinearLayout> - - <LinearLayout - android:id="@+id/block_action" - style="@style/CallLogActionStyle" - android:visibility="gone"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_block_24dp"/> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_block_number" /> - </LinearLayout> - - <LinearLayout - android:id="@+id/unblock_action" - style="@style/CallLogActionStyle" - android:visibility="gone"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_unblock"/> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_unblock_number" /> - </LinearLayout> - - <LinearLayout - android:id="@+id/report_not_spam_action" - style="@style/CallLogActionStyle" - android:visibility="gone"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_unblock"/> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_remove_spam" /> - </LinearLayout> - - <LinearLayout - android:id="@+id/details_action" - style="@style/CallLogActionStyle"> - - <ImageView - style="@style/CallLogActionIconStyle" - android:src="@drawable/ic_info_outline_24dp" /> - - <TextView - style="@style/CallLogActionTextStyle" - android:text="@string/call_log_action_details" /> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/dialpad_chooser_list_item.xml b/res/layout/dialpad_chooser_list_item.xml deleted file mode 100644 index 9a4903698..000000000 --- a/res/layout/dialpad_chooser_list_item.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<!-- Layout of a single item in the Dialer's "Dialpad chooser" UI. --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <ImageView android:id="@+id/icon" - android:layout_width="64dp" - android:layout_height="64dp" - android:scaleType="center" /> - - <TextView android:id="@+id/text" - android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="@color/dialpad_primary_text_color" - android:layout_gravity="center_vertical" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="wrap_content" /> - -</LinearLayout> diff --git a/res/layout/dialpad_fragment.xml b/res/layout/dialpad_fragment.xml deleted file mode 100644 index 21cb58654..000000000 --- a/res/layout/dialpad_fragment.xml +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<view class="com.android.dialer.dialpad.DialpadFragment$DialpadSlidingRelativeLayout" - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <!-- spacer view --> - <View - android:id="@+id/spacer" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1" - android:background="#00000000" /> - <!-- Dialpad shadow --> - <View - android:layout_width="match_parent" - android:layout_height="@dimen/shadow_length" - android:background="@drawable/shadow_fade_up" /> - <include layout="@layout/dialpad_view" /> - <!-- "Dialpad chooser" UI, shown only when the user brings up the - Dialer while a call is already in progress. - When this UI is visible, the other Dialer elements - (the textfield/button and the dialpad) are hidden. --> - <ListView android:id="@+id/dialpadChooser" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@color/background_dialer_light" - android:visibility="gone" /> - - </LinearLayout> - - <!-- Margin bottom and alignParentBottom don't work well together, so use a Space instead. --> - <Space android:id="@+id/dialpad_floating_action_button_margin_bottom" - android:layout_width="match_parent" - android:layout_height="@dimen/floating_action_button_margin_bottom" - android:layout_alignParentBottom="true" /> - - <FrameLayout - android:id="@+id/dialpad_floating_action_button_container" - android:background="@drawable/fab_green" - android:layout_width="@dimen/floating_action_button_width" - android:layout_height="@dimen/floating_action_button_height" - android:layout_above="@id/dialpad_floating_action_button_margin_bottom" - android:layout_centerHorizontal="true"> - - <ImageButton - android:id="@+id/dialpad_floating_action_button" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@drawable/floating_action_button" - android:contentDescription="@string/description_dial_button" - android:src="@drawable/fab_ic_call"/> - - </FrameLayout> - -</view> diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml deleted file mode 100644 index 782d4f310..000000000 --- a/res/layout/dialtacts_activity.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<android.support.design.widget.CoordinatorLayout - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:id="@+id/dialtacts_mainlayout" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:focusable="true" - android:focusableInTouchMode="true" - android:clipChildren="false" - android:background="@color/background_dialer_light"> - - <FrameLayout - android:id="@+id/dialtacts_container" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:clipChildren="false"> - <!-- The main contacts grid --> - <FrameLayout - android:layout_height="match_parent" - android:layout_width="match_parent" - android:id="@+id/dialtacts_frame" - android:clipChildren="false" /> - </FrameLayout> - - <FrameLayout - android:id="@+id/floating_action_button_container" - android:background="@drawable/fab_blue" - android:layout_width="@dimen/floating_action_button_width" - android:layout_height="@dimen/floating_action_button_height" - android:layout_marginBottom="@dimen/floating_action_button_margin_bottom" - android:layout_gravity="center_horizontal|bottom" - app:layout_behavior="com.android.dialer.FloatingActionButtonBehavior"> - - <ImageButton - android:id="@+id/floating_action_button" - android:background="@drawable/floating_action_button" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:contentDescription="@string/action_menu_dialpad_button" - android:src="@drawable/fab_ic_dial"/> - - </FrameLayout> - - <!-- Host container for the contact tile drag shadow --> - <FrameLayout - android:id="@+id/activity_overlay" - android:layout_height="match_parent" - android:layout_width="match_parent"> - <ImageView - android:id="@+id/contact_tile_drag_shadow_overlay" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:visibility="gone" - android:importantForAccessibility="no" /> - </FrameLayout> - -</android.support.design.widget.CoordinatorLayout> diff --git a/res/layout/empty_content_view.xml b/res/layout/empty_content_view.xml deleted file mode 100644 index 97ac4c79c..000000000 --- a/res/layout/empty_content_view.xml +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<merge xmlns:android="http://schemas.android.com/apk/res/android"> - <ImageView - android:id="@+id/emptyListViewImage" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:gravity="center_horizontal" /> - - <TextView - android:id="@+id/emptyListViewMessage" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_horizontal|top" - android:textSize="@dimen/empty_list_message_text_size" - android:textColor="@color/empty_list_text_color" - android:paddingRight="16dp" - android:paddingLeft="16dp" - android:paddingTop="8dp" - android:paddingBottom="8dp" /> - - <TextView - android:id="@+id/emptyListViewAction" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_horizontal" - android:layout_gravity="center_horizontal" - android:paddingRight="16dp" - android:paddingLeft="16dp" - android:paddingTop="8dp" - android:paddingBottom="8dp" - android:background="?android:attr/selectableItemBackground" - android:clickable="true" - style="@style/TextActionStyle" /> - - <Space - android:layout_width="match_parent" - android:layout_height="40dp" /> - -</merge> diff --git a/res/layout/keyguard_preview.xml b/res/layout/keyguard_preview.xml deleted file mode 100644 index 16243eb6a..000000000 --- a/res/layout/keyguard_preview.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License - --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_height="match_parent" - android:layout_width="match_parent"> - <View - android:layout_width="match_parent" - android:layout_height="25dp" - android:background="@color/dialer_theme_color_dark" /> - <View - android:layout_width="match_parent" - android:layout_weight="1" - android:layout_height="0dp" - android:background="#ffffff" /> -</LinearLayout> diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml deleted file mode 100644 index a073151e2..000000000 --- a/res/layout/lists_fragment.xml +++ /dev/null @@ -1,98 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2014 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - 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:id="@+id/lists_frame" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:animateLayoutChanges="true" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> - - <!-- TODO: Apply background color to ActionBar instead of a FrameLayout. For now, this is - the easiest way to preserve correct pane scrolling and searchbar collapse/expand - behaviors. --> - <FrameLayout - android:layout_width="match_parent" - android:layout_height="@dimen/action_bar_height_large" - android:background="@color/actionbar_background_color" - android:elevation="@dimen/tab_elevation" /> - - <com.android.contacts.common.list.ViewPagerTabs - android:id="@+id/lists_pager_header" - android:layout_width="match_parent" - android:layout_height="@dimen/tab_height" - android:textAllCaps="true" - android:orientation="horizontal" - android:layout_gravity="top" - android:elevation="@dimen/tab_elevation" - style="@style/DialtactsActionBarTabTextStyle" /> - - <android.support.v4.view.ViewPager - android:id="@+id/lists_pager" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1" /> - - </LinearLayout> - - <!-- Sets android:importantForAccessibility="no" to avoid being announced when navigating with - talkback enabled. It will still be announced when user drag or drop contact onto it. - This is required since drag and drop event is only sent to views are visible when drag - starts. --> - <com.android.dialer.list.RemoveView - android:id="@+id/remove_view" - android:layout_width="match_parent" - android:layout_height="@dimen/tab_height" - android:layout_marginTop="@dimen/action_bar_height_large" - android:contentDescription="@string/remove_contact" - android:importantForAccessibility="no" > - - <LinearLayout - android:id="@+id/remove_view_content" - android:layout_height="match_parent" - android:layout_width="match_parent" - android:background="@color/actionbar_background_color" - android:gravity="center" - android:orientation="horizontal" - android:visibility="gone"> - - <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp" - android:id="@+id/remove_view_icon" - android:src="@drawable/ic_remove" - android:tint="@color/remove_text_color" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/remove_view_text" - android:textSize="@dimen/remove_text_size" - android:textColor="@color/remove_text_color" - android:text="@string/remove_contact" /> - - </LinearLayout> - - </com.android.dialer.list.RemoveView > - -</FrameLayout> diff --git a/res/layout/phone_disambig_item.xml b/res/layout/phone_disambig_item.xml deleted file mode 100755 index 27bbda134..000000000 --- a/res/layout/phone_disambig_item.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<view class="com.android.contacts.common.widget.ActivityTouchLinearLayout" - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:paddingStart="30dip" - android:paddingEnd="30dip" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical"> - - <TextView - android:id="@android:id/text1" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textStyle="bold" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <!-- Phone number should be displayed ltr --> - <TextView - android:id="@android:id/text2" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="-4dip" - android:textAppearance="?android:attr/textAppearanceSmall" - android:textDirection="ltr" /> - -</view> diff --git a/res/layout/phone_favorite_tile_view.xml b/res/layout/phone_favorite_tile_view.xml deleted file mode 100644 index aa82ca0dc..000000000 --- a/res/layout/phone_favorite_tile_view.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<view - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/contact_tile" - class="com.android.dialer.list.PhoneFavoriteSquareTileView" - android:paddingEnd="@dimen/contact_tile_divider_width" - android:paddingBottom="@dimen/contact_tile_divider_width"> - - <RelativeLayout - android:id="@+id/contact_favorite_card" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:focusable="true" - android:nextFocusRight="@+id/contact_tile_secondary_button"> - - <com.android.contacts.common.widget.LayoutSuppressingImageView - android:id="@+id/contact_tile_image" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:scaleType="centerCrop" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> - <View - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="6" /> - <View - android:id="@+id/shadow_overlay" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="4" - android:background="@drawable/shadow_contact_photo" /> - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="@dimen/contact_tile_text_side_padding" - android:paddingEnd="@dimen/contact_tile_text_side_padding" - android:paddingBottom="@dimen/contact_tile_text_bottom_padding" - android:layout_alignParentBottom="true" - android:orientation="vertical" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center_vertical"> - <TextView - android:id="@+id/contact_tile_name" - android:layout_weight="1" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:textColor="@color/contact_tile_name_color" - android:fontFamily="sans-serif-medium" - android:singleLine="true" - android:textSize="15sp" - android:fadingEdge="horizontal" - android:fadingEdgeLength="3dip" - android:ellipsize="marquee" - android:textAlignment="viewStart" /> - <ImageView - android:id="@+id/contact_star_icon" - android:layout_width="@dimen/favorites_star_icon_size" - android:layout_height="@dimen/favorites_star_icon_size" - android:layout_marginStart="3dp" - android:src="@drawable/ic_star" - android:visibility="gone" /> - </LinearLayout> - <TextView - android:id="@+id/contact_tile_phone_type" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:textColor="@color/contact_tile_name_color" - android:fontFamily="sans-serif" - android:singleLine="true" - android:textSize="11sp" - android:fadingEdge="horizontal" - android:fadingEdgeLength="3dip" - android:ellipsize="marquee" - android:textAlignment="viewStart" /> - </LinearLayout> - - <View - android:id="@+id/contact_tile_push_state" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:importantForAccessibility="no" - android:background="@drawable/item_background_material_dark" /> - - <ImageButton - android:id="@id/contact_tile_secondary_button" - android:src="@drawable/ic_more_vert_24dp" - android:background="@drawable/item_background_material_dark" - android:layout_height="@dimen/contact_tile_info_button_height_and_width" - android:layout_width="@dimen/contact_tile_info_button_height_and_width" - android:paddingLeft="4dp" - android:paddingRight="9dp" - android:paddingStart="4dp" - android:paddingEnd="4dp" - android:paddingTop="8dp" - android:paddingBottom="4dp" - android:layout_alignParentTop="true" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" - android:scaleType="center" - android:contentDescription="@string/description_view_contact_detail" /> - - </RelativeLayout> -</view> diff --git a/res/layout/search_edittext.xml b/res/layout/search_edittext.xml deleted file mode 100644 index 8eda6960c..000000000 --- a/res/layout/search_edittext.xml +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<view class="com.android.dialer.widget.SearchEditTextLayout" - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:id="@+id/search_view_container" - android:orientation="horizontal" - android:layout_marginTop="@dimen/search_top_margin" - android:layout_marginBottom="@dimen/search_bottom_margin" - android:layout_marginLeft="@dimen/search_margin_horizontal" - android:layout_marginRight="@dimen/search_margin_horizontal" - android:background="@drawable/rounded_corner" - android:elevation="@dimen/search_box_elevation"> - - <LinearLayout - android:id="@+id/search_box_collapsed" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingStart="@dimen/search_box_left_padding" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/search_magnifying_glass" - android:layout_height="@dimen/search_box_icon_size" - android:layout_width="@dimen/search_box_icon_size" - android:padding="@dimen/search_box_search_icon_padding" - android:scaleType="center" - android:src="@drawable/ic_ab_search" - android:importantForAccessibility="no" - android:tint="@color/searchbox_icon_tint" /> - - <TextView - android:id="@+id/search_box_start_search" - android:layout_height="wrap_content" - android:layout_width="0dp" - android:layout_weight="1" - android:layout_marginLeft="@dimen/search_box_collapsed_text_margin_left" - android:textSize="@dimen/search_collapsed_text_size" - android:fontFamily="@string/search_font_family" - android:textColorHint="@color/searchbox_hint_text_color" - android:gravity="center_vertical" - android:hint="@string/dialer_hint_find_contact" /> - - <ImageView - android:id="@+id/voice_search_button" - android:layout_width="@dimen/search_box_icon_size" - android:layout_height="match_parent" - android:src="@drawable/ic_mic_grey600" - android:scaleType="center" - android:clickable="true" - android:contentDescription="@string/description_start_voice_search" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:tint="@color/searchbox_icon_tint" /> - - <ImageButton - android:id="@+id/dialtacts_options_menu_button" - android:layout_width="@dimen/search_box_icon_size" - android:layout_height="match_parent" - android:paddingEnd="@dimen/search_box_right_padding" - android:scaleType="center" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:src="@drawable/ic_overflow_menu" - android:contentDescription="@string/action_menu_overflow_description" - android:tint="@color/searchbox_icon_tint" /> - - </LinearLayout> - - <include layout="@layout/search_bar_expanded" /> - -</view> diff --git a/res/layout/set_primary_checkbox.xml b/res/layout/set_primary_checkbox.xml deleted file mode 100644 index b997327ed..000000000 --- a/res/layout/set_primary_checkbox.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="14dip" - android:paddingEnd="15dip" - android:orientation="vertical"> - - <CheckBox - android:id="@+id/setPrimary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:focusable="true" - android:clickable="true" - android:text="@string/make_primary"/> -</LinearLayout> diff --git a/res/layout/speed_dial_fragment.xml b/res/layout/speed_dial_fragment.xml deleted file mode 100644 index 5b6ce4fb8..000000000 --- a/res/layout/speed_dial_fragment.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - 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="match_parent" - android:clipChildren="false"> - - <FrameLayout - android:id="@+id/contact_tile_frame" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:paddingStart="@dimen/favorites_row_start_padding" - android:paddingEnd="@dimen/favorites_row_end_padding" > - <com.android.dialer.list.PhoneFavoriteListView - android:id="@+id/contact_tile_list" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingTop="@dimen/favorites_row_top_padding" - android:numColumns="@integer/contact_tile_column_count_in_favorites" - android:clipToPadding="false" - android:fadingEdge="none" - android:divider="@null" - android:paddingBottom="@dimen/floating_action_button_list_bottom_padding" - android:nestedScrollingEnabled="true" /> - </FrameLayout> - - <com.android.dialer.widget.EmptyContentView - android:id="@+id/empty_list_view" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="gone"/> - -</FrameLayout> diff --git a/res/layout/view_numbers_to_import_fragment.xml b/res/layout/view_numbers_to_import_fragment.xml deleted file mode 100644 index 1836f8dbd..000000000 --- a/res/layout/view_numbers_to_import_fragment.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:card_view="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:background="@color/blocked_number_background"> - - <ListView android:id="@id/android:list" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1" - android:divider="@null" - android:headerDividersEnabled="false" /> - - <RelativeLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="bottom" - android:paddingTop="8dp" - android:paddingBottom="8dp" - android:background="@android:color/white"> - - <Button android:id="@+id/import_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentEnd="true" - android:layout_marginEnd="@dimen/blocked_number_container_padding" - android:text="@string/blocked_call_settings_import_button" - style="@style/DialerFlatButtonStyle" /> - - <Button android:id="@+id/cancel_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/import_description" - android:layout_toLeftOf="@id/import_button" - android:text="@android:string/cancel" - style="@style/DialerFlatButtonStyle" /> - - </RelativeLayout> - -</LinearLayout> diff --git a/res/layout/voicemail_playback_layout.xml b/res/layout/voicemail_playback_layout.xml deleted file mode 100644 index 178e888bb..000000000 --- a/res/layout/voicemail_playback_layout.xml +++ /dev/null @@ -1,138 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="64dp" - android:layout_marginEnd="24dp" - android:orientation="vertical" - android:background="@color/background_dialer_call_log_list_item"> - - <TextView - android:id="@+id/playback_state_text" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:gravity="center" - android:textSize="14sp" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center_vertical" - android:paddingTop="@dimen/voicemail_playback_top_padding"> - - <TextView - android:id="@+id/playback_position_text" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:textSize="14sp" - android:importantForAccessibility="no" /> - - <SeekBar - android:id="@+id/playback_seek" - android:layout_width="0dp" - android:layout_weight="1" - android:layout_height="wrap_content" - android:progressDrawable="@drawable/seekbar_drawable" - android:thumb="@drawable/ic_voicemail_seek_handle" - android:progress="0" - android:max="0" - android:contentDescription="@string/description_playback_seek" /> - - <TextView - android:id="@+id/total_duration_text" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:textSize="14sp" - android:importantForAccessibility="no" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:gravity="center"> - - <Space - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1"/> - - <ImageButton android:id="@+id/playback_speakerphone" - style="@style/VoicemailPlaybackLayoutButtonStyle" - android:src="@drawable/ic_volume_down_24dp" - android:tint="@color/voicemail_icon_tint" - android:contentDescription="@string/description_playback_speakerphone" /> - - <Space - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1"/> - - <ImageButton android:id="@+id/playback_start_stop" - style="@style/VoicemailPlaybackLayoutButtonStyle" - android:src="@drawable/ic_play_arrow" - android:contentDescription="@string/voicemail_play_start_pause" /> - - <Space - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1"/> - - <ImageButton android:id="@+id/delete_voicemail" - style="@style/VoicemailPlaybackLayoutButtonStyle" - android:src="@drawable/ic_delete_24dp" - android:tint="@color/voicemail_icon_tint" - android:contentDescription="@string/call_log_trash_voicemail" /> - - <Space android:id="@+id/space_before_share_voicemail" - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1" - android:visibility="gone" /> - - <ImageButton android:id="@+id/share_voicemail" - style="@style/VoicemailPlaybackLayoutButtonStyle" - android:src="@drawable/ic_share_white_24dp" - android:tint="@color/voicemail_icon_tint" - android:contentDescription="@string/call_log_share_voicemail" - android:visibility="gone" /> - - <Space android:id="@+id/space_before_archive_voicemail" - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1" - android:visibility="gone" /> - - <ImageButton android:id="@+id/archive_voicemail" - style="@style/VoicemailPlaybackLayoutButtonStyle" - android:src="@drawable/ic_archive_white_24dp" - android:tint="@color/voicemail_icon_tint" - android:contentDescription="@string/call_log_archive_voicemail" - android:visibility="gone" /> - - <Space - android:layout_width="0dp" - android:layout_height="match_parent" - android:layout_weight="1"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/voicemail_promo_card.xml b/res/layout/voicemail_promo_card.xml deleted file mode 100644 index ba4ac59a7..000000000 --- a/res/layout/voicemail_promo_card.xml +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright 2015 Google Inc. All Rights Reserved. --> - -<android.support.v7.widget.CardView - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:card_view="http://schemas.android.com/apk/res-auto" - android:id="@+id/promo_card" - style="@style/CallLogCardStyle" - android:orientation="vertical" - android:gravity="center_vertical" - card_view:cardBackgroundColor="@color/visual_voicemail_promo_card_background"> - - <LinearLayout - android:id="@+id/promo_card_content" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingStart="@dimen/promo_card_start_padding" - android:paddingEnd="@dimen/promo_card_main_padding" - android:paddingTop="@dimen/promo_card_top_padding" - android:paddingBottom="@dimen/promo_card_main_padding" - android:orientation="horizontal" - android:gravity="top"> - - <ImageView - android:id="@+id/promo_card_icon" - android:layout_width="@dimen/promo_card_icon_size" - android:layout_height="@dimen/promo_card_icon_size" - android:layout_gravity="top" - android:src="@drawable/ic_voicemail_24dp"/> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/promo_card_main_padding" - android:orientation="vertical" - android:gravity="center_vertical"> - - <TextView - android:id="@+id/promo_card_header" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/promo_card_title_padding" - android:layout_gravity="center_vertical" - android:textColor="@color/background_dialer_white" - android:textSize="@dimen/call_log_primary_text_size" - android:textStyle="bold" - android:text="@string/visual_voicemail_title" - android:singleLine="false"/> - - <TextView - android:id="@+id/promo_card_details" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="@color/background_dialer_white" - android:textSize="@dimen/call_log_detail_text_size" - android:text="@string/visual_voicemail_text" - android:lineSpacingExtra="@dimen/promo_card_line_spacing" - android:singleLine="false"/> - </LinearLayout> - </LinearLayout> - - <View - android:layout_width="match_parent" - android:layout_height="1dp" - android:background="@color/visual_voicemail_promo_card_divider"/> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingEnd="@dimen/promo_card_action_end_padding" - android:paddingTop="@dimen/promo_card_action_vertical_padding" - android:paddingBottom="@dimen/promo_card_action_vertical_padding" - android:orientation="horizontal" - android:gravity="end"> - - <TextView - android:id="@+id/secondary_action" - style="@style/PromoCardActionStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@string/visual_voicemail_settings" - android:nextFocusLeft="@+id/promo_card" - android:nextFocusRight="@+id/primary_action" - android:paddingEnd="@dimen/promo_card_action_between_padding"/> - - <TextView - android:id="@+id/primary_action" - style="@style/PromoCardActionStyle" - android:background="?android:attr/selectableItemBackground" - android:text="@android:string/ok" - android:nextFocusLeft="@+id/secondary_action" - android:nextFocusRight="@+id/promo_card"/> - </LinearLayout> - </LinearLayout> -</android.support.v7.widget.CardView> |