Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1734] Android: Allow HTML Styled Text on Label

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, feature, rplist
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T03:00:51.000+0000
Updated2011-04-17T01:57:01.000+0000

Description

Android provides for simple HTML text formatting. In creation params look for html then text then title

Not all tags are support see http://android.git.kernel.org/?p=platform/frameworks/base.git%3Ba=blob%3Bf=core/java/android/text/Html.java%3Bh=380e5fd8d197aedc538b7a494b001b8cc5906b44%3Bhb=refs/heads/donut"> Android Source for more detail.

at a minimum it appears that the following tags are supported.

  • div
  • font
  • u
  • b
  • p
  • em
  • strong
  • cite
  • dfn
  • big
  • small
  • blockquote
  • tt
  • a
  • sup
  • sub

Comments

  1. Don Thorp 2011-04-15

    Feature is in, doc added. No KS example.

  2. Thomas Huelbert 2011-04-15

    confirmed, will need to check the test case into KS once its prettier. 1.6 and 2.2

JSON Source