Skip to main content

All Questions

Tagged with
0 votes
1 answer
238 views

'void android.widget.LinearLayout.setVisibility(int)' on a null object reference when i want to display a LinearLayout

I have a problem with a button that modifies the visibility of a LinearLayout I always get the error java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.LinearLayout....
11itachikun'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
1 vote
1 answer
551 views

Stack in Hiding and unhiding layout in Android Studio

I'm struggling with my app. It should work like the following. Every time I click the button it will hide the layout with an id of pic1 and if its already hidden it will unhide when I click the ...
Gabriel Mamites's user avatar
0 votes
0 answers
26 views

How to recuperate a hidden field at Orbeon in mode dev (Java)

I have a hidden field 'X'. I want to get the value of this field when I implement a method in Java. First I got the form as XML content. Second I will get the value of this field 'X'. But when I ...
Lebki's user avatar
  • 33
3 votes
2 answers
16k views

Android setVisibility(View.Visible) not working on a layout

I have a layout that I am trying to make visible and it is currently not working. The layout I want to make visible has the id "goal_reminder" below. The visibility is set to "GONE" in the xml. Here ...
Tabernaster's user avatar
0 votes
2 answers
51 views

Reconstructing Layout for Newly Visible Components

if(v.getId()==keyboard.getId()) { //DisplayMetrics displaymetrics = new DisplayMetrics(); //getWindowManager().getDefaultDisplay().getMetrics(displaymetrics); ...
jonathan lam's user avatar
1 vote
1 answer
710 views

ANDROID (Java) - Progress bar visibility on page finished loading not working?

The progress bar and webview works fine but when the page is finished loading the progress bar still remains? When I have loaded the page the progress bar visibility doesn't dissapear/change to GONE? ...
Hoërskool Eldoraigne's user avatar