Artem Kopan
06/29/2021, 2:59 PMArtem Kopan
06/29/2021, 3:09 PMDaniele Segato
06/30/2021, 4:43 PMDaniele Segato
06/30/2021, 4:44 PMModifier.drawBehind { }
Daniele Segato
06/30/2021, 4:44 PMArtem Kopan
06/30/2021, 5:36 PMDmitrii Smirnov
11/23/2021, 2:02 PMjuliocbcotta
11/23/2021, 2:39 PMDaniele Segato
11/23/2021, 6:05 PMOutlinedTextField
is the one of material design, if you need something different, yes, you'll have to implement yourself.
Rather than creating a widgets with all possible customization available google is working on exposing smaller components to make it easier to write your own, but currently you can get inspiration on what the material library do to build your own.juliocbcotta
11/23/2021, 10:39 PMDmitrii Smirnov
11/24/2021, 8:16 AMjuliocbcotta
11/24/2021, 10:03 AMDaniele Segato
11/24/2021, 12:21 PMSo we will have to fork the implementation of Button as well, just because instead of providing reasonable default values the Material library hardcode those values. Compose Material is advertised as being great for creating your own design system, but not so much if you tries to deviate from the Material definition. I will try to talk with designers because it would be a nightmare to keep this code.
You should not be disappointed at this, you should be happy. It was one of the issues of XML views... You needed lot of customization options cause it was really hard to build your own if the customization did not allowed it. With compose you'll get more basic widgets and it will be way easier to create your custom ones and build your own design system.
juliocbcotta
11/24/2021, 12:29 PMDaniele Segato
11/24/2021, 1:30 PMjuliocbcotta
11/24/2021, 1:41 PMDaniele Segato
11/24/2021, 1:44 PMDmitrii Smirnov
11/24/2021, 2:31 PMI can’t use OutlinedTextInput (or parts of it) to create my own design system.You actually have all source code, so you can use any part you need (and edit it as you wish). I have faced same problem and it took about 2 hours to copy TextField implementation and throw away all things that I don't need.
The Material components don’t need to be bigger, they need to expose things to allow customisation and this should be in their requirements.Material components need to follow Material guidelines. The problem is that your designer doesn't follow guidelines, but you try to use component from that guideline.
juliocbcotta
11/24/2021, 2:56 PMDmitrii Smirnov
11/24/2021, 2:59 PM