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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:44:01+00:00 2026-06-06T14:44:01+00:00

Is there a way to remove the just the rectangle that surrounds the checkbox

  • 0

Is there a way to remove the just the rectangle that surrounds the checkbox in android? I want to keep just the checkmark, not the rectangle.

  • 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-06T14:44:02+00:00Added an answer on June 6, 2026 at 2:44 pm

    you can use custom check box xml file for this. try the below xml 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/cbchk_blue"
        android:state_focused="false">
        <shape android:shape="rectangle">
            <stroke android:width="2dp" android:color="@color/blue_dark" />
            <gradient  android:endColor="@color/white" android:startColor="@color/blue_dark" android:type="sweep"  />
            <size android:height="30dp" android:width="30dp" />
        </shape>
    </item>
    <item android:state_checked="true" 
        android:drawable="@drawable/cbchk_blue"
        android:state_focused="true">
        <shape android:shape="rectangle">
            <stroke android:width="2dp" android:color="@color/white" />
            <gradient  android:endColor="@color/white" android:startColor="@color/blue_dark" android:type="sweep"  />
            <size android:height="30dp" android:width="30dp" />
        </shape>
    </item>
    <item android:state_checked="false" 
        android:drawable="@drawable/cbunchk_blue"
        android:state_focused="false">
        <shape android:shape="rectangle">
            <stroke android:width="2dp" android:color="@color/blue_dark" />
            <size android:height="30dp" android:width="30dp" />
        </shape>
    </item>
    <item android:state_checked="false" 
        android:drawable="@drawable/cbunchk_blue"
        android:state_focused="true">
        <shape android:shape="rectangle">
            <stroke android:width="2dp" android:color="@color/white" />
            <size android:height="30dp" android:width="30dp" />
        </shape>
    </item>
    

    save below image as cbchk_blue and place it drawable folder.

    enter image description here

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

Sidebar

Related Questions

$('#myImage').removeAttr('class').removeAttr('style').removeAttr('border'); That one works just fine but is there a way to remove a
I just wanted to know if there is a way on how to remove
Is there a way to remove all empty cells in an ArrayList by just
Is there a way to remove tags from text, that was copy-pasted from Word
This there a way to remove this check, when a user first accesses my
Is there any way to remove all forgeinKey and primary key contriants from Database
Is there a way to remove an item from a listbox based on a
Is there a way to remove duplicate (key-value) pairs from NSDictionary ? EDIT: My
Is there a way to remove the grid header rollover in flex while still
Is there any way to remove the contents of an file in php, do

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.