Created
January 7, 2020 20:42
-
-
Save ZieIony/adf646b70ecadb1daf253a721d2e4395 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public class FlowLayout extends FrameLayout { | |
| public static class LayoutParams extends FrameLayout.LayoutParams { | |
| private boolean fill = false; | |
| public LayoutParams(Context c, AttributeSet attrs) { | |
| super(c, attrs); | |
| TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.FlowLayout_Layout); | |
| fill = a.getBoolean(R.styleable.FlowLayout_Layout_guide_layout_fill, false); | |
| a.recycle(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment