banner.xml 646 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical"
  6. android:background="@drawable/banner_bg">
  7. <TextView
  8. android:id="@+id/banner_title"
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:gravity="center"
  12. android:textSize="@dimen/layw15"
  13. android:textStyle="bold"
  14. android:textColor="#FFFFFF"
  15. android:paddingLeft="10dip"
  16. android:paddingRight="10dip"
  17. android:maxWidth="@dimen/layx300">
  18. </TextView>
  19. </LinearLayout>