public class SquareWidthTextView
A Text View that Always has the same height as its width
Constructor and Description |
---|
SquareWidthTextView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
A Text View that Always has the same height as its width
|
SquareWidthTextView(android.content.Context context,
android.util.AttributeSet attrs)
A Text View that Always has the same height as its width
|
SquareWidthTextView(android.content.Context context)
A Text View that Always has the same height as its width
|
Modifier and Type | Method and Description |
---|---|
void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
public SquareWidthTextView(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)
A Text View that Always has the same height as its width
public SquareWidthTextView(android.content.Context context, android.util.AttributeSet attrs)
A Text View that Always has the same height as its width
public SquareWidthTextView(android.content.Context context)
A Text View that Always has the same height as its width