All Questions
15
questions
0
votes
1
answer
57
views
how to change visibility edittext in mainactivity from alertdialog
I have designed an alertdialog of which when the user press the save button
MainActivity
public void openDialog(View view) {
RegDialog regDialog = new RegDialog();
regDialog.show(...
0
votes
1
answer
231
views
Visibility of Editext Not Working in my dialogue in android
Edittext Visibility not working in dialogue in my code here is my xml.
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:...
0
votes
0
answers
27
views
Admob ad won't disappear when editing text in Fragment Activity
Admob is blocking EditText when user wants to enter a value. I introduced this code but it is still not working.
iAge = (EditText) v.findViewById(R.id.edAge);
iIncome= (EditText) v.findViewById(R.id....
0
votes
1
answer
162
views
input method next not focusing on an edit text
I have 5 edit texts where user enters his options, I keep first two visible and other 3 visibility gone. If user wants to enter option 3 I make it visible by pressing action next key on keyboard while ...
1
vote
1
answer
904
views
Edittext outline not always visible
Here are the samples
When I enter the activity, the line does not show, but if I enter it a lot of times, it eventually shows. I don't understand, I don't know if I can do something to make it work.
...
0
votes
3
answers
3k
views
On button click Visibility of Password in EditText
I have used default properties of edittext to make it a "Password" field, android:password="true".
Now, I have a Button besides EditText. I want as long as I press that button my password characters ...
0
votes
1
answer
138
views
Getting data flow algorithm error on EditText visibility
I have a couple of sets of EditText that i set to visible on a button click. In on my onClick, it is saying that my method is too complex to analyze by data flow algorithm. The code works fine when I ...
1
vote
1
answer
67
views
Saving state of `EditText` visibility
I have couple of editTexts that are set to VISIBLE and INVISIBLE by a button click. I tried saving the state of visibility or invisibility using a Boolean and setting it to True when it became VISIBLE ...
-5
votes
2
answers
89
views
Setting EditText visibility [duplicate]
I have four EditText that I set to invisible in the XML and when the button is clicked, I want them to be visible in pairs. For example, when the button is clicked, I want et1 and et2 to be visible, ...
0
votes
1
answer
127
views
Error in getView() when I focus an EditText
In my ListView I have many rows, each with a TextView and a Button. If I click on the TextView, this two Views are made invisible(GONE) and I show an EditText and another Button. This last Button ...
2
votes
2
answers
2k
views
edittext focused on visible in android
I have one edittext.It is INVISIBLE by defalut.On click of list item it is visible.I want to focust edit text when it is visible.and opens soft keyboard.i have searches alot but it is no working on ...
0
votes
1
answer
150
views
Hide EditText from AbsoluteLayout
I have created EditText via xml file. I have to hide it when certain condition get true. I have tried
setVisibility(View.GONE)
and
setVisibility(View.INVISIBLE)
but nothing happens. Is there any ...
-4
votes
1
answer
301
views
Hiding Edittext in spinner onItemSelected
In one of my layouts I have a EditText that I show only when one spinner option is selected. In the rest of options is hide.
This action doesn't work, when I select one option the EditText is not ...
0
votes
1
answer
373
views
EditText and ImageButton does not go away when i change my fragment
I have the following fragment:
public class ChooseAssigmentFragment extends Fragment {
private ListArrayAdapter listArrayAdapter;
private Assigments assigments;
private ListView assigList;
private ...
1
vote
2
answers
2k
views
EditText visible when selected Spinner
I have a spinner with a list of two items in @ strings.
I want that when User A to select the item becomes visible editbox.
When you select item B be invisible again.
thank you!