Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
66 views

Up to now, there is no straightforward and official way for creating a Material Tooltip in java. I know that one can create a TooltipDrawable using: TooltipDrawable tooltipDrawable = TooltipDrawable....
C.F.G's user avatar
  • 1,523
0 votes
0 answers
30 views

I'm using the MaterialSwitch in my Android app as follows <com.google.android.material.materialswitch.MaterialSwitch android:layout_width="wrap_content" android:layout_height=&...
Ali Awan's user avatar
  • 372
1 vote
1 answer
64 views

I am using a MaterialButtonToggleGroup with MaterialButton buttons in it. I am trying to fit 2 lines of text into some of the buttons, but the buttons get shifted down a bit if they have more than one ...
CitroenAX's user avatar
1 vote
0 answers
23 views

I'm looking forward to change the color of this part of TabLayout When user swipes but there's not more items to swipe to. color This is My xml: <com.google.android.material.tabs.TabLayout ...
Ali Habibi's user avatar
1 vote
0 answers
40 views

I develop library with composables. Composables have different foregone colors set for light and dark theme. For example backgroundColor, buttonColor, progressLineColor. I don't want library users to ...
Dmitry's user avatar
  • 99
0 votes
0 answers
34 views

Consider that: Al2TextView inherits from TextView Al2TextInputLayout inherits from TextInputLayout Al2TextInputEditText inherits from TextInputEditText When entering text into the second field (...
Sebastian's user avatar
1 vote
1 answer
2k views

I'm trying to implement something that I feel should be easy but I'm having a hard time. I have a screen with a scaffold, topbar, and lazycolumn as content: I'm using a M3 TopAppBar with a ...
flopez's user avatar
  • 55
1 vote
1 answer
73 views

I am trying to create a global custom style for the AppBar and Toolbar in my Android application using MaterialComponents. I want the styles to apply globally across all activities. However, the ...
Roman.G's user avatar
  • 23
0 votes
1 answer
107 views

I like the animation and the teal color of the default Material 3 CheckBox. However, the checked checkBox on a white background is not easily readable for those that are color blind. I would like for ...
DJTalls's user avatar
  • 13
2 votes
1 answer
484 views

I'm working on a Jetpack Compose application that implements a Material3 new pull-to-refresh (PullToRefreshBox) feature. However, I've encountered an issue where the pull-to-refresh box disappears ...
Santhosh Kumar's user avatar
1 vote
1 answer
363 views

I am required to create a UI in Jetpack Compose of a card that initially takes some constant height but the user can drag on it to increase or decrease its height and show more or less content. It's ...
Abdallah Abdelazim's user avatar
0 votes
0 answers
353 views

My intention is: when I press the buttom labeled "STANDARD BOTTOM SHEET", I want the Standard sheet dialog to be shown. I'm trying to use a bottom sheet modal dialog, but for some reason, ...
Thyerry Nunes's user avatar
1 vote
0 answers
88 views

I haven't found any information on how to change both the active and inactive tracks corner rounding for Android Material range sliders ; how do I do that or work around it? I have read: Android ...
xxfogs's user avatar
  • 79
0 votes
1 answer
61 views

How to show border on TextInputLayout in Android without MaterialComponents. I have an AppCompatActivity using AppTheme.DialogTheme to show the Activity as a Dialog, but this configuration does not ...
jetberrocal's user avatar
2 votes
2 answers
1k views

I am trying to implement a screen that uses TopAppBar and some items with LazyColumn. However, LargeTopAppBar is collapsible even if the inner content is not scrollable. STEPS I made a scrollBehavior ...
ChungJungSoo's user avatar
0 votes
0 answers
60 views

How to create a transition from an Activity to a Fragment? I specificly tried to create a MaterialSharedAxis transition from an Activity to a Fragment which did not work for me. Sample Code: // ...
Matthäus Winkler's user avatar
-1 votes
1 answer
97 views

I am trying to achieve a view switch that enables user to switch between "List view" and "Grid view" in Android. However, I have achieved this but I am not satisfied with results ...
Devarshi Rawal's user avatar
1 vote
1 answer
170 views

I would like my Material Design Searchbar to scroll-away/collapse when scrolling down in my recyclerview. I followed the guidelines from here but I can't get it to work. My activity XML: <?xml ...
Dieter27's user avatar
  • 115
0 votes
2 answers
278 views

I expected the dialog's button text to use colorAccent. However, in some app themes, the dialog's button text uses colorPrimary. Here are my findings: Theme.AppCompat.Light.DarkActionBar - Dialog's ...
Cheok Yan Cheng's user avatar
2 votes
2 answers
657 views

When using com.google.android.material.bottomnavigation.BottomNavigationView in my app layout, I get the following error: Caused by: android.view.InflateException: Binary XML file line #25 in com....
Niilo Poutanen's user avatar
0 votes
1 answer
872 views

Using Material3 design principle, I think (I may be wrong here) BottomSheetScaffold Composable should be used rather than ModalBottomSheet Composable, but the problem is that I didn't find any way of ...
Curious Head's user avatar
2 votes
1 answer
375 views

I am struggling to implement material components search in my android app following this tutorial I built a basic app with viewbinding, added implementation 'com.google.android.material:material:1.11....
Kalle's user avatar
  • 302
1 vote
0 answers
54 views

We are in the process of migrating our app from XML to compose and migrated a lot of areas in the app. right now we need to implement Autocomplete from Google Places to one of our Compose screens ...
Sattar's user avatar
  • 2,662
2 votes
0 answers
227 views

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 ...
Gorkem KARA's user avatar
1 vote
1 answer
174 views

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 ...
Cole Tustin's user avatar

1
2 3 4 5
28