Signal-Android/app/src/main/res/layout/conversation_settings_toolbar.xml

79 lines
3.2 KiB
XML
Raw Normal View History

<?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"
2022-08-09 13:29:04 -03:00
tools:viewBindingIgnore="true"
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"
2022-05-26 17:32:52 -03:00
android:background="@color/signal_colorSurface2"
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"
2022-05-26 17:32:52 -03:00
android:layout_height="@dimen/signal_m3_toolbar_height"
android:minHeight="@dimen/signal_m3_toolbar_height"
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">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="start">
<FrameLayout
android:id="@+id/toolbar_avatar_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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>
2022-05-26 17:32:52 -03:00
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
android:id="@+id/toolbar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2022-05-26 17:32:52 -03:00
android:layout_marginStart="16dp"
android:alpha="0"
android:ellipsize="end"
android:maxLines="1"
android:textAppearance="@style/Signal.Text.TitleLarge"
android:translationY="56dp"
tools:alpha="1"
tools:text="Miles Morales"
tools:translationY="0dp" />
</LinearLayout>
</org.thoughtcrime.securesms.util.views.DarkOverflowToolbar>
</merge>