Guest User

Untitled

a guest
Jun 15th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="wrap_content"
  5.    android:layout_height="wrap_content"
  6.    android:gravity="center"
  7.    android:layout_gravity="center"
  8.    android:clickable="true"
  9.    style="@android:style/Widget.ActionButton">
  10.  
  11.     <ImageView
  12.        android:id="@+id/hotlist_bell"
  13.        android:fontFamily="@font/fontawesome"
  14.        android:layout_width="wrap_content"
  15.        android:layout_height="wrap_content"
  16.        android:gravity="center"
  17.        android:src="@drawable/ic_bell_black"
  18.        android:tint="@android:color/black"
  19.        android:layout_margin="0dp"
  20.        />
  21.  
  22.     <TextView xmlns:android="http://schemas.android.com/apk/res/android"
  23.        android:id="@+id/hotlist_hot"
  24.        android:layout_width="8dp"
  25.        android:layout_height="8dp"
  26.        android:gravity="center"
  27.        android:layout_alignTop="@id/hotlist_bell"
  28.        android:layout_alignEnd="@id/hotlist_bell"
  29.        android:layout_marginEnd="0dp"
  30.        android:layout_marginTop="3dp"
  31.        android:paddingBottom="1dp"
  32.        android:paddingRight="4dp"
  33.        android:paddingLeft="4dp"
  34.        android:background="@drawable/notification_indicator_background"/>
  35.  
  36. </RelativeLayout>
Add Comment
Please, Sign In to add comment