androidphani
Lurker
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" />
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" />