2016-08-15 20:23:56 -07:00
|
|
|
<?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"
|
|
|
|
android:scaleType="fitCenter"/>
|
2016-08-15 20:23:56 -07:00
|
|
|
|
|
|
|
<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:textColor="@android:color/white"
|
|
|
|
android:textSize="10sp" />
|
|
|
|
</FrameLayout>
|