Skip to main content

All Questions

Tagged with
0 votes
2 answers
122 views

Dynamically added Views not visible

I am trying to add TextViews to a LinearLayout wrapped in a ScrollView during runtime, but the visibility of the TextViews will eventually not display on screen even though their visibility flags are ...
brutal11's user avatar
1 vote
1 answer
335 views

Identify first visible view inside viewgroup

I have several TextViews inside ConstraintLayout. The visibility of those TextViews are set at runtime based upon the data availability. I need to bold the text of the first visible TextView. I have ...
skafle's user avatar
  • 905
0 votes
2 answers
73 views

Swift macOS : view is not loaded and IBOulets are nil in View Controller

I'm writting a simple VAT calculator I would like change the aspect of TextFields, focused one as white background and the others have grey background. Event sending for Textfields seems to be when ...
Fafa's user avatar
  • 103
0 votes
2 answers
563 views

Android - check if a view is visible to the user

Say I have View A and View B as sibling views in my Android activity. View B hides View A (for example, view B has a black background hiding view A) They both have the exact same dimensions filling up ...
And's user avatar
  • 45
0 votes
2 answers
63 views

Visibility to Gone in Android

I am working on dynamic view. I am everything like generating Image view's id ,constraints with loop and setting all in code. I want one Pause and Start button. If I click on pause everything should ...
Manpreet Narang's user avatar
4 votes
2 answers
1k views

Android textview blinking after changing its visibility using animation [duplicate]

I have some views in the constraint layout. I used animation to reveal and hide the view. When the view is GONE, it blinks for a second and become visible and then gone. view.animate() ....
jk multi's user avatar
0 votes
1 answer
837 views

Custom visibility xml params

I want to create a new xml parameter for one of my custom views to handle the visibility of something within it. I can do it other ways of course, but I would like to do it in a way that I can use ...
jack_the_beast's user avatar
0 votes
0 answers
669 views

(VSCode): Hide views when file type exists in workspace

I am developing a VSCode extension and would only like a viewContainer to be visible if the workspace has a file with a given extension. It seems if all views in a viewContainer are hidden, it will be ...
DS7's user avatar
  • 140
0 votes
0 answers
34 views

How to Change my Visibility on ViewGroup if any value in my ViewGroup Kotlin Language?

I want to change Groupview.visibility = View.VISIBLE to be GroupView.visibility = View.GONE. How should the code be? this is my Activity.kt if (viewModel.inputPosTableArea1.value != "") { ...
Ivon Khalif's user avatar
0 votes
1 answer
464 views

Make visible single View in RelativeLayout

I have a RelativeLayout which contains a LinearLayout containing 2 buttons. I would like to make those buttons visible without making the whole RelativeLayout or LinearLayout visible. While debugging, ...
Coleen's user avatar
  • 124
0 votes
1 answer
631 views

OS version 4.4 (KitKat) and 5 (Lollipop) onVisibilityChanged Listener Not Firing

I have looked online for an answer to this, but have not found the root cause of this issue. I have an application with a view, that listens in on onVisibilityChanged and onWindowVisibilityChanged. ...
tomerpacific's user avatar
  • 5,684
0 votes
1 answer
108 views

Android View is not respecting Bundle state, being recreated disregarding Bundle information

View is not using automatically generated Bundle information. Searching Stack Overflow yielded no results about it. View is not custom, has unique name id. Is not a duplicated of: findViewById not ...
Bonatti's user avatar
  • 2,770
1 vote
0 answers
244 views

Multi floating button in coordinatorlayout in accordance with a bottom view's visibility

I have a big problem to position 3 floating buttons in a coordinatorlayout. The problem came from 3 other views, which could be visible or gone. On the previous screens, you can see 3 possibilities: ...
Turvy's user avatar
  • 1,002
0 votes
1 answer
16 views

Java JTextField view from the Right

I have a JTextField that I'm trying to get to automatically view from the Right (Not align to the right), so if the text is to long for the JTextField it will display the last characters in the String ...
Sharmastic's user avatar
1 vote
1 answer
426 views

How to know when a view is visible on the screen?

How to know when a view is actually visible on screen? View.getVisibility is not accurate enough for my case. It gets set to true before the view is completely rendered. Specifically, I'm using a ...
Son Nguyen's user avatar
  • 1,494

15 30 50 per page
1
2 3 4 5