my_payview.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:imagecontrol="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent"
  7. android:orientation="vertical" >
  8. <RelativeLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="45dip"
  11. android:background="#37a1ff"
  12. android:orientation="horizontal" >
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_centerInParent="true"
  17. android:text="自定义界面"
  18. android:textColor="@android:color/white"
  19. android:textSize="15dip" />
  20. <TextView
  21. android:id="@+id/my_payview_back"
  22. android:layout_width="wrap_content"
  23. android:layout_height="match_parent"
  24. android:layout_alignParentRight="true"
  25. android:layout_centerVertical="true"
  26. android:gravity="center"
  27. android:paddingRight="10dip"
  28. android:text="返回"
  29. android:textColor="@android:color/white"
  30. android:textSize="15dip" />
  31. </RelativeLayout>
  32. <WebView
  33. android:id="@+id/my_payview_webview"
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent" />
  36. </LinearLayout>