Removing the “checked” circle from a RadioButtonCreate ArrayList from arrayIterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loopHow do I call one constructor from another in Java?How to check if a service is running on Android?How to get an enum value from a string value in Java?Stop EditText from gaining focus at Activity startupIs null check needed before calling instanceof?Removing whitespace from strings in Javashape corner rendering (in app widget RemoteView) - strange failure on Sony Xperia tabHow to properly size radiobuttons in radiogroup?

Using "Kollege" as "university friend"?

Who has jurisdiction for a crime committed in an embassy?

Why are angular mometum and angular velocity not necessarily parallel, but linear momentum and linear velocity are always parallel?

Is an easily guessed plot twist a good plot twist?

Sextortion with actual password not found in leaks

Is it normal practice to screen share with a client?

Why is the return type for ftell not fpos_t?

What is a Union Word™?

Why do people say "I am broke" instead of "I am broken"?

Should I leave my PhD after 3 years with a Masters?

What do teaching faculty do during semester breaks?

Explanation for a joke about a three-legged dog that walks into a bar

What is the meaning of "a thinly disguised price"?

Why keep the bed heated after initial layer(s) with PLA (or PETG)?

Why no ";" after "do" in sh loops?

What is the difference between $path and $PATH (lowercase versus uppercase) with zsh?

High income, sudden windfall

What is "ass door"?

Spoken encryption

How do campaign rallies gain candidates votes?

Spacing setting of math mode

Moving files accidentally to an not existing directory erases files?

Strange Cron Job takes up 100% of CPU Ubuntu 18 LTS Server

Are gangsters hired to attack people at a train station classified as a terrorist attack?



Removing the “checked” circle from a RadioButton


Create ArrayList from arrayIterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loopHow do I call one constructor from another in Java?How to check if a service is running on Android?How to get an enum value from a string value in Java?Stop EditText from gaining focus at Activity startupIs null check needed before calling instanceof?Removing whitespace from strings in Javashape corner rendering (in app widget RemoteView) - strange failure on Sony Xperia tabHow to properly size radiobuttons in radiogroup?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I want to remove the inner circle from the checked radio button in Android Studio.I've read that android:button="@null" would solve it but it removed my whole button. This is my code:



RadioButton



<RadioButton
android:id="@+id/xroma11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/radio_bg1"
android:tag = "00" />


radio_bg1.xml



<item android:state_pressed="true" >
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item>
<shape android:shape="oval" >
<corners android:radius="3dp" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>











share|improve this question
























  • Oh I didn't know that. I am sorry

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 16:25











  • I have a stroke around the circle to indicate the selected one

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:08

















0















I want to remove the inner circle from the checked radio button in Android Studio.I've read that android:button="@null" would solve it but it removed my whole button. This is my code:



RadioButton



<RadioButton
android:id="@+id/xroma11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/radio_bg1"
android:tag = "00" />


radio_bg1.xml



<item android:state_pressed="true" >
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item>
<shape android:shape="oval" >
<corners android:radius="3dp" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>











share|improve this question
























  • Oh I didn't know that. I am sorry

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 16:25











  • I have a stroke around the circle to indicate the selected one

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:08













0












0








0








I want to remove the inner circle from the checked radio button in Android Studio.I've read that android:button="@null" would solve it but it removed my whole button. This is my code:



RadioButton



<RadioButton
android:id="@+id/xroma11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/radio_bg1"
android:tag = "00" />


radio_bg1.xml



<item android:state_pressed="true" >
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item>
<shape android:shape="oval" >
<corners android:radius="3dp" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>











share|improve this question
















I want to remove the inner circle from the checked radio button in Android Studio.I've read that android:button="@null" would solve it but it removed my whole button. This is my code:



RadioButton



<RadioButton
android:id="@+id/xroma11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/radio_bg1"
android:tag = "00" />


radio_bg1.xml



<item android:state_pressed="true" >
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>

<item>
<shape android:shape="oval" >
<corners android:radius="3dp" />
<solid android:color="@color/xrwma2"/>
</shape>
</item>








java android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 17:08









Fantômas

33.5k15 gold badges66 silver badges93 bronze badges




