From ac8d6be6e5d7658ed6fbaa518cbc1993790126df Mon Sep 17 00:00:00 2001 From: Gabriel Machado <97042217+GabrielBRDeveloper@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:24:57 -0400 Subject: [PATCH] [core] Implment maxWidth and maxHeight in FrameLayout -> Implement maxWidth and maxHeight -> Implement FlowLayout --- core/res/ex-layout/main.xml | 81 +++++------------- .../br/nullexcept/mux/res/LayoutInflater.java | 6 +- .../src/br/nullexcept/mux/view/ViewGroup.java | 10 ++- .../br/nullexcept/mux/widget/FlowLayout.java | 84 +++++++++++++++++++ .../br/nullexcept/mux/widget/FrameLayout.java | 16 ++++ 5 files changed, 135 insertions(+), 62 deletions(-) create mode 100644 core/src/br/nullexcept/mux/widget/FlowLayout.java diff --git a/core/res/ex-layout/main.xml b/core/res/ex-layout/main.xml index 1569c57..f5e77d2 100644 --- a/core/res/ex-layout/main.xml +++ b/core/res/ex-layout/main.xml @@ -1,73 +1,36 @@ - + background="#AAA" + gravity="center"> + +