Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="wrap_content"
|
|
android:background="@drawable/bg_gradient_primary"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/space_lg">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:cardBackgroundColor="?attr/colorSurfaceContainerLowest"
|
|
app:cardCornerRadius="@dimen/card_radius"
|
|
app:cardElevation="0dp"
|
|
app:strokeWidth="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/healthIndicator"
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_margin="@dimen/space_xs"
|
|
android:contentDescription="@string/cd_health_indicator"
|
|
android:src="@drawable/ic_circle_status" />
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
<TextView
|
|
android:id="@+id/userName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/space_md"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="@string/unknown_user"
|
|
android:textAppearance="?attr/textAppearanceTitleMedium"
|
|
android:textColor="?attr/colorOnPrimary" />
|
|
|
|
<TextView
|
|
android:id="@+id/userEmail"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/space_xs"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textAppearance="?attr/textAppearanceBodySmall"
|
|
android:textColor="?attr/colorOnPrimary" />
|
|
|
|
</LinearLayout>
|