Hi,

  I have a small text view (see below) that should span the complete width,
except for a margin left and right. No matter what I specify for
marginRight, it always gets added to the left side, i.e. the margin left
grows and the text view is flush to the right side though.

  Am I doing something wrong here?

Cheers,
Mariano

<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android";
android:id="@+id/status_text"
 android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"
 android:layout_marginLeft="3dp"
android:layout_marginRight="13dp"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"

android:textColor="#fff"
android:gravity="center"
android:background="@drawable/status_background"

android:visibility="gone"/>

-- 
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

Reply via email to