Skip to content

Instantly share code, notes, and snippets.

/**
* Created by qualwebs on 6/10/16 at 3:29 PM.
**/
@SuppressWarnings({"unused", "FieldCanBeLocal", "WeakerAccess", "UnusedAssignment"})
public class NotificationUtils {
private static final String TAG = NotificationUtils.class.getSimpleName();
private Context context;
// private Realm realm;
String channelName = "All";
private final String separatorString = "<1>";
public class Timing
{
public enum TimeFormats
{
DD_MM_YYYY("dd/MM/yyyy"),
DD_MMM_YYYY("dd MMM yyyy"),
DD_MMMM_YYYY("dd MMMM yyyy"),
MM_DD_YYYY("MM/dd/yyyy"),
YYYY_MM_DD("yyyy/MM/dd"),
YYYY_MM_DD_HH_MM_A("yyyy/MM/dd, hh:mm a"),

Material text sizes XML for Android

Simple helper file for standard text sizes in material design. The sizes are provided by the material design documentation https://www.google.com/design/spec/style/typography.html#typography-roboto

material typography

Standard Styles

Too many type sizes and styles at once can wreck any layout. A typographic scale is a limited set of type sizes that work well together, along with the layout grid. The basic set of styles are based on a typographic scale of 12, 14, 16, 20, and 34.