15 lines
3 KiB
XML
15 lines
3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout android:orientation="horizontal" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
<FrameLayout android:layout_gravity="center_vertical" android:id="@id/flIconContainer" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/ivIcon" android:visibility="invisible" android:layout_width="@dimen/alerter_alert_icn_size" android:layout_height="@dimen/alerter_alert_icn_size" android:maxWidth="@dimen/alerter_alert_icn_size" android:maxHeight="@dimen/alerter_alert_icn_size" app:srcCompat="@drawable/alerter_ic_notifications" app:tint="@color/alert_default_icon_color" />
|
||
|
<ProgressBar android:id="@id/pbProgress" android:visibility="invisible" android:layout_width="@dimen/alerter_alert_progress_size" android:layout_height="@dimen/alerter_alert_progress_size" android:progressTint="@android:color/white" android:indeterminateTint="@android:color/white" />
|
||
|
</FrameLayout>
|
||
|
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
|
||
|
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/AlertTextAppearance.Title" android:id="@id/tvTitle" android:paddingLeft="@dimen/alerter_padding_small" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/alerter_padding_small" android:paddingEnd="@dimen/alerter_padding_small" android:layout_marginStart="@dimen/alerter_padding_half" android:layout_marginEnd="@dimen/alerter_padding_half" />
|
||
|
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/AlertTextAppearance.Text" android:id="@id/tvText" android:paddingLeft="@dimen/alerter_padding_small" android:paddingTop="@dimen/alerter_padding_small" android:paddingBottom="@dimen/alerter_padding_small" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/alerter_padding_small" android:paddingEnd="@dimen/alerter_padding_small" android:layout_marginStart="@dimen/alerter_padding_half" android:layout_marginEnd="@dimen/alerter_padding_half" />
|
||
|
</LinearLayout>
|
||
|
<FrameLayout android:layout_gravity="center_vertical" android:id="@id/flRightIconContainer" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/ivRightIcon" android:visibility="gone" android:layout_width="@dimen/alerter_alert_icn_size" android:layout_height="@dimen/alerter_alert_icn_size" android:maxWidth="@dimen/alerter_alert_icn_size" android:maxHeight="@dimen/alerter_alert_icn_size" app:srcCompat="@drawable/alerter_ic_notifications" app:tint="@color/alert_default_icon_color" />
|
||
|
</FrameLayout>
|
||
|
</LinearLayout>
|