FabianTerhorst / FastLayout

Generates a Java Object for your xml layout to reduce inflate time to zero
Apache License 2.0
443 stars 35 forks source link

Add layout params with addView method #8

Closed FabianTerhorst closed 8 years ago

FabianTerhorst commented 8 years ago

From the docs: https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View, android.view.ViewGroup.LayoutParams)

void addView (View child, 
                ViewGroup.LayoutParams params)
Adds a child view with the specified layout parameters.