blob: 9403310941da0dd74a9a772c1bc1e3a483129ea5 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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.
-->
<!-- There seems to be a bug in layout inflation where it can't use a resource to inflate a view
group that sets layout_marginTop with a dimension. Work around by putting in a shell layout.
-->
<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:paddingTop="@dimen/car_app_bar_height">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/dialpad_fragment_container"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@+id/divider"
app:layout_constraintTop_toTopOf="parent"/>
<View
android:id="@+id/divider"
android:background="@color/car_list_divider"
android:layout_gravity="end|top"
android:layout_height="0dp"
android:layout_width="@dimen/line_divider_height"
app:layout_constraintBottom_toBottomOf="@+id/dialpad_fragment_container"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/dialpad_fragment_container"/>
<FrameLayout
android:id="@+id/dialer_info_fragment_container"
android:layout_height="0dp"
android:layout_width="0dp"
android:paddingStart="@dimen/car_keyline_1"
android:paddingEnd="@dimen/car_keyline_1"
app:layout_constraintBottom_toBottomOf="@+id/dialpad_fragment_container"
app:layout_constraintStart_toEndOf="@+id/divider"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/dialpad_fragment_container">
<include layout="@layout/dialer_info_fragment"/>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>