on 04-29-2008 11:08 AM
Dear All,
Anyone knows how to change the layout manager to be MatrixLayout and the stretchedHorizontally and stretchedVertically properties to false.
Hi,
select the container from the outline view of your respective view.
from the properties of container
set the property layout to Matrix layout
once this is done
following properties will be displayed
stretchedHorizontally
stretchedVertically
set them as desired , in your case false
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian Lee,
You can change the layout manager to be MatrixLayout bu going to the properties of your View UI elements. In the property yiu will find the property called Layout there you can change to the required Layout(Matrix, Grid,Flow & Row Layout).And in the property sheet only you will fine the properties stretchedHorizontally and stretchedVertically by default they are set to true and you cn cahnge them to false in the Propery Sheet.
In the outline it will display the UI elements->right click on the container->properties(it will open the property sheet)-> now you can change the required properties.
Thanks n Regards,
Jhansi Miryala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try this code which will change the layout to IWDMatrixHeadData.
IWDMatrixHeadData tableHeading= (IWDMatrixHeadData) someTextView.createLayoutData(IWDMatrixHeadData.class);
Regards
-Sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.