Up vote 0 down vote favorite share g+ share fb share tw.
I'm having some trouble with a screen from the app I'm developing. When I click the OK button, the ImageButton (btnSelect) should setVisibility(GONE) and the ImageView (OkIcon) should appear, but this shrinks the space for the EditText as you can see in those screen shots.
/ / Why is this happening?CODE: @Override public void onClick(View v) { InputMethodManager imm = (InputMethodManager) getSystemService(Context. INPUT_METHOD_SERVICE); if (v.getId() == R.id. Init_select1) { if (validateSal(this.
EdtTextInit1.getText().toString())) { saveSal(this. EdtTextInit1.getText().toString()); imm. HideSoftInputFromWindow(edtTextInit1.getWindowToken(),0); edtTextInit1.
SetEnabled(false); btnSelect1. SetVisibility(View. GONE); okIcon1.
SetVisibility(View. VISIBLE); btnSelect2. SetVisibility(View.
VISIBLE); } LAYOUT'S XML: > (...) android visibility tablelayout tablerow link|improve this question asked May 23 '11 at 17:29Rogério Peixoto156 75% accept rate.
Try to put weight on EditText like: > (...).
Didn't actualy solved right away, but using layout_weight I was able to set it the way I wanted it... thank you very much – Rogério Peixoto May 23 '11 at 18:20.
You should set layout weight for this. So you can easily do the same thing in good manner.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.