apkfuckery/com.discord/res/layout/widget_status.xml
2020-04-27 23:50:40 +02:00

15 lines
No EOL
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@id/status_wrap" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:id="@id/status_connectivity" android:background="?theme_status_indicator_color" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large">
<FrameLayout android:id="@id/status_connectivity_icon" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large">
<ProgressBar android:id="@id/status_connectivity_spinner" android:layout_width="fill_parent" android:layout_height="fill_parent" android:indeterminate="true" android:indeterminateTint="@color/white" android:indeterminateTintMode="src_in" 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:lineSpacingMultiplier="1.0" android:layout_toEndOf="@id/status_connectivity_icon" style="@style/UiKit.TextView.Semibold" />
</RelativeLayout>
<LinearLayout android:gravity="center_vertical" android:id="@id/status_unread_messages" android:background="@color/brand_500" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:textSize="@dimen/uikit_textsize_medium" 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:gravity="center_vertical" android:id="@id/status_unread_messages_mark" android:layout_height="wrap_content" android:src="@drawable/ic_close_white_18dp" android:scaleType="center" android:contentDescription="@string/mark_as_read" android:paddingStart="@dimen/uikit_spacing_large" style="@style/UiKit.ImageView" />
</LinearLayout>
</LinearLayout>