15 lines
No EOL
3.1 KiB
XML
15 lines
No EOL
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:id="@id/status_wrap" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<LinearLayout android:gravity="center_vertical" android:id="@id/status_unread_messages" android:background="@color/brand_500" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_medium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:foreground="?selectableItemBackground" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_medium">
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/status_unread_messages_text" android:layout_width="0.0dip" android:layout_weight="1.0" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Semibold" />
|
|
<ImageView android:textColor="@color/white_alpha_40" android:gravity="center_vertical" android:id="@id/status_unread_messages_mark" android:padding="@dimen/uikit_spacing_medium" android:paddingLeft="@dimen/uikit_spacing_large" android:layout_height="wrap_content" android:src="@drawable/ic_close_white_18dp" android:scaleType="center" android:text="@string/mark_as_read" android:contentDescription="@string/mark_as_read" android:paddingStart="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.Semibold" />
|
|
</LinearLayout>
|
|
<RelativeLayout android:id="@id/status_connectivity" android:background="?theme_status_indicator_color" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_alignParentStart="true">
|
|
<FrameLayout android:id="@id/status_connectivity_icon" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_centerVertical="true">
|
|
<ProgressBar android:id="@id/status_connectivity_spinner" android:layout_width="fill_parent" android:layout_height="fill_parent" android:indeterminate="true" style="@style/Base.Widget.AppCompat.ProgressBar" />
|
|
<ImageView android:id="@id/status_connectivity_limited" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/ic_signal_cellular_connected_no_internet_4_bar_white_18dp" android:importantForAccessibility="no" />
|
|
</FrameLayout>
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:gravity="center_vertical" android:layout_gravity="center" android:id="@id/status_connectivity_text" android:layout_width="fill_parent" android:text="@string/connecting" android:layout_toRightOf="@id/status_connectivity_icon" android:lineSpacingMultiplier="1.0" android:layout_toEndOf="@id/status_connectivity_icon" style="@style/UiKit.TextView.Semibold" />
|
|
</RelativeLayout>
|
|
</RelativeLayout> |