diff options
Diffstat (limited to 'res/layout-port/dialpad_info.xml')
-rw-r--r-- | res/layout-port/dialpad_info.xml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/res/layout-port/dialpad_info.xml b/res/layout-port/dialpad_info.xml new file mode 100644 index 00000000..8169ec2d --- /dev/null +++ b/res/layout-port/dialpad_info.xml @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2020 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. +--> +<androidx.constraintlayout.widget.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="match_parent"> + + <TextView + android:id="@+id/title" + android:layout_width="0dp" + android:layout_height="@dimen/dialpad_info_title_container_size" + android:textDirection="ltr" + android:maxLines="1" + android:textAppearance="@style/TextAppearance.DialNumber" + android:autoSizeTextType="uniform" + android:autoSizeMinTextSize="@dimen/dialpad_info_title_text_size_min" + android:autoSizeMaxTextSize="@dimen/dialpad_info_title_text_size_max" + app:layout_constraintVertical_chainStyle="packed" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toLeftOf="@+id/delete_button" + app:layout_goneMarginRight="@dimen/dialpad_info_edge_padding_size"/> + + <ImageButton + android:id="@+id/delete_button" + style="@style/DialpadSecondaryButton" + android:src="@drawable/ic_backspace" + android:layout_marginStart="@dimen/dialpad_info_title_padding_size" + android:layout_marginEnd="@dimen/dialpad_info_margin_end" + app:layout_constraintTop_toTopOf="@id/title" + app:layout_constraintBottom_toBottomOf="@id/title" + app:layout_constraintLeft_toRightOf="@id/title" + app:layout_constraintRight_toRightOf="parent"/> + + <ImageView + android:id="@+id/call_button" + style="@style/DialpadPrimaryButton" + android:layout_width="wrap_content" + android:layout_height="@dimen/call_button_height" + android:src="@drawable/icon_call_button" + android:layout_marginBottom="@dimen/call_button_bottom_margin" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + + <include + layout="@layout/dialpad_user_profile" + android:layout_width="wrap_content" + android:layout_height="0dp" + app:layout_constraintTop_toBottomOf="@id/title" + app:layout_constraintBottom_toTopOf="@+id/call_button" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + +</androidx.constraintlayout.widget.ConstraintLayout> |