81 lines
No EOL
3.2 KiB
XML
81 lines
No EOL
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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"
|
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
|
|
|
<View
|
|
android:id="@+id/toolbar_background"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:alpha="0"
|
|
android:background="@color/signal_background_primary"
|
|
app:layout_constraintBottom_toBottomOf="@id/toolbar"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/toolbar" />
|
|
|
|
<org.thoughtcrime.securesms.util.views.DarkOverflowToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="56dp"
|
|
android:theme="?attr/settingsToolbarStyle"
|
|
app:contentInsetStartWithNavigation="60dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:navigationIcon="@drawable/ic_arrow_left_24">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/toolbar_avatar_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:alpha="0"
|
|
android:translationY="56dp"
|
|
tools:alpha="1"
|
|
tools:translationY="0dp">
|
|
|
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
|
android:id="@+id/toolbar_avatar"
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
app:fallbackImageSize="small" />
|
|
|
|
<org.thoughtcrime.securesms.badges.BadgeImageView
|
|
android:id="@+id/toolbar_badge"
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginTop="23dp"
|
|
app:badge_size="small" />
|
|
|
|
</FrameLayout>
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
android:id="@+id/toolbar_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:textAppearance="@style/Signal.Text.Title"
|
|
android:translationY="56dp"
|
|
tools:alpha="1"
|
|
tools:text="Miles Morales"
|
|
tools:translationY="0dp" />
|
|
|
|
</org.thoughtcrime.securesms.util.views.DarkOverflowToolbar>
|
|
|
|
<View
|
|
android:id="@+id/toolbar_shadow"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:alpha="0"
|
|
android:background="@drawable/toolbar_shadow"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar" />
|
|
</merge> |