<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/profile_list"
+ android:id="@+id/profile_list_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:id="@+id/profile_list_edit_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginEnd="16dp"
android:layout_weight="9"
android:drawableStart="@drawable/ic_mode_edit_black_24dp"
android:padding="8dp"
<RadioButton
android:id="@+id/profile_list_radio"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
android:layout_weight="9"
- android:text="Profile name"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="HardcodedText" />
+ <TextView
+ android:id="@+id/title"
+ style="@style/TextAppearance.AppCompat.Large"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:text="Profile name"
+ app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
+ app:layout_constraintStart_toEndOf="@id/profile_list_radio"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:ignore="HardcodedText" />
+
+ <TextView
+ android:id="@+id/subtitle"
+ style="@style/TextAppearance.AppCompat.Medium"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ android:text="Sub-heading"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
+ app:layout_constraintStart_toEndOf="@id/profile_list_radio"
+ app:layout_constraintTop_toBottomOf="@id/title"
+ tools:ignore="HardcodedText" />
+
</android.support.constraint.ConstraintLayout>
\ No newline at end of file