Files
adif-api-reverse-engineering/apk_decompiled/resources/res/layout/view_header.xml

68 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/containerView"
android:background="@color/black"
android:padding="@dimen/default_padding"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/onBackIcon"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_arrow_back"
android:adjustViewBounds="true"
android:importantForAccessibility="no"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toBottomOf="@+id/headerTitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/headerTitle"/>
<TextView
android:textAppearance="@style/TextStationOptionTitle"
android:ellipsize="marquee"
android:gravity="center"
android:id="@+id/headerTitle"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:singleLine="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1"/>
<ImageView
android:id="@+id/onCloseIcon"
android:visibility="invisible"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:layout_marginEnd="16dp"
app:layout_constraintBottom_toBottomOf="@+id/headerTitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/headerTitle"
app:srcCompat="@drawable/ic_close_white"/>
<Button
android:enabled="false"
android:id="@+id/button_onback"
android:background="@android:color/transparent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:contentDescription="@string/content_description_icon_header_onback"
app:layout_constraintBottom_toBottomOf="@+id/headerTitle"
app:layout_constraintEnd_toStartOf="@+id/headerTitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/headerTitle"/>
<Button
android:enabled="false"
android:id="@+id/button_close"
android:background="@android:color/transparent"
android:visibility="invisible"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:contentDescription="@null"
app:layout_constraintBottom_toBottomOf="@+id/headerTitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/headerTitle"
app:layout_constraintTop_toTopOf="@+id/headerTitle"/>
</androidx.constraintlayout.widget.ConstraintLayout>