| <?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. |
| --> |
| <android.support.constraint.ConstraintLayout |
| 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/car_action_bar_height" |
| android:background="@color/phone_theme" |
| android:elevation="@dimen/in_call_card_elevation"> |
| <android.support.constraint.Guideline |
| android:id="@+id/text_start" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| app:layout_constraintGuide_begin="124dp"/> |
| <ImageView |
| android:id="@+id/icon" |
| android:layout_width="@dimen/car_app_icon_size" |
| android:layout_height="@dimen/car_app_icon_size" |
| android:scaleType="fitCenter" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintTop_toTopOf="parent"/> |
| <TextView |
| android:id="@+id/body" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| style="@style/TextAppearance.Car.Body1" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="@+id/text_start" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintTop_toTopOf="parent"/> |
| </android.support.constraint.ConstraintLayout> |