From wiki.ginstr.com
Jump to: navigation, search
(XML Attributes Description)
m
Line 2: Line 2:
 
[[Category:Widget_Library]]
 
[[Category:Widget_Library]]
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>
;Android class type: <code>[http://developer.android.com/reference/android/widget/TextView.html TextView]</code> with some additional features.
+
;Android class type: <code>[http://developer.android.com/reference/android/widget/TextView.html TextView]</code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnTextView></code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnTextView></code>
 +
 +
 +
<code>[http://developer.android.com/reference/android/widget/TextView.html Android TextView]</code> with some additional features.
 
==XML Attributes Description==
 
==XML Attributes Description==
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"

Revision as of 12:25, 29 June 2016

Inherited classes
View
Android class type
TextView
Widget XML tag
<com.ginstr.widgets.GnTextView>


Android TextView with some additional features.

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, ...