20 lines
No EOL
4.2 KiB
XML
20 lines
No EOL
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:id="@id/status_wrap" android:layout_width="fill_parent" android:layout_height="32.0dip"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<RelativeLayout android:id="@id/status_unread_messages" android:background="?colorPrimaryDark" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<ImageView android:textSize="11.0sp" android:textColor="@color/theme_white_alpha_40" android:gravity="center_vertical" android:id="@id/status_unread_messages_mark" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_close_white_18dp" android:scaleType="center" android:text="@string/mark_as_read" android:layout_centerVertical="true" android:contentDescription="@string/mark_as_read" fontPath="@string/font_whitney_semibold" />
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white" android:gravity="center_vertical" android:id="@id/status_unread_messages_text" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginRight="16.0dip" android:text="@string/new_messages_since" android:layout_toRightOf="@id/status_unread_messages_mark" fontPath="@string/font_whitney_semibold" />
|
|
</RelativeLayout>
|
|
<RelativeLayout android:id="@id/status_uploading" android:background="?colorPrimaryDark" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<ImageView android:id="@id/status_uploading_icon" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_insert_drive_file_white_18dp" android:scaleType="center" android:layout_centerVertical="true" android:contentDescription="@string/shared_empty_string" />
|
|
<com.miguelgaeta.super_bar.SuperBar android:id="@id/status_uploading_bar" android:focusable="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginRight="16.0dip" android:layout_toRightOf="@id/status_uploading_icon" android:layout_centerVertical="true" app:sb_barHeight="6.0dip" app:sb_barBackgroundColor="@color/theme_black_alpha_20" app:sb_barColor="@color/theme_white" app:sb_barTouchEnabled="false" app:sb_barOverlayColor="@color/theme_transparent" app:sb_barControlShadowRadius="0.0dip" app:sb_barControlColor="@color/theme_transparent" />
|
|
</RelativeLayout>
|
|
<RelativeLayout android:id="@id/status_connectivity" android:background="?colorPrimaryDark" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
|
<RelativeLayout 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:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/ic_signal_cellular_connected_no_internet_4_bar_white_18dp" android:contentDescription="@string/shared_empty_string" />
|
|
</RelativeLayout>
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white" android:gravity="center_vertical" android:layout_gravity="center" android:id="@id/status_connectivity_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/connecting" android:layout_toRightOf="@id/status_connectivity_icon" fontPath="@string/font_whitney_semibold" />
|
|
<TextView android:textSize="11.0sp" android:textColor="@color/theme_white" android:gravity="center_vertical" android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginRight="16.0dip" android:text="..." android:layout_toRightOf="@id/status_connectivity_text" fontPath="@string/font_whitney_semibold" />
|
|
</RelativeLayout>
|
|
</RelativeLayout> |