Hello I'm trying to design 2 custom tabs in my TabHost. I apply a
<?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true"> <shape> <stroke android:width="1dp" android:color="#D2C3A4" /> <corners android:radius="4dip" /> <solid android:color="#F5ECD8" /> <padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp" /> </shape> </item> <item> <shape> <stroke android:width="1dp" android:color="#D2C3A4" /> <solid android:color="#F8F4EB" /> <corners android:radius="4dip" /> <padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp" /> </shape> </item> </selector> as background drawable to both tabs. First problem that I noticed is that I cannot define text colors. It just uses some default settings that are useless. I tried to apply different states colors in my themes but it does not work. For some reason it ignores it! Second problem are corners. As you can see in code, I defined corners. For some reason they are ignored, why? Third problem is a border. I have a large, full width black border under tabs. How to get rid of it or at least change its color? As I understand, this is a part of FrameLayout under TabWidget... Best regards, Erol -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

