<https://lh6.googleusercontent.com/-qO4R4-o19aQ/T4RUlfCgcsI/AAAAAAAAADI/BREzCOj70ws/s1600/Unbenannt.png>
Hi,

I want to develope a Widget with a Shape (round edge) as background and 2 
textviews in it.
Here is what I got at the moment:

<?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="horizontal" 
    android:padding="@dimen/widget_margin" >
              
    <TextView
        android:id="@+id/update"
        style="@android:style/TextAppearance.Small"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/shape_dunkelblau"
        android:gravity="center_horizontal|center_vertical"
        android:text="@string/widgetSMS"
        android:textColor="#ffffff" />
    
</LinearLayout>


Now i want to have anothet textview in this layout which can be hide 
programmatically 
(or not).
I can not get out how to do thi on the same background...

Hmm, i hope you can understand my problem... the second textview should be 
displayd in the button of the widget...


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to