Programming with CUDA · Programming with CUDA ... CUDA C programming guide – CUDA Programming 4 …
Mobile Programming - Sharifce.sharif.edu/courses/94-95/2/ce327-1/resources/root/Lecture Notes... ·...
-
Upload
trannguyet -
Category
Documents
-
view
245 -
download
2
Transcript of Mobile Programming - Sharifce.sharif.edu/courses/94-95/2/ce327-1/resources/root/Lecture Notes... ·...
rotating_loading
• <!-- res/drawable/rotating_loading.xml -->
• AnimatedRotateDrawable implements Animatable
animated_clock
• <!-- res/drawable/animated_clock.xml -->
• AnimatedVectorDrawable implements Animatable
• Introduced in Lollipop
Spans, a Powerful Concept
• Supported tags
– Defined by platform
– Can be extended with custom TagHandler
Spans, a Powerful Concept
• if a Span affects character-level text formatting, it extends CharacterStyle– e.g. ForegroundColorSpan, BackgroundColorSpan, UnderlineSpan
• if a Span affects paragraph-level text formatting, it implements ParagraphStyle• e.g. BulletSpan, IconMarginSpan, QuoteSpan
• if a Span modifies the character-level text appearance, it implements UpdateAppearance– e.g. ImageSpan, LocaleSpan, MaskFilterSpan, MetricAffectingSpan,
RasterizerSpan,, ReplacementSpan, ScaleXSpan, StrikethroughSpan, StyleSpan
• if a Span modifies the character-level text metrics|size, it implements UpdateLayout
• For more info: http://flavienlaurent.com/blog/2014/01/31/spans/