Created
September 16, 2013 23:56
-
-
Save mako34/6588318 to your computer and use it in GitHub Desktop.
Change "frame" of UI element on android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RelativeLayout.LayoutParams params = (RelativeLayout.LayoutParams) listViewSubItem.getLayoutParams(); | |
params.leftMargin = 300; | |
//params.topMargin = 10; | |
listViewSubItem.setLayoutParams(params); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment