summaryrefslogtreecommitdiffstats
path: root/res/layout/on_going_call_controller_bar_fragment.xml
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2019-04-09 09:53:42 -0700
committerCole Faust <colefaust@google.com>2019-04-16 22:57:43 -0700
commitd7c8edf7e3e48f36f6bed6b29c89c842e57c9f1c (patch)
tree87e7960d9185972a93ab13ef82d172cb75b7aea6 /res/layout/on_going_call_controller_bar_fragment.xml
parent63cd4be76e58e8fbd15fe18385d3cfe68606091a (diff)
downloadplatform_packages_apps_Car_Dialer-d7c8edf7e3e48f36f6bed6b29c89c842e57c9f1c.tar.gz
platform_packages_apps_Car_Dialer-d7c8edf7e3e48f36f6bed6b29c89c842e57c9f1c.tar.bz2
platform_packages_apps_Car_Dialer-d7c8edf7e3e48f36f6bed6b29c89c842e57c9f1c.zip
DO NOT MERGE: Implement latest VisD spec for Ongoing Call
- Changed layout of in-call user profile in landscape mode - Added a blurred background image, from media's implementation - Updated Controller bar icons - Adjusted margins/paddings/fonts to match spec Bug: 128455180 Test: Manually. Change-Id: If00d8112cfe5e64b3f319707f8cc595be7b2ccec
Diffstat (limited to 'res/layout/on_going_call_controller_bar_fragment.xml')
-rw-r--r--res/layout/on_going_call_controller_bar_fragment.xml33
1 files changed, 9 insertions, 24 deletions
diff --git a/res/layout/on_going_call_controller_bar_fragment.xml b/res/layout/on_going_call_controller_bar_fragment.xml
index d182d042..cc89eb2b 100644
--- a/res/layout/on_going_call_controller_bar_fragment.xml
+++ b/res/layout/on_going_call_controller_bar_fragment.xml
@@ -17,15 +17,14 @@ limitations under the License.
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
- android:layout_height="@dimen/in_call_controller_bar_height"
- android:elevation = "@dimen/in_call_card_elevation">
+ android:layout_height="@dimen/in_call_controller_bar_height">
<ImageView
android:id="@+id/mute_button"
android:layout_width="@dimen/in_call_button_size"
android:layout_height="@dimen/in_call_button_size"
android:scaleType="center"
- android:src="@drawable/ic_mute"
- android:tint="@color/primary_icon_color"
+ android:src="@drawable/ic_mute_activatable"
+ android:background="@drawable/dialer_ripple_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@+id/toggle_dialpad_button"
@@ -36,8 +35,8 @@ limitations under the License.
android:layout_width="@dimen/in_call_button_size"
android:layout_height="@dimen/in_call_button_size"
android:scaleType="center"
- android:src="@drawable/ic_dialpad"
- android:tint="@color/primary_icon_color"
+ android:src="@drawable/ic_dialpad_activatable"
+ android:background="@drawable/dialer_ripple_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/mute_button"
app:layout_constraintEnd_toStartOf="@+id/end_call_button"
@@ -45,11 +44,9 @@ limitations under the License.
<ImageView
android:id="@+id/end_call_button"
- android:layout_width="@dimen/fab_button_size"
- android:layout_height="@dimen/fab_button_size"
- android:scaleType="center"
- android:src="@drawable/ic_call_end"
- android:tint="@color/phone_theme_light"
+ style="@style/DialpadPrimaryButton"
+ android:src="@drawable/ic_call_end_button"
+ android:background="@drawable/dialer_ripple_background"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/toggle_dialpad_button"
app:layout_constraintEnd_toStartOf="@+id/voice_channel_button"
@@ -61,25 +58,13 @@ limitations under the License.
android:layout_height="@dimen/in_call_button_size"
android:background="@drawable/dialer_ripple_background"
android:scaleType="center"
- android:src="@drawable/ic_bluetooth"
- android:tint="@color/primary_icon_color"
+ android:src="@drawable/ic_bluetooth_activatable"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/end_call_button"
app:layout_constraintEnd_toStartOf="@+id/pause_button"
app:layout_constraintTop_toTopOf="parent"/>
<ImageView
- android:id="@+id/voice_channel_chevron"
- android:layout_width="@dimen/in_call_controller_secondary_icon_size"
- android:layout_height="@dimen/in_call_controller_secondary_icon_size"
- android:scaleType="fitCenter"
- android:src="@drawable/ic_arrow_down"
- android:tint="@color/primary_icon_color"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@+id/voice_channel_button"
- app:layout_constraintTop_toTopOf="parent"/>
-
- <ImageView
android:id="@+id/pause_button"
android:layout_width="@dimen/in_call_button_size"
android:layout_height="@dimen/in_call_button_size"