Native base's Checkbox and radio button presentation not working - android

I am having problem with checkbox and radio button of native base. In checkbox, instead of check(tick) icon hyphen icon shows whereas for radio buttons shuffle icon shows up instead of cicle radio button. Has anybody faced similar issues?? It was all good until last week. I dont know what has happened now. I have tried reinstalling vector icons,native base.But nothing worked.[

Related

click and choose only one button in LinearLayout android studio

I'm working on my first app and I got stuck.
I was wondering how is it possible to choose only one button at a time when all are in the same linear layout?
Also, when it was selected - to change the color of the selected button.
For example, in the screenshot below I uploaded you can see the 4 buttons in the same layout.
I decided to go with radioGroup and radioButtons as a solution.
Worked like a charm.

Small bubble over a button to count items added to cart?

I want to make a small bubble over a button in android which essentially tell the number of times the button is clicked or added items to the cart. I believe its called badges in iOS environment, I don't know about android, but this is what I want to achieve:
I also found a working solution here: Add new item count to icon on button - Android
But this doesn't work on Android 5.0+. In 5.0+ versions the bubble is hidden behind the button completely.
In Working solution code if your arrange the button and the textview in Grid according to your need than it will solve your problem
Find more about Gridview Here

Change button border color on click (android button maker)

Ive generated android button styles online on android button maker but now i would like the button border to change on click. To make sort of feedback to the user see they clicked the button.
Ive tried with the button state selector with 2 diferent xml button files but it gave me a error.
Hope someone has a easy fix.
Thanks
A some people said the answer was to create a selector.
I've managed to make it work! Thanks everybody!

Android ExpandableList Header with spinner

I'm developing an application and I am facing a problem using ExpandableListView. What I'm trying to do is, in GroupHeader, not only show the group name, but also an spinner with options. That's because I want to show the football second division games in the list but, also, give the option to choose the round, in case the user wants to check older/future games. SO far I have that
As you can see both, title and spinner, shows. Also you can see the arrow on the right which is supposed to expand the list. Problem is that, if I click, only spinner opens, group expand button doesn't. So, here is my question, how can I make both of them work depending on where you click (one or another)??? Is that possible?
Also I must say that if I only place the TextView with the group name works perfect. If I only place the spinner, the problem persists. So I'm guessing that's a focus problem.
Btw: grey areas are the layout backgrounds, so no, they are not hiding behind the button.
I found the solution, I just neede to add this line android:descendantFocusability="blocksDescendants" to the Main Layout of the xml where I define the GroupHeader elements.

Radio Group not getting Focus in Android

So I have a form that contains two EditText components and a RadioGroup.
When I click on one of the EditText fields the keyboard pops-out and I can right and everything is great. UNTIL I click on one of the RadioButtons and it gets clicked with the keyboard still out!! And when I use the keyboard it writes in the last focused EditText( Android 4.0) while on my Galaxy S2 (Android 2.3.6) it crashes the app!!
I researched that issue and I found that it was a known issue in (Android 2.0-) so what is wrong with what I'm doing?
I want to be able to use onFocusChange listener to validate the RadioGroup selection? Any Ideas will be appreciated.

Categories

Resources