Merge "Add an assist mic to the navigation bar"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb74dae170
9
packages/CarSystemUI/res/drawable/ic_mic_white.xml
Normal file
9
packages/CarSystemUI/res/drawable/ic_mic_white.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="48dp"
|
||||
android:height="48dp"
|
||||
android:viewportWidth="48.0"
|
||||
android:viewportHeight="48.0">
|
||||
<path
|
||||
android:pathData="M24,28c3.31,0 5.98,-2.69 5.98,-6L30,10c0,-3.32 -2.68,-6 -6,-6 -3.31,0 -6,2.68 -6,6v12c0,3.31 2.69,6 6,6zM34.6,22c0,6 -5.07,10.2 -10.6,10.2 -5.52,0 -10.6,-4.2 -10.6,-10.2L10,22c0,6.83 5.44,12.47 12,13.44L22,42h4v-6.56c6.56,-0.97 12,-6.61 12,-13.44h-3.4z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
</vector>
|
||||
@@ -107,11 +107,27 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.keyguard.AlphaOptimizedImageButton
|
||||
android:id="@+id/notifications"
|
||||
<com.android.systemui.statusbar.car.CarFacetButton
|
||||
android:id="@+id/note"
|
||||
style="@style/NavigationBarButton"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:src="@drawable/car_ic_notification"
|
||||
systemui:icon="@drawable/car_ic_notification"
|
||||
systemui:intent="intent:#Intent;component=com.android.car.notification/.CarNotificationCenterActivity;launchFlags=0x14000000;end"
|
||||
systemui:packages="com.android.car.notification"
|
||||
systemui:selectedIcon="@drawable/car_ic_notification_selected"
|
||||
systemui:useMoreIcon="false"
|
||||
/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<com.android.systemui.statusbar.car.CarFacetButton
|
||||
android:id="@+id/assist"
|
||||
style="@style/NavigationBarButton"
|
||||
systemui:icon="@drawable/ic_mic_white"
|
||||
systemui:intent="intent:#Intent;action=com.google.android.demandspace.START;end"
|
||||
systemui:useMoreIcon="false"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user