2018-06-18 21:26:18 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-18 21:26:18 +10:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="4dp">
|
|
|
|
|
2018-12-03 21:02:28 +11:00
|
|
|
<!-- 30% width for the field name, 70% for the value -->
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-06-18 21:26:18 +10:00
|
|
|
android:id="@+id/accountFieldName"
|
2018-12-03 21:02:28 +11:00
|
|
|
android:layout_width="0dp"
|
2018-06-18 21:26:18 +10:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
2018-12-03 21:02:28 +11:00
|
|
|
android:gravity="center"
|
2018-06-18 21:26:18 +10:00
|
|
|
android:lineSpacingMultiplier="1.1"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="?attr/status_text_medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-12-03 21:02:28 +11:00
|
|
|
app:layout_constraintWidth_percent=".3"
|
|
|
|
tools:text="Field title" />
|
2018-06-18 21:26:18 +10:00
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-06-18 21:26:18 +10:00
|
|
|
android:id="@+id/accountFieldValue"
|
2018-12-03 21:02:28 +11:00
|
|
|
android:layout_width="wrap_content"
|
2018-06-18 21:26:18 +10:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
2018-12-03 21:02:28 +11:00
|
|
|
android:drawablePadding="6dp"
|
2018-06-18 21:26:18 +10:00
|
|
|
android:lineSpacingMultiplier="1.1"
|
|
|
|
android:textSize="?attr/status_text_medium"
|
2018-12-03 21:02:28 +11:00
|
|
|
app:layout_constrainedWidth="true"
|
2018-06-18 21:26:18 +10:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/accountFieldName"
|
|
|
|
tools:text="Field content. This can contain links and custom emojis" />
|
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|