Android text clipping problem with EditView inside a TableLayout -


i've got small clipping problem haven't been able solve using edittext view in tablerow. whatever try, edittext view either clipped (attached screenshot), or, if set shrinkcolumns either 0 or 1, label text disappears (and edittext view takes whole width). layout follows:

<?xml version="1.0" encoding="utf-8"?>  <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:padding="10dip">    <tablelayout android:orientation="vertical"   android:layout_width="fill_parent" android:layout_height="fill_parent">      <tablerow android:orientation="horizontal"     android:layout_width="fill_parent" android:layout_height="wrap_content">        <textview android:paddingright="10dip" android:layout_column="1"       android:text="label text" />       <edittext android:text="very long text makes text view go on clipping frenzy"       android:layout_width="wrap_content" android:layout_height="wrap_content" />      </tablerow>    </tablelayout>  </linearlayout> 

i've tried on 2.2 emulator running @ qvga , hvga, htc hero on 2.1 , wildfire on 2.1 well. i've played around cliptopadding attribute doesn't seem in case. same issue appears if set hint attribute long text , leave text value empty.

as doing nothing particularly complex, suspect simple error on side. ideas, hints or suggestions highly appreciated.

cheers!

alt text

set android:shrinkcolumns="1" on tablelayout, , remove android:layout_column="1" textview.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -