Created
August 28, 2009 20:53
-
-
Save necronet/177234 to your computer and use it in GitHub Desktop.
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
protected TextView genericView() { | |
TextView txtView = new TextView(ctx); | |
txtView.setLayoutParams(new AbsListView.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, 64)); | |
txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT); | |
txtView.setPadding(38, 0, 0, 0); | |
return textView; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment