Skip to content

Instantly share code, notes, and snippets.

View TheReprator's full-sized avatar
🎯
Focusing

Vikram Singh TheReprator

🎯
Focusing
View GitHub Profile
/*
* Copyright (c) 2015 Express Quality Food Global Service GmbH. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@TheReprator
TheReprator / LineThroughTextView.java
Last active October 16, 2015 06:31 — forked from longkai/LineThroughTextView.java
A simple line through text view. ie. ----------------- Hello, World --------------
package views;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Build;
import android.text.TextUtils;