session-android/res/layout/expiration_timer_menu.xml

30 lines
1.2 KiB
XML
Raw Normal View History

<?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"
2018-06-26 10:27:44 -07:00
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:src="@drawable/ic_timer"
2020-01-16 11:37:52 +11:00
android:background="@color/transparent"
2018-06-26 10:27:44 -07:00
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"
2020-01-16 11:37:52 +11:00
android:background="@color/transparent"
android:textColor="@android:color/white"
android:textSize="10sp" />
</FrameLayout>