Skip to main content

All Questions

Tagged with
0 votes
0 answers
361 views

Android zoom in animation from visibility start state of View.GONE

I have a RelativeLayout containing an ImageView and progress bar. The starting state on the RelativeLayout is View.Gone. Using an animation library (tried several so the problem isn't the libs), I'm ...
Roy Hen Engel's user avatar
2 votes
2 answers
294 views

Setvisibility doesn't work on Buttons

I have a bunch of buttons aligned in a TableLayout in different rows. So when I go through them in a loop and call btn.setVisibility(View.INVISIBLE) some of them get hidden, but others don't. And it ...
Turkhan Badalov's user avatar
2 votes
2 answers
3k views

Toggle View Visibility

I have found lots of questions about View visibility. I already know the difference between .GONE and .INVISIBLE. What I don't know is how to make a proper toggle to make them .VISIBLE/.GONE whenever ...
Rob's user avatar
  • 2,303
1 vote
2 answers
834 views

Android VIEW GONE equivalent in ios

In Android if we try to assign gone to a view's visibility the space occupied by the view will be occupied by the views below. If we assign Invisible to a view's visibility the space occupied by the ...
Appu's user avatar
  • 146
1 vote
1 answer
94 views

Android - Button visibility not changing

this is probably a dummy question but I've searching for at least an hour and I didn't find any solution. I'm working with Google Maps and I'm setting a button visibility to VISIBLE when the user ...
Roman Dev's user avatar
  • 103
1 vote
0 answers
859 views

View.setVisibility(View.Gone) doesn't work anymore

I have a problem. view.setVisibility(View.GONE) doesn't work for me anymore. I will show you what I'm working on. I globally declared this outside of OnCreate() : final ArrayList<View> ...
kalu's user avatar
  • 169
27 votes
5 answers
8k views

Objects visibility

I've done a lot of search but can't find the difference between tools:visibility = "visible" and android:visibility = "visible" ? Which situation I must use tools or android?
Gunay Abdullayeva's user avatar
1 vote
1 answer
823 views

Android View doesn't become VISIBLE

I'm trying to implement controls for my music player. Here is my XML: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-...
Roman Svyatnenko's user avatar
1 vote
2 answers
897 views

Why is my View.setVisibility(View.INVISIBLE) method not working on time?

I'm working on my Android demo which will launch a floating window when certain button is clicked. Then, by clicking the floating window the window itself will hide until the screenshot of current ...
Pan.'s user avatar
  • 67
0 votes
3 answers
203 views

Android Slide a view down when another view's visibility is changed from gone to visible

I have a view that has the visibility set to gone most of the time(View A) and another view below it that's always visible(View b), there are occasions when View A view is set to visible from some ...
Nych's user avatar
  • 78
1 vote
1 answer
572 views

View.setVisibility not works after use Animation fade_in/out

Why does mImageView.setVisibility not works after I use one animation? I have this code works fine (CODE1)... tbnVisible.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { ...
Biruel Rick's user avatar
2 votes
1 answer
2k views

How to know a view is showing in physical screen or not?

I want to know when a view of my layout is showing in physical screen. You know in some apps that uses ScrollView, you must scroll down to see other views. I want to know when a view like Button or ...
karimkhan's user avatar
  • 321
2 votes
3 answers
5k views

Android View.isShown() is returning false when the View is showing

I have a TextView named tvCallToActionBanner that is shown depending on certain events. This method below controls whether said TextView gets shown. This method gets called in the Activity's onResume()...
The Nomad's user avatar
  • 7,365
0 votes
2 answers
6k views

Handle Onclick event with a view visibility gone/visible

I explain my problem. I have a view in which there is two button and two editText. If I touch the button1, I want to display the edidText1. If I touch the button2, I want to display the edidText2. ...
JavaJade's user avatar
  • 199
0 votes
1 answer
684 views

titanium alloy set view visibility

i have a question on what the object.visible property in titanium alloy actually means. in the profile.js controller file of the app there is a check if the user is logged in (state = null) and ...
user24957's user avatar
  • 315

15 30 50 per page