This chunk of code doesnt seem to be doing its job.
line=(ImageView)findViewById(R.id.imageView1);
RelativeLayout.LayoutParams params==(RelativeLayout.LayoutParams)line.getLayoutParams();
params.addRule(RelativeLayout.BELOW, R.id.minSpinner);
line.setLayoutParams(params);
**Note all of these have been instantiated just not doing there job when put into emulator. The line is supposed to move BELOW the Spinner.
Thanks in advance
Have you tried quickly implementing the layout in XML to make sure that BELOW is actually functioning as you’re expecting? Relative layouts can be tricky to figure out without some trial and error.