blob: d192bc9133b7ac80b16315ac1d1dc1322220c2b1 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 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.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="100dp">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="45dp"
android:layout_marginBottom="48dp"
android:layout_alignParentTop="true"
android:layout_alignLeft="@id/dialpad_fragment"
android:layout_alignRight="@id/dialpad_fragment"
android:textAppearance="@style/TextAppearance.DialNumber"
android:gravity="center"/>
<com.android.car.ui.recyclerview.CarUiRecyclerView
android:id="@+id/list_view"
android:layout_width="536dp"
android:layout_height="266dp"
android:layout_marginBottom="10dp"
android:layout_marginLeft="70dp"
android:layout_below="@id/title"/>
<fragment
android:id="@+id/dialpad_fragment"
android:name="com.android.car.dialer.ui.dialpad.KeypadFragment"
android:layout_height="456dp"
android:layout_width="416dp"
android:layout_marginLeft="120dp"
android:layout_below="@id/list_view"/>
<RelativeLayout
android:layout_height="@dimen/dialer_keypad_button_size"
android:layout_width="0dp"
android:layout_below="@id/dialpad_fragment"
android:layout_marginTop="38dp"
android:layout_alignLeft="@id/dialpad_fragment"
android:layout_alignRight="@id/dialpad_fragment">
<ImageView
android:id="@+id/call_button"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:adjustViewBounds="true"
android:scaleType="fitXY"
android:src="@drawable/icon_call_button"
android:layout_toLeftOf="@id/delete_button"/>
<ImageButton
android:id="@+id/delete_button"
android:layout_width="@dimen/dialer_keypad_button_size"
android:layout_height="@dimen/dialer_keypad_button_size"
style="@style/DialpadSecondaryButton"
android:src="@drawable/ic_backspace"
android:layout_marginLeft="64dp"
android:visibility="gone"
android:layout_alignParentRight="true"/>
</RelativeLayout>
<include
layout="@layout/dialpad_user_profile"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="10dp"
android:layout_below="@id/title"
android:layout_centerHorizontal="true"/>
<include
layout="@layout/restricted_dialing_mode_label"
android:id="@+id/restricted_dialing_mode_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="8dp"
android:layout_below="@id/title"
android:visibility="invisible"/>
</RelativeLayout>