All Questions
14
questions
0
votes
2
answers
1k
views
Checkbox doesn't check first time after visibility change from GONE to VISIBLE
I have a CheckBox in my XML layout and its visibility set to GONE. Here is my layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/...
1
vote
3
answers
2k
views
Where check if CheckBox that is added dynamically is checked? (Android)
I have added checkboxes dynamically in my onCreate() method. When one or more of them are checked I want two buttons to be displayed. I am new to working with Android, but from what I can tell it won'...
1
vote
1
answer
89
views
How to make checkbox visible only after the first checkbox is checked
Am still a learner in android, please am trying to do the following in android. I want my checkbox to show my other checkbox only after I have click the first checkbox, but if the first is unchecked ...
-3
votes
5
answers
122
views
Android visibility issue with Button?
I´m using a Button and CheckBox in my code. I want when the button is clicked to make the checkboxes visible, but when I click on this button, then this error is coming in logcat: ...
0
votes
2
answers
675
views
How to make a new checkbox appear on clicking button in Android
How can I create a new checkbox every time I click a button and how do I hide a check box?
Also, why doesn't checkbox.setVisibility(View.Gone); work the same way textview.setVisibility(View.Gone) ...
0
votes
2
answers
119
views
Android, setVisible and NullPointException
why is my setVisibility() method typing a NullPointException ?? I don't understand that and I cant fix it, please how can I fix it, I need that checkbox set visible in pridajActivity.
I have ...
0
votes
3
answers
132
views
Visiblity issue with Checkbox- Android
I have two set of codes in my activity ,
one is for->
Saving Checkbox State even after app exits & also enable checkboxes by default
And the Other One is for->
Calling visibility if the ...
0
votes
1
answer
2k
views
Change Visibility with CheckBox - Android
I want to change the visibility of the ProgressBar according to the checked CheckBoxes , but when I implement the following code, the ProgressBar goes invisible forever
ProgressBar progressBar1 = (...
1
vote
2
answers
1k
views
Detect if CheckBox is checked and call Visibility - Android
How to make the visibility method used in onpagestarted and onpagefinished detect whether a checkbox is checked ? in other words, i want to modify and use this method for checkBoxes .for example if R....
0
votes
1
answer
161
views
How to make listView item and view out of it appear at the same time?
my wish is, to have a listView and when i choose delete in the contextmenu appearing when I do a longclick on a listview item, there should appear checkboxes in each listview element and a buttonbar ...
0
votes
1
answer
90
views
Update check-boxes status with visibility change
I am having check boxes to control the visibility of different views. When check box status is changed similarly visibility is changed, which is working fine. In my app views visibility also changes ...
0
votes
1
answer
1k
views
Android: Hiding and Showing CheckBoxPreference
I have a PreferenceScreen with multiple PreferenceCategory that have many CheckBoxPreferences in them. I'm trying to create an expandable list concept by hiding or displaying a category on click of ...
4
votes
1
answer
20k
views
Visible and invisible with a checkbox
i have a screen with 5 lines.each line has 3 editTexts.after the 5th line there is a checkbox and below it another line with 3 edittexts.i would like,the 6th line to be invisible when i firstly open ...
7
votes
3
answers
13k
views
Android visibility issue with checkbox
I´m using a checkbox in my code that when its checked it makes a textview and a editText visibles, but if I uncheck de checkbox they continue being visible instead of dissapear.
Here is the code:
...