Friday, June 8, 2012

[android-developers] How to resize width fragment

Hi everyone!
I have layout same as:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/WHITE"
android:orientation="horizontal" >

<fragment
android:id="@+id/fragMenu"
android:layout_width="200dp"
android:layout_height="match_parent"
android:background="@color/GREY"
class="com.viettel.vinamilk.view.main.ListFrag" />

<FrameLayout
android:id="@+id/fragDetail"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"/>

</LinearLayout>



I would like to resize fragment (id = fragMenu) when runing app.
Who can help me!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate