sharemain.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="fill_parent"
  4. android:layout_height="fill_parent">
  5. <RelativeLayout android:layout_width="fill_parent"
  6. android:layout_height="wrap_content" android:background="#FFFFFF"
  7. android:gravity="top" android:layout_weight="1">
  8. <LinearLayout android:id="@+id/share_image_view"
  9. android:orientation="vertical" android:layout_width="fill_parent"
  10. android:layout_height="wrap_content" android:gravity="left"
  11. android:layout_alignParentBottom="true">
  12. <include layout="@layout/sharefootview" />
  13. </LinearLayout>
  14. <EditText android:id="@+id/share_content"
  15. android:layout_width="fill_parent" android:layout_height="fill_parent"
  16. android:hint="说点什么吧..." android:scrollbars="vertical"
  17. android:gravity="top" android:layout_above="@id/share_image_view" />
  18. </RelativeLayout>
  19. <GridView android:id="@+id/gridView" android:layout_width="fill_parent"
  20. android:layout_height="fill_parent" android:layout_weight="1"
  21. android:padding="10dp" android:verticalSpacing="10dp"
  22. android:horizontalSpacing="10dp" android:numColumns="auto_fit"
  23. android:columnWidth="60dp" android:stretchMode="columnWidth"
  24. android:gravity="center">
  25. </GridView>
  26. </LinearLayout>