Skip to content

Commit

Permalink
[feat] Added font on footer area
Browse files Browse the repository at this point in the history
  • Loading branch information
seyfullahpolatteknasyon committed Sep 27, 2019
1 parent 62625f5 commit 9e62655
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package com.teknasyon.desk360.helper

import android.content.Context
import android.graphics.Canvas
import android.graphics.Typeface
import android.util.AttributeSet
import android.widget.TextView

class TextViewFooter : TextView {

constructor(context: Context) : super(context) {
val face = Typeface.createFromAsset(context.assets, "Gotham-Book.ttf")
this.typeface = face
}

constructor(context: Context, attrs: AttributeSet) : super(context, attrs) {
val face = Typeface.createFromAsset(context.assets, "Gotham-Book.ttf")
this.typeface = face
}

constructor(context: Context, attrs: AttributeSet, defStyle: Int) : super(
context,
attrs,
defStyle
) {
val face = Typeface.createFromAsset(context.assets, "Gotham-Book.ttf")
this.typeface = face
}

override fun onDraw(canvas: Canvas) {
super.onDraw(canvas)
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9e62655

Please sign in to comment.