Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7791643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:57:01+00:00 2026-06-01T21:57:01+00:00

So I was looking at the Android Dev Design site for ICS and all

  • 0

So I was looking at the Android Dev Design site for ICS and all of the apps have these subtitles/section headers:

ICS Section Headers

I was wondering if anyone knew the custom styling to achieve labels that look like this. I couldn’t find any label Views that looked like this in the Android SDK but I really like the way these look.

Thanks in Advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:57:03+00:00Added an answer on June 1, 2026 at 9:57 pm

    So this is what I ended up using:

    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:android="http://schemas.android.com/apk/res/android">
        <style name="sectionHeader" parent="android:Widget.Holo.Light.TextView">
            <item name="android:drawableBottom">@drawable/section_header</item>
            <item name="android:drawablePadding">4dp</item>
            <item name="android:layout_marginTop">8dp</item>
            <item name="android:paddingLeft">4dp</item>
            <item name="android:textAllCaps">true</item>
            <item name="android:textColor">@color/emphasis</item>
            <item name="android:textSize">14sp</item>
        </style>
    </resources>
    

    Where @drawable/section_header is:

    <?xml version="1.0" encoding="utf-8"?>
    <shape
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:shape="rectangle">
        <size android:width="1000dp" android:height="2dp" />
        <solid 
            android:color="@color/emphasis"/>
    </shape>
    

    And @color’s:

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <color name="emphasis">#31b6e7</color>
        <color name="bg_gray">#cecbce</color>
    </resources>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

looking for a link to the copyright information for android dev guide. I have
I'm always looking for ways to improve my Android dev skills... Hence this question.
Looking at the Android tutorial on: http://developer.android.com/guide/topics/fundamentals/fragments.html ... it seems fragments have their layouts
Looking through the massive android source code, anyone on here who know where exactly
I have been looking at Android's javax.net.ssl package, but am still confused as to
I have been looking over some of the android source, and the examples given
I just started looking at the android framework and was wondering what was the
I am fairly new to android dev, and I am looking at implementing android
Were looking into Android for writing a tablet based system. Part of the design
I m currently looking into android notification. Is there any way to show all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.