You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
3.7 KiB
87 lines
3.7 KiB
<?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.
|
|
-->
|
|
<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">
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/dialpad_info_guideline"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintGuide_begin="@dimen/dialpad_info_guideline"/>
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dialpad_info_title_container_size"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/TextAppearance.DialNumber"
|
|
android:textDirection="ltr"
|
|
android:autoSizeTextType="uniform"
|
|
android:autoSizeMinTextSize="@dimen/dialpad_info_title_text_size_min"
|
|
android:autoSizeMaxTextSize="@dimen/dialpad_info_title_text_size_max"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="@id/dialpad_info_guideline"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toLeftOf="@+id/delete_button"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/delete_button"
|
|
style="@style/DialpadSecondaryButton"
|
|
android:src="@drawable/ic_backspace"
|
|
android:layout_marginLeft="@dimen/dialpad_info_title_padding_size"
|
|
android:layout_marginRight="@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"/>
|
|
|
|
<include
|
|
layout="@layout/dialpad_user_profile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="@dimen/dialpad_user_profile_padding"
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
<include
|
|
layout="@layout/list_fragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginBottom="@dimen/dialpad_user_profile_padding"
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
<include
|
|
layout="@layout/restricted_dialing_mode_label"
|
|
android:id="@+id/restricted_dialing_mode_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:layout_marginTop="8dp"
|
|
android:visibility="invisible"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|