mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
style="?android:attr/actionButtonStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/menu_badge_icon"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_timer"
|
|
android:background="@color/transparent"
|
|
android:scaleType="fitCenter"/>
|
|
|
|
<TextView
|
|
android:id="@+id/expiration_badge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:gravity="center_horizontal|bottom"
|
|
android:paddingBottom="3dp"
|
|
android:paddingTop="1dp"
|
|
android:background="@color/transparent"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="10sp" />
|
|
</FrameLayout> |