(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Widget_Library ;Inherited classes: <code>[http://developer.android.com/reference/android/vi...") |
(→XML Attributes Description) |
||
Line 10: | Line 10: | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | title="Attribute" | <code>[[#gn:rotation]]</code> | + | | title="Attribute" | <code>[[#gn:rotation|gn:rotation]]</code> |
| title="Description" | Sets rotation angle | | title="Description" | Sets rotation angle | ||
|- | |- | ||
− | | title="Attribute" | <code>[[#gn:textStyle]]</code> | + | | title="Attribute" | <code>[[#gn:textStyle|gn:textStyle]]</code> |
| title="Description" | Sets style of text | | title="Description" | Sets style of text | ||
|- | |- | ||
− | | title="Attribute" | <code>[[#gn:letterSpacing]]</code> | + | | title="Attribute" | <code>[[#gn:letterSpacing|gn:letterSpacing]]</code> |
| title="Description" | Increases/decreases distance between the letters | | title="Description" | Increases/decreases distance between the letters | ||
|} | |} |
Revision as of 17:16, 28 June 2016
- Inherited classes
View
- Android class type
TextView
with some additional features.- Widget XML tag
<com.ginstr.widgets.GnTextView>
XML Attributes Description
Attribute | Description |
---|---|
gn:rotation
|
Sets rotation angle |
gn:textStyle
|
Sets style of text |
gn:letterSpacing
|
Increases/decreases distance between the letters |
gn:rotation
Sets rotation angle
(Float) values = -90.0
to +90.0
gn:textStyle
Sets style of text
(String) values = bold
, bolditalic
, italic
gn:letterSpacing
Increases/decreases distance between the letters
(Float) values = increments/decrements of 0.05
, i.e. -0.05
, 0.05
, 0.10
, ...