You can use the them properties textAppearance[Large|Medium|Small] for
that. For example,
<TextView id="@+id/header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
/>
-Jeff
On Wed, Oct 29, 2008 at 9:15 PM, Emery <[EMAIL PROTECTED]> wrote:
>
> I am reading up on styling and I can't seem to find anything to define
> abstract descriptive styling, rather than actual appearance. For
> instance in web development you typically use standard (X)HTML
> elements that describe the content, i.e, <h1> is the first headline,
> then custom styles are an afterthought. Am I expected to test and
> maintain styles for every device that android and my apps might
> eventually run on?
>
> In particular I have a custom ListView and I want to define that a
> piece of text should be displayed as a headline, but I seem to have no
> choice but to explicitly set textSize to 20sp.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---