Guest User

Untitled

a guest
Jun 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <GridView
  2. android:id="@+id/board"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:layout_centerInParent="true"
  6. android:layout_marginLeft="@dimen/pading_board2"
  7. android:layout_marginRight="@dimen/pading_board2"
  8. android:layout_marginTop="25dp"
  9. android:background="@drawable/porcarie2"
  10. android:columnWidth="5dp"
  11. android:gravity="center"
  12. android:horizontalSpacing="3dp"
  13.  
  14.  
  15. android:layoutDirection="ltr"
  16.  
  17. android:numColumns="9"
  18.  
  19.  
  20.  
  21. android:padding="@dimen/pading_board"
  22. android:stretchMode="columnWidth"
  23. android:verticalSpacing="3dp" />
  24.  
  25. gridview.setLayoutDirection(View.LAYOUT_DIRECTION_LTR);
Add Comment
Please, Sign In to add comment