May
18
awarded Popular Question
Apr
17
awarded Scholar
Apr
17
accepted How to make Views with an Invisible attribute 'Visible' after clicking a button
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Ok, thanks so much for your help!
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Ok, I did that. One more question though, do I still define it as a 'public void onCreate(Bundle savedInstanceState)'?
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Oh I think that is the problem. I haven't called this Activity. What would be the code to do that?
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
That is the whole class, but not the main one. I created that class by clicking File > New > Class, then going from there. Should I not do that? Should I put it in the original class instead?
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Yes, it is the same
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Nothing seems to be unusual. Logcat doesn't pick up anything when I press the button. Could it possibly be a problem with the class? Should I not be using an Activity?
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
I tried this too, but no luck :( I think the problem has something to do with the button. When I click it nothing happens. Not sure what the problem is...
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Still nothing. I think it has something to do with the onClickListener or something. It still does absolutely nothing when I click the button.
Apr
17
comment How to make Views with an Invisible attribute 'Visible' after clicking a button
Yeah that's because I was trying it the other way around to see if that worked. Sorry about that. But still not working...
Apr
17
asked How to make Views with an Invisible attribute 'Visible' after clicking a button