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

  • Home
  • SEARCH
  • 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 7859751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:01:31+00:00 2026-06-02T22:01:31+00:00

I have current code <?xml version=1.0 encoding=UTF-8?> <selector xmlns:android=http://schemas.android.com/apk/res/android> <item android:state_checked=true android:drawable=@drawable/list_button_selected /> <item

  • 0

I have current code

<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">  
    <item
        android:state_checked="true"
        android:drawable="@drawable/list_button_selected" />                                   
    <item
        android:state_pressed="true"
        android:drawable="@drawable/list_button_pressed" />
    <item 
        android:drawable="@drawable/list_button" />
</selector>

for my CheckedTextView and it works. But when it’s checked and I press on it, it shows default android color for background. How can I overwrite that? I tried

<item
    android:state_checked="true"
    android:state_pressed="true"
    android:drawable="@drawable/list_button_selected" />  

But it does not work.

  • 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-02T22:01:33+00:00Added an answer on June 2, 2026 at 10:01 pm

    In my case, order is important. I had to switch checked and pressed and its working now.

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

Sidebar

Related Questions

So I have such code for my application <?xml version=1.0 encoding=utf-8?> <s:Application xmlns:fx=http://ns.adobe.com/mxml/2009 xmlns:s=library://ns.adobe.com/flex/spark
I have the following start of an XSD: <?xml version=1.0 encoding=UTF-8?> <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns:no=http://www.sychophants.com>
I have 50000 XML records like this in the database: <?xml version=1.0 encoding=UTF-8?> <root>
I have this XML File: <?xml version="1.0" encoding="UTF-8"?> <karteikasten> <vokabel stufe="1"> <eng> <item>Hi</item> <item>Hello</item>
I have an XML document like this: <?xml version='1.0' encoding='UTF-8'?> <GateDocument> <!-- The document's
As a beginner in Ocaml, I have this current working code: ... let ch_in
I have my current google maps code working to the point where if I
I am having a bit of difficulty with this current code I have set
I have some code that gets the current logged in user. userID = request.session.get(_auth_user_id)
I have following code return (EseshEntities.Current.Users.Select(u => new { Comunity = u.Apartment.Building.District.City })).ToList(); if

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.