Questions tagged [material-components-android]
Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional Android apps.
material-components-android
1,361
questions
0
votes
0
answers
62
views
The implementation 'com.github.prolificinteractive:material-calendarview:versions has problems on layout
I want to use material-calendarview library on github(https://github.com/prolificinteractive/material-calendarview)
but I think I have some problems about implementation/version. Documentation says ...
0
votes
1
answer
227
views
how can i draw a border between DropdownMenuItems in jet pack compose?
how can i draw a border between DropdownMenuItems in jet pack compose?
I want to draw a bottom border or a border between the diferent items in a DropDownMenu in jetpack compose in my Topbar Menu.
I ...
1
vote
0
answers
130
views
Android Compose Error for CoreTextField -> CoreTextField -> semanticsModifier
I get the following error when switching from Fragment to Compose view and this is experienced by many users.
I couldn't solve the error because I don't use TextField within that page or any page it ...
0
votes
0
answers
569
views
Facing issue with ModalBottomSheet in Jetpack Compose. Scrim color is not animating while opening and closing of sheet and white line on right corner
I am using ModalBottomSheet but I am facing two issues:
There is a white line on the right corner of the scrim
The scrim color is not animating while opening and closing of ModalBottomSheet
val ...
0
votes
0
answers
33
views
No action bar with Theme.MaterialComponents
I am running an old Android app through lint, prior to issuing an updated version.
Lint recommended changing Switch to SwitchMaterial: I did this, and got a runtime error when the app tried to invoke ...
0
votes
1
answer
118
views
ShapeableImageView - Changing height results in cut-off corners when applying new ShapeAppearanceModel
My app needs to support multiple corner radius/aspect ratio combination presets which may be displayed in different orders depending on the user profile being displayed. For example, preset A has ...
0
votes
1
answer
500
views
android studio - fail to build project after Material dependency upgrade
The requirement is to upgrade all gradle dependencies of an old android app.
Managed to upgrade all to latest and is able to build and run the app.
When I upgraded the Material dependency from com....
0
votes
0
answers
283
views
Why my modal bottom sheets don't show Drag handle?
For some reason, the Drag handle is not visible on my modal bottom sheets.
My main theme is a descendant of the Theme.Material3.Light.NoActionBar.
The bottom sheet style is added to the theme:
<...
1
vote
1
answer
512
views
Don't work reCreate() activity with jetpack compose for android 13(API 30)
Don't work SetContent{} function when i call recreate function for change my app theme
Hi there
i try to change theme in my app that developed with jetpack compose(material v1.2.0-alpha12) and android ...
0
votes
1
answer
56
views
Android OutlinedBox style is not work in TextInputLayout
I have searched and tried many solutions, but it still not work.
(Still shows "FilledBox" style)
What is the problem in my code?
input_layout.xml
<com.google.android.material.textfield....
0
votes
1
answer
510
views
Android Native Jetpack Compose OutlinedTextField Selected By Default
In Android Native Jetpack Compose, using the material androidx.compose.material3.OutlinedTextField composable, is there some way to cause the default value I put in the field to be selected as soon as ...
0
votes
0
answers
32
views
CoordinatorLayout Behavior not working when RecyclerView or NestedScrollView scroll programmatically
I have AppBarLayout and BottomNavigationView that both collapse during scroll.
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout ...
0
votes
1
answer
73
views
Material Dialog - How to change color of Checkbox in single choice items?
I am trying to change the color of radio button for Material Dialog, what possibility I found in the documentation here and here is to override the whole layout using app:singleChoiceItemLayout but is ...
-1
votes
1
answer
280
views
How to implement the Search View Docked mode
Currently, I am using the Material 3 library to code my application's design.
In the official Material 3 website (m3.material.io), in the Search section, at the bottom there is a picture of a Search ...
0
votes
1
answer
34
views
Textfield hint in Android Studio is not positioned properly
When I type in the Material UI Textfield, the hint is not positioning itself properly.
As you can see in this image, the hint is not properly positioned as it goes more left. I am just trying to do ...