• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

FrameLayout - From Program

Hi Friends,

I am developing a screen with frame layout, it is done with xml way, but I want it to generated from the program but not getting same from program, Please help me, am loosing lot of time for this...

1) xml format : - (Uploaded the same screen shot)
<TableRow android:id="@+id/TableRow01" android:layout_width="fill_parent"
android:layout_height="wrap_content">

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content">
<Button android:id="@+id/icon" android:layout_width="44dip"
android:layout_height="42dip" android:drawableLeft="@drawable/icont" />
<TextView android:text="28" android:textSize="10sp"
android:textColor="#000000" android:layout_height="wrap_content"
android:layout_width="38dip" android:gravity="right" />
 

Attachments

  • Screen shot 2011-08-20 at 4.34.45 PM.png
    Screen shot 2011-08-20 at 4.34.45 PM.png
    13.3 KB · Views: 65
Back
Top Bottom