The padding is expressed in pixels for the left, top, right and bottom parts of the view. Padding can be used to offset the content of the view by a specific amount of pixels. For instance, a left padding of 2 will push the view's content by 2 pixels to the right of the left edge. Padding can be set using the setPadding(int, int, int, int) method and queried by calling getPaddingLeft(), getPaddingTop(), getPaddingRight() and getPaddingBottom().
plusminus wrote:Hey guys,
you can do that by calling setPadding(int,int,int,int); or in xml via "...android:paddingBottom="4px"..."
Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 19 guests