33.5k15 gold badges66 silver badges93 bronze badges










asked Mar 26 at 16:02









Αλέξανδρος ΧονδρογιάννηςΑλέξανδρος Χονδρογιάννης

289 bronze badges




289 bronze badges












  • Oh I didn't know that. I am sorry

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 16:25











  • I have a stroke around the circle to indicate the selected one

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:08

















  • Oh I didn't know that. I am sorry

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 16:25











  • I have a stroke around the circle to indicate the selected one

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:08
















Oh I didn't know that. I am sorry

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 16:25





Oh I didn't know that. I am sorry

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 16:25













I have a stroke around the circle to indicate the selected one

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 17:08





I have a stroke around the circle to indicate the selected one

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 17:08












1 Answer
1






active

oldest

votes


















0














In checked state make color of solid as transparent like this



.....

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@android:color/transparent"/>
</shape>
</item>

.....





share|improve this answer























  • This removed the color, not the inner circle

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:13











  • Do you want to change color of existing radio button?

    – Narendra Kothamire
    Mar 27 at 4:13











  • No I just want to remove this inner circle that shows which button is selected.

    – Αλέξανδρος Χονδρογιάννης
    Mar 27 at 15:16










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361471%2fremoving-the-checked-circle-from-a-radiobutton%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














In checked state make color of solid as transparent like this



.....

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@android:color/transparent"/>
</shape>
</item>

.....





share|improve this answer























  • This removed the color, not the inner circle

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:13











  • Do you want to change color of existing radio button?

    – Narendra Kothamire
    Mar 27 at 4:13











  • No I just want to remove this inner circle that shows which button is selected.

    – Αλέξανδρος Χονδρογιάννης
    Mar 27 at 15:16















0














In checked state make color of solid as transparent like this



.....

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@android:color/transparent"/>
</shape>
</item>

.....





share|improve this answer























  • This removed the color, not the inner circle

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:13











  • Do you want to change color of existing radio button?

    – Narendra Kothamire
    Mar 27 at 4:13











  • No I just want to remove this inner circle that shows which button is selected.

    – Αλέξανδρος Χονδρογιάννης
    Mar 27 at 15:16













0












0








0







In checked state make color of solid as transparent like this



.....

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@android:color/transparent"/>
</shape>
</item>

.....





share|improve this answer













In checked state make color of solid as transparent like this



.....

<item android:state_checked="true">
<shape android:shape="oval" >
<corners android:radius="3dp" />
<stroke android:width="3dip" android:color="#333333" />
<solid android:color="@android:color/transparent"/>
</shape>
</item>

.....






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 26 at 17:10









Narendra KothamireNarendra Kothamire

8625 silver badges9 bronze badges




8625 silver badges9 bronze badges












  • This removed the color, not the inner circle

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:13











  • Do you want to change color of existing radio button?

    – Narendra Kothamire
    Mar 27 at 4:13











  • No I just want to remove this inner circle that shows which button is selected.

    – Αλέξανδρος Χονδρογιάννης
    Mar 27 at 15:16

















  • This removed the color, not the inner circle

    – Αλέξανδρος Χονδρογιάννης
    Mar 26 at 17:13











  • Do you want to change color of existing radio button?

    – Narendra Kothamire
    Mar 27 at 4:13











  • No I just want to remove this inner circle that shows which button is selected.

    – Αλέξανδρος Χονδρογιάννης
    Mar 27 at 15:16
















This removed the color, not the inner circle

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 17:13





This removed the color, not the inner circle

– Αλέξανδρος Χονδρογιάννης
Mar 26 at 17:13













Do you want to change color of existing radio button?

– Narendra Kothamire
Mar 27 at 4:13





Do you want to change color of existing radio button?

– Narendra Kothamire
Mar 27 at 4:13













No I just want to remove this inner circle that shows which button is selected.

– Αλέξανδρος Χονδρογιάννης
Mar 27 at 15:16





No I just want to remove this inner circle that shows which button is selected.

– Αλέξανδρος Χονδρογιάννης
Mar 27 at 15:16








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361471%2fremoving-the-checked-circle-from-a-radiobutton%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript