summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/main/impl/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/dialer/main/impl/res')
-rw-r--r--java/com/android/dialer/main/impl/res/drawable/notification_badge.xml22
-rw-r--r--java/com/android/dialer/main/impl/res/layout/bottom_nav_bar_layout.xml52
-rw-r--r--java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml60
-rw-r--r--java/com/android/dialer/main/impl/res/values/colors.xml20
-rw-r--r--java/com/android/dialer/main/impl/res/values/strings.xml9
5 files changed, 0 insertions, 163 deletions
diff --git a/java/com/android/dialer/main/impl/res/drawable/notification_badge.xml b/java/com/android/dialer/main/impl/res/drawable/notification_badge.xml
deleted file mode 100644
index 2d0dafe93..000000000
--- a/java/com/android/dialer/main/impl/res/drawable/notification_badge.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2018 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
- -->
-<shape
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="oval">
- <solid android:color="@color/dialer_secondary_color"/>
- <size android:height="14dp" android:width="14dp"/>
-</shape> \ No newline at end of file
diff --git a/java/com/android/dialer/main/impl/res/layout/bottom_nav_bar_layout.xml b/java/com/android/dialer/main/impl/res/layout/bottom_nav_bar_layout.xml
deleted file mode 100644
index 67c1a20df..000000000
--- a/java/com/android/dialer/main/impl/res/layout/bottom_nav_bar_layout.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2018 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
- -->
-<com.android.dialer.main.impl.BottomNavBar
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/dialer_theme_color"
- android:elevation="8dp">
-
- <include
- android:id="@+id/speed_dial_tab"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- layout="@layout/bottom_nav_item"/>
-
- <include
- android:id="@+id/call_log_tab"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- layout="@layout/bottom_nav_item"/>
-
- <include
- android:id="@+id/contacts_tab"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- layout="@layout/bottom_nav_item"/>
-
- <include
- android:id="@+id/voicemail_tab"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- layout="@layout/bottom_nav_item"/>
-</com.android.dialer.main.impl.BottomNavBar> \ No newline at end of file
diff --git a/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml b/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
deleted file mode 100644
index 2d9998af2..000000000
--- a/java/com/android/dialer/main/impl/res/layout/bottom_nav_item.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2018 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
- -->
-<com.android.dialer.main.impl.BottomNavItem
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:minWidth="80dp"
- android:paddingTop="8dp"
- android:paddingBottom="10dp"
- android:paddingStart="12dp"
- android:paddingEnd="12dp"
- android:gravity="center"
- android:theme="@style/Theme.AppCompat"
- android:background="?android:selectableItemBackgroundBorderless">
-
- <FrameLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="2dp">
-
- <ImageView
- android:id="@+id/bottom_nav_item_image"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_margin="4dp"/>
-
- <TextView
- android:id="@+id/notification_badge"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="top|end"
- android:gravity="center"
- android:textSize="12sp"
- android:textColor="@color/dialer_primary_text_color_white"
- android:background="@drawable/notification_badge"
- android:visibility="gone"/>
- </FrameLayout>
-
- <TextView
- android:id="@+id/bottom_nav_item_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- android:gravity="center_horizontal"/>
-</com.android.dialer.main.impl.BottomNavItem> \ No newline at end of file
diff --git a/java/com/android/dialer/main/impl/res/values/colors.xml b/java/com/android/dialer/main/impl/res/values/colors.xml
deleted file mode 100644
index 3d348653c..000000000
--- a/java/com/android/dialer/main/impl/res/values/colors.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2017 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
- -->
-<resources>
- <color name="bottom_nav_icon_selected">#FFFFFF</color>
- <color name="bottom_nav_icon_deselected">#B2FFFFFF</color>
-</resources>
diff --git a/java/com/android/dialer/main/impl/res/values/strings.xml b/java/com/android/dialer/main/impl/res/values/strings.xml
index 0fc1246d6..c842beeff 100644
--- a/java/com/android/dialer/main/impl/res/values/strings.xml
+++ b/java/com/android/dialer/main/impl/res/values/strings.xml
@@ -38,15 +38,6 @@
<!-- A11y announcement to let users know a button will let them view their contacts [CHAR LIMIT=NONE] -->
<string name="description_contacts">View Contacts</string>
- <!-- Tab text to show users their call log/call history [CHAR LIMIT=10] -->
- <string name="tab_title_call_history">Call History</string>
- <!-- Tab text to show users their favorite contacts that they can call in 1 click [CHAR LIMIT=10] -->
- <string name="tab_title_speed_dial">Speed Dial</string>
- <!-- Tab text to show users their voicemails [CHAR LIMIT=10] -->
- <string name="tab_title_voicemail">Voicemail</string>
- <!-- Tab text to show users their contacts [CHAR LIMIT=10] -->
- <string name="tab_title_contacts">Contacts</string>
-
<!-- Message displayed when there is no application available to handle voice search. [CHAR LIMIT=NONE] -->
<string name="voice_search_not_available">Voice search not available</string>
</resources>