-
Notifications
You must be signed in to change notification settings - Fork 52
TextViews
César Ferreira edited this page Jun 25, 2014
·
2 revisions
Java:
Typewriter textView = (Typewriter) rowView.findViewById(R.id.gridItemTextView);
textView.setCharacterDelay(60);
textView.animateText("some text that will animate");
XML:
<quickutils.core.views.text.TypeWriter
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="something something"/>
The following textView can be used as:
RobotoTextView
RobotoBoldTextView
RobotoCondensedTextView
RobotoLightTextView
RobotoThinTextView
<quickutils.core.views.text.RobotoTextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="some text"/>
This textView will adjust the text size to the space the textview has
<quickutils.core.views.text.SizeAdjustingTextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="bla bla bla" />