Questions tagged [android-checkedtextview]
7 questions
3
votes
0 answers
Android add StateListDrawable programmatically as left checkmark in checkedTextView
Is there a way to dynamically add check mark as left check mark in checkedTextView using a StateListDrawable? via xml there is an attribute android:drawableLeft which puts the checkmark to the left, is there a way to do this programmatically?

sanket vetkoli
- 826
- 14
- 18
1
vote
1 answer
enable and disable the edittext in android onclick of CheckBox
'
//this is first checkbox on click this it will enable f1 & n1
check1=(CheckBox)findViewById(R.id.checkbox1);
//to disable the editext1
f1=(EditText)findViewById(R.id.editTextf1);
f1.setEnabled(false);
…

inyee
- 435
- 4
- 12
1
vote
2 answers
Checkedtextview check/uncheck after scroll Listview
I'm developing checkedtextview in listvew using viewHolder and getview. To populate check/uncheck status binding from database is running well. But, if I check item and then scroll listview, it will back to uncheck.
here is my customAdapter…

imma hanitya
- 33
- 1
- 9
0
votes
2 answers
Persist checked status of items in ListView
I have a ListView of CheckedTextView items, each one uses a radio button. It is a single-choice list indicating a now-playing audio stream in my main activity.
Once one of the items is checked it should remain checked until another item is checked,…

transiti0nary
- 493
- 6
- 25
0
votes
1 answer
How to make CheckTextView stayed in its state in android?
ChechTextView working, but when close app, and re-open app, they all unchecked again.
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView> parent, View…

chuong trung vuong
- 13
- 4
0
votes
2 answers
checked text view to switch preference
hello guys i want to change my checked text view to switch preference
what methods should i use this is my checked text view method
i want to do the same thing but with switch preference
final CheckedTextView cc = (CheckedTextView)…

fahd mana
- 13
- 6
-1
votes
1 answer
How do I put arguments into a drawable file (android studio)?
I want to put all of these argument for this checkedtextview into a drawable file so that if I make more checkedtextviews I can use the same arguments the drawable file.

Phoenix Holmes
- 69
- 1
- 8