~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
-->
-<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.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_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:foregroundGravity="center_vertical"
- android:paddingVertical="@dimen/nav_header_vertical_spacing">
+ android:foregroundGravity="center_vertical">
+
+ <TextView
+ android:id="@+id/colorTag"
+ android:layout_width="@dimen/activity_horizontal_margin"
+ android:layout_height="0dp"
+ android:background="?colorPrimary"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/profile_list_edit_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
+ android:layout_marginTop="@dimen/nav_header_vertical_spacing"
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" />
+ app:layout_constraintTop_toTopOf="parent"
+ tools:ignore="HardcodedText" />
<TextView
android:id="@+id/subtitle"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
+ android:layout_marginBottom="@dimen/nav_header_vertical_spacing"
android:text="Sub-heading"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
tools:ignore="HardcodedText" />
-</android.support.constraint.ConstraintLayout>
\ No newline at end of file
+</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file