| <?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. |
| --> |
| <FrameLayout |
| 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="match_parent" |
| android:background="@color/contact_fragment_background" |
| android:clipChildren="false"> |
| |
| <androidx.car.widget.PagedListView |
| android:id="@+id/list_view" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginTop="@dimen/car_app_bar_height" |
| android:clipChildren="false"/> |
| |
| <FrameLayout |
| android:id="@+id/contact_detail_container" |
| android:background="@color/contact_detail_fragment_background_color" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:visibility="gone"> |
| <android.support.constraint.ConstraintLayout |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/car_app_bar_height" |
| android:background="@color/phone_theme_secondary"> |
| <ImageView |
| android:id="@+id/back_button" |
| android:layout_width="@dimen/car_touch_target_size" |
| android:layout_height="@dimen/car_touch_target_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_arrow_back" |
| android:tint="@color/car_tint" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintEnd_toEndOf="@+id/margin_guideline" |
| app:layout_constraintTop_toTopOf="parent"/> |
| <android.support.constraint.Guideline |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:id="@+id/margin_guideline" |
| app:layout_constraintGuide_begin="@dimen/car_margin" |
| android:orientation="vertical"/> |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| style="@style/TextAppearance.Car.Body1" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/back_button" |
| app:layout_constraintTop_toTopOf="parent"/> |
| </android.support.constraint.ConstraintLayout> |
| <FrameLayout |
| android:id="@+id/contact_detail_fragment_container" |
| android:layout_marginTop="@dimen/car_app_bar_height" |
| android:background="@android:color/transparent" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"/> |
| </FrameLayout> |
| </FrameLayout> |