Revision control
Copy as Markdown
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:theme="@style/NavHeader"
android:id="@+id/menuHeader"
tools:ignore="UseCompoundDrawables">
<ImageView
android:id="@+id/profileImage"
android:contentDescription="@string/app_logo"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginTop="40dp"
android:layout_marginBottom="21dp"
android:background="@drawable/round_outline_small"
android:src="@mipmap/ic_launcher_round"
android:scaleType="centerCrop"
/>
<TextView
android:id="@+id/accountName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:textSize="20sp"
android:fontFamily="sans-serif-medium"
android:textStyle="normal"
android:textColor="@color/text_white"
android:letterSpacing="0.01"
android:backgroundTint="@color/color_primary_dark"
android:text="@string/app_name"
/>
<TextView
android:id="@+id/displayName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="11dp"
android:backgroundTint="@color/color_primary_dark"
android:textSize="14sp"
android:fontFamily="sans-serif"
android:textStyle="normal"
android:textColor="@color/white_60_percent"
android:letterSpacing="0.02"
android:lineSpacingExtra="6sp"
android:text="@string/firefox_account"
/>
</LinearLayout>