TextView borders when contained in a tablerow?

by Mark Freeman » Tue, 25 Jan 2011 02:51:09 GMT


Sponsored Links
 Hi everyone. I have an interesting problem.  I am using a TableLayout to 
arrange a series of labels and TextViews.  In some cases, the text within 
the TextView is bold and colored blue to represent a field which is 
clickable. Meaning that I have a listener on it to launch a new activity. 
 On fields where I have done this, the bottom border seems to disappear. 
 Has anyone seen this before? Here is an example of the problem.  Notice the 
border missing below the address and phone rows.

**<https://lh5.googleusercontent.com/_h03pCOGU1n0/TTiu4GkUUPI/AAAAAAAAAAc/ABLJYekrrPU/borders.JPG>
*
*
*Here is an example of how I have a regular field defined:*

   <TableRow>
       <TextView
           android:text="Status"
           android:textStyle="bold"
           android:gravity="right"
           android:padding="3dip" />
       <TextView android:id="@+id/status"
           android:text=""
           android:padding="3dip"
           android:layout_marginRight="2sp"
           android:background="#FFFFFF"
           android:textColor="#000000" />
   </TableRow>


*And one that is clickable:*

       <TextView
           android:text="Email"
           android:textStyle="bold"
           android:gravity="right"
           android:padding="3dip" />
       <TextView android:id="@+id/email"
           android:focusable="true"
           android:focusableInTouchMode="true"
           android:clickable="true"
           android:text=""
           android:padding="3dip"
           android:layout_marginRight="2sp"
           android:background="#FFFFFF"
           android:textColor="@color/link_blue"
           android:textStyle="bold" />
   </TableRow>

-- 



Other Threads

1. Android Apps, move apps into phone's memory, or switch them into external memory.

Hi,
I noticed that I can switch some apps from internal memory to external
memory and vice versa from the android built in app manger.

I can do it only on some apps, not with all, two of my apps doesn't
let me do it.

Can you tell me why please?

Thanks.

-- 

2. Mod: Member Milis ID-Android Tembus Angka 7000

Rekan-rekan komunitas id-android yang berbahagia, hari ini (Kamis),
21 April 2011, jumlah member (basis E-mail) milis id-android tembus angka
7000. Kalau kita flashback, bulan Desember 2009 jumlah kita masih ratusan
dibawah angka 1000, dalam waktu 16 bulan jumlah member id-android
sudah tembus 7000.

Semoga Komunitas ID-Android tetap bermanfaat buat semua.

Join: id-android+subscr...@googlegroups.com
        id-android+subscr...@googlegroups.com

 http://forum.android.or.id/

-- 
Salam,


Agus Hamonangan

Founder 

3. Application is not installed on your phone

4. Icons looks blurred instead of being sharp after resizing

5. Proxy again

6. Manual Proxy