Android Open Source - ihatecolor_and Custom Font Text View From Project Back to project page ihatecolor_and .
License The source code is released under:
Copyright (c) 2013, Sewon Ann
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* ...
If you think the Android project ihatecolor_and listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package kr.pe.kingori.ihatecolor.ui.view;
/ / w w w . j a v a 2 s . c o m
import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;
import kr.pe.kingori.ihatecolor.util.FontManager;
public class CustomFontTextView extends TextView {
public CustomFontTextView(Context context) {
super (context);
applyTypeFace();
}
public CustomFontTextView(Context context, AttributeSet attrs) {
super (context, attrs);
applyTypeFace();
}
public CustomFontTextView(Context context, AttributeSet attrs, int defStyle) {
super (context, attrs, defStyle);
applyTypeFace();
}
private void applyTypeFace() {
FontManager.applyTypeface(this );
}
}
Java Source Code List com.google.example.games.basegameutils.BaseGameActivity.java com.google.example.games.basegameutils.GameHelper.java kr.pe.kingori.ihatecolor.Application.java kr.pe.kingori.ihatecolor.model.Color.java kr.pe.kingori.ihatecolor.model.GameMode.java kr.pe.kingori.ihatecolor.ui.Constants.java kr.pe.kingori.ihatecolor.ui.CustomDialogFragment.java kr.pe.kingori.ihatecolor.ui.activity.MainActivity.java kr.pe.kingori.ihatecolor.ui.activity.SplashActivity.java kr.pe.kingori.ihatecolor.ui.event.DialogEvent.java kr.pe.kingori.ihatecolor.ui.event.GameEvent.java kr.pe.kingori.ihatecolor.ui.event.PlayEvent.java kr.pe.kingori.ihatecolor.ui.fragment.BaseFragment.java kr.pe.kingori.ihatecolor.ui.fragment.GameFragment.java kr.pe.kingori.ihatecolor.ui.fragment.MainFragment.java kr.pe.kingori.ihatecolor.ui.fragment.WaitingFragment.java kr.pe.kingori.ihatecolor.ui.view.CustomFontButton.java kr.pe.kingori.ihatecolor.ui.view.CustomFontTextView.java kr.pe.kingori.ihatecolor.ui.view.QuestionViewGroup.java kr.pe.kingori.ihatecolor.util.FontManager.java kr.pe.kingori.ihatecolor.util.SharedPreferenceUtil.java kr.pe.kingori.ihatecolor.util.UiUtil.java