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 1025051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:52:13+00:00 2026-05-16T11:52:13+00:00

I am wanting to allow the user of my android application the ability to

  • 0

I am wanting to allow the user of my android application the ability to set some parameters. The radio button is ideal for this situation. However, I don’t like the radio buttons are rendered.

Is it possible to change the radio button icon? For example, is it possible to create a custom layout for each row and in that layout reference my own icon and change the font et al.

  • 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-05-16T11:52:14+00:00Added an answer on May 16, 2026 at 11:52 am

    Yes that’s possible you have to define your own style for radio buttons, at res/values/styles.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    <style name="CustomTheme" parent="android:Theme">
       <item name="android:radioButtonStyle">@style/RadioButton</item>
    </style>
    <style name="RadioButton" parent="@android:style/Widget.CompoundButton.RadioButton">
       <item name="android:button">@drawable/radio</item>
    </style>
    </resources>
    

    ‘radio’ here should be a stateful drawable, radio.xml:

        <?xml version="1.0" encoding="utf-8"?>
        <selector xmlns:android="http://schemas.android.com/apk/res/android">
        <item android:state_checked="true" android:state_window_focused="false"
            android:drawable="@drawable/radio_hover" />
        <item android:state_checked="false" android:state_window_focused="false"
            android:drawable="@drawable/radio_normal" />
        <item android:state_checked="true" android:state_pressed="true"
            android:drawable="@drawable/radio_active" />
        <item android:state_checked="false" android:state_pressed="true"
            android:drawable="@drawable/radio_active" />
        <item android:state_checked="true" android:state_focused="true"
            android:drawable="@drawable/radio_hover" />
        <item android:state_checked="false" android:state_focused="true"
            android:drawable="@drawable/radio_normal_off" />
        <item android:state_checked="false" android:drawable="@drawable/radio_normal" />
        <item android:state_checked="true" android:drawable="@drawable/radio_hover" />
        </selector>
    

    Then just apply the Custom theme either to whole app or to activities of your choice.

    For more info about themes and styles look at http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/ that is good guide.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wanting to store some contact information and allow the user to call/email the
I'm doing some more renovations to my app and I'm wanting to allow the
i'm wanting to allow my website to post (an authorised user) to twitter (eg.
I'm wanting the user to accept an agreement before the application is launched. So
I am wanting to allow a user to update their twitter status from my
I am wanting to develop an MVC 3 application which stores user data and
I am wanting to allow for a user to deselect all values in a
I am wanting to allow users to tag items so that they can search
I'm wanting to allow users to enter HTML in only a single TextBox. I
I'm new to Actionscript 3 and I'm wanting to allow a circle to move

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.