title: get horizontal and vertical spacing in gridview
body: <p>I am implementing a grid view in my application and I want to get the horizontal spacing between consecutive rows and vertical spacing between consecutive columns within grid view using java code.</p>
  
  <p>Is it possible?
  Is there any direct methods to get spacing?</p>