656644b7cb
* Make image in BackgroundMessageView adapt to the height, fix #1618 * Hide filters panel when showing status view in notifications
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:gravity="center_horizontal"
|
|
tools:orientation="vertical"
|
|
tools:parentTag="android.widget.LinearLayout">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_weight="1"
|
|
android:contentDescription="@null"
|
|
android:scaleType="centerInside"
|
|
tools:src="@drawable/elephant_offline" />
|
|
|
|
<TextView
|
|
android:id="@+id/messageTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawablePadding="16dp"
|
|
android:lineSpacingMultiplier="1.1"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingRight="16dp"
|
|
android:textAlignment="center"
|
|
android:textSize="?attr/status_text_medium"
|
|
tools:text="@string/error_network" />
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
style="@style/TuskyButton.Outlined"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:text="@string/action_retry" />
|
|
</merge>
|