2021-06-24 13:52:54 -03:00
|
|
|
<?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"
|
2021-07-07 15:47:03 -03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="56dp"
|
2021-06-24 13:52:54 -03:00
|
|
|
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">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
|
|
|
android:id="@+id/toolbar_avatar"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="56dp"
|
|
|
|
app:fallbackImageSize="small" />
|
|
|
|
|
2021-06-30 15:43:21 -04:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
2021-06-24 13:52:54 -03:00
|
|
|
android:id="@+id/toolbar_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0"
|
2021-07-07 15:47:03 -03:00
|
|
|
android:ellipsize="end"
|
2021-06-24 13:52:54 -03:00
|
|
|
android:gravity="center_vertical"
|
2021-07-07 15:47:03 -03:00
|
|
|
android:maxLines="1"
|
2021-06-24 13:52:54 -03:00
|
|
|
android:textAppearance="@style/Signal.Text.Title"
|
|
|
|
android:translationY="56dp"
|
|
|
|
tools:text="Miles Morales" />
|
|
|
|
|
|
|
|
</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>
|