NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
| /** | |
| * Created by gokhanbarisaker on 8/30/15. | |
| */ | |
| public class PicassoDecoder implements ImageDecoder | |
| { | |
| private String tag; | |
| private String picasso; | |
| public PicassoDecoder(String tag, Picasso picasso) { | |
| this.tag = tag; |
| public class MyApp extends Application { | |
| @Override | |
| public void onCreate() { | |
| TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
| } | |
| } |
| import android.annotation.TargetApi; | |
| import android.content.Context; | |
| import android.graphics.Matrix; | |
| import android.graphics.drawable.Drawable; | |
| import android.os.Build; | |
| import android.util.AttributeSet; | |
| import android.widget.ImageView; | |
| /** | |
| * Created by chris on 7/27/16. |