-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62625f5
commit 9e62655
Showing
11 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
desk360/src/main/java/com/teknasyon/desk360/helper/TextViewFooter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.