How to change/resize edittext in table layout - android?

ajeuxbentenh

New Member
I just want to resize the edittext so that it matches my texts. When I insert an edittext in a table layout in column 3 it fills the whole space of column 3 and looks big. I want to change the size. How is it possible?Below is my .xml coding:\[code\]<TableRow> <TextView android:layout_column="1" android:text="S" android:layout_width="150dp" /> <TextView android:layout_column="2" android:text="C" android:layout_width="75dp" /> <TextView android:layout_column="3" android:text="G"/></TableRow><View android:layout_height="2dip" android:background="#FF909090" /><TableRow><TextView android:layout_column="1" android:id="@+id/s1" android:text="Medium Text"/><TextView android:layout_column="2" android:id="@+id/c1" android:text="Text"/><EditText android:id="@+id/g1" android:layout_column="3" /></TableRow>\[/code\]
 
Back
Top