summaryrefslogtreecommitdiff
path: root/demoapp/app/src/main/res/layout/not_formattable_list_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'demoapp/app/src/main/res/layout/not_formattable_list_item.xml')
-rw-r--r--demoapp/app/src/main/res/layout/not_formattable_list_item.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/demoapp/app/src/main/res/layout/not_formattable_list_item.xml b/demoapp/app/src/main/res/layout/not_formattable_list_item.xml
new file mode 100644
index 00000000..c1ad1460
--- /dev/null
+++ b/demoapp/app/src/main/res/layout/not_formattable_list_item.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/cl_list_item"
+ android:layout_width="match_parent"
+ android:layout_height="?listPreferredItemHeight"
+ android:background="?selectableItemBackground"
+ android:clickable="true"
+ android:focusable="true"
+ android:paddingEnd="@dimen/app_default_spacing_from_layout_outline"
+ android:paddingStart="@dimen/app_default_spacing_from_layout_outline">
+
+ <TextView
+ android:id="@+id/tv_contact_name"
+ style="?textAppearanceLabelMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textStyle="bold"
+ app:layout_constraintBottom_toTopOf="@id/ll_phone_number"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+ <LinearLayout
+ android:id="@+id/ll_phone_number"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/tv_contact_name">
+
+ <TextView
+ android:id="@+id/tv_reason"
+ style="?textAppearanceBodyMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textStyle="italic" />
+
+ <TextView
+ android:id="@+id/tv_colon"
+ style="?textAppearanceBodyMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/not_formattable_colon_text" />
+
+ <TextView
+ android:id="@+id/tv_original_phone_number"
+ style="?textAppearanceBodyMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="" />
+
+ </LinearLayout>
+
+</androidx.constraintlayout.widget.ConstraintLayout>