summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/res/layout
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-03-21 10:11:17 -0700
committerEric Erfanian <erfanian@google.com>2017-03-21 10:11:17 -0700
commitfc37b02f5d3381a7882770941e461b13b679b6ef (patch)
tree23ce96100a89f1cf8847a4967efd35e56b6f8092 /java/com/android/dialer/app/res/layout
parent30ccc4f3aa6da94f0bb8a01a880a6353b883b263 (diff)
Update AOSP Dialer source from internal google3 repository at
cl/150756069 Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/150392808 (3/16/2017) to cl/150756069 (3/21/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: I0888b5db52efb28eb8194600e0c7804592f975f3
Diffstat (limited to 'java/com/android/dialer/app/res/layout')
-rw-r--r--java/com/android/dialer/app/res/layout/call_detail_history_item.xml55
-rw-r--r--java/com/android/dialer/app/res/layout/call_log_list_item_actions.xml2
-rw-r--r--java/com/android/dialer/app/res/layout/dialpad_fragment.xml33
-rw-r--r--java/com/android/dialer/app/res/layout/dialtacts_activity.xml25
4 files changed, 23 insertions, 92 deletions
diff --git a/java/com/android/dialer/app/res/layout/call_detail_history_item.xml b/java/com/android/dialer/app/res/layout/call_detail_history_item.xml
deleted file mode 100644
index 0184a42f2..000000000
--- a/java/com/android/dialer/app/res/layout/call_detail_history_item.xml
+++ /dev/null
@@ -1,55 +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">
- <com.android.dialer.calllogutils.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="?android:textColorPrimary"
- 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="?android:textColorSecondary"
- 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="?android:textColorSecondary"
- android:textSize="@dimen/call_log_detail_text_size"/>
-</LinearLayout>
diff --git a/java/com/android/dialer/app/res/layout/call_log_list_item_actions.xml b/java/com/android/dialer/app/res/layout/call_log_list_item_actions.xml
index 5b857afa0..fe77ac613 100644
--- a/java/com/android/dialer/app/res/layout/call_log_list_item_actions.xml
+++ b/java/com/android/dialer/app/res/layout/call_log_list_item_actions.xml
@@ -79,7 +79,7 @@
<ImageView
style="@style/CallLogActionIconStyle"
- android:src="@drawable/ic_person_add_24dp"/>
+ android:src="@drawable/quantum_ic_person_add_white_24"/>
<TextView
style="@style/CallLogActionTextStyle"
diff --git a/java/com/android/dialer/app/res/layout/dialpad_fragment.xml b/java/com/android/dialer/app/res/layout/dialpad_fragment.xml
index 2cf198fcb..dd6dab747 100644
--- a/java/com/android/dialer/app/res/layout/dialpad_fragment.xml
+++ b/java/com/android/dialer/app/res/layout/dialpad_fragment.xml
@@ -14,10 +14,11 @@
limitations under the License.
-->
<view xmlns:android="http://schemas.android.com/apk/res/android"
- class="com.android.dialer.app.dialpad.DialpadFragment$DialpadSlidingRelativeLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ class="com.android.dialer.app.dialpad.DialpadFragment$DialpadSlidingRelativeLayout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
@@ -57,22 +58,14 @@
android:layout_height="@dimen/floating_action_button_margin_bottom"
android:layout_alignParentBottom="true"/>
- <FrameLayout
- android:id="@+id/dialpad_floating_action_button_container"
- 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"
- android:background="@drawable/fab_green">
-
- <ImageButton
+ <android.support.design.widget.FloatingActionButton
android:id="@+id/dialpad_floating_action_button"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/floating_action_button"
+ 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"
+ android:src="@drawable/quantum_ic_call_white_24"
android:contentDescription="@string/description_dial_button"
- android:src="@drawable/fab_ic_call"/>
-
- </FrameLayout>
-
+ app:elevation="@dimen/floating_action_button_translation_z"
+ app:backgroundTint="@color/dialpad_fab_green"/>
</view>
diff --git a/java/com/android/dialer/app/res/layout/dialtacts_activity.xml b/java/com/android/dialer/app/res/layout/dialtacts_activity.xml
index 042b4a5e8..958b6944b 100644
--- a/java/com/android/dialer/app/res/layout/dialtacts_activity.xml
+++ b/java/com/android/dialer/app/res/layout/dialtacts_activity.xml
@@ -38,24 +38,17 @@
android:clipChildren="false"/>
</FrameLayout>
- <FrameLayout
- android:id="@+id/floating_action_button_container"
- 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"
- android:background="@drawable/dialer_fab"
- app:layout_behavior="com.android.dialer.app.FloatingActionButtonBehavior">
-
- <ImageButton
+ <android.support.design.widget.FloatingActionButton
android:id="@+id/floating_action_button"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/floating_action_button"
+ android:layout_width="@dimen/floating_action_button_width"
+ android:layout_height="@dimen/floating_action_button_height"
+ android:layout_gravity="center_horizontal|bottom"
+ android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"
android:contentDescription="@string/action_menu_dialpad_button"
- android:src="@drawable/fab_ic_dial"/>
-
- </FrameLayout>
+ android:src="@drawable/quantum_ic_dialpad_white_24"
+ android:scaleType="center"
+ app:elevation="@dimen/floating_action_button_translation_z"
+ app:backgroundTint="@color/dialer_secondary_color"/>
<!-- Host container for the contact tile drag shadow -->
<FrameLayout