Skip to main content
The 2024 Developer Survey results are live! See the results

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
35 votes
3 answers
25k views

How to achieve a full-screen dialog as described in material guidelines?

Material guidelines describe the behavior of a full-screen dialog. Full-screen dialog | Dialogs - Material Design How can I achieve this in practice?
Skarafaz's user avatar
  • 465
59 votes
7 answers
90k views

Implementing SearchView as per the material design guidelines

I have been looking for ways to implement a searchview in the activity toolbar (actionbar) as per the material design guidelines. On clicking on the search icon, the entire toolbar animates to have ...
GunnerFan's user avatar
  • 3,967
187 votes
10 answers
130k views

Toolbar overlapping below status bar

I want to have appcompat v21 toolbar in my activity. But the toolbar I'm implementing is overlapping below status bar. How can I fix it? Here is the activity layout xml: <LinearLayout xmlns:...
emen's user avatar
  • 6,210
18 votes
5 answers
18k views

Android material chips

I want to implement an autocomplete edittext with chips in my application and I want to do it in a way that it's done here: material design chips. First I would like to ask if there is some kind of ...
Sandra's user avatar
  • 4,249
219 votes
14 answers
249k views

Adjust icon size of Floating action button (fab)

The new floating action button should be 56dp x 56dp and the icon inside it should be 24dp x 24dp. So the space between icon and button should be 16dp. <ImageButton android:id="@+id/fab_add" ...
vovahost's user avatar
  • 35.6k
2 votes
1 answer
2k views

Material Design Menu Item

So here I thought after implementing Material Design everything would be just like it says in the guideline. But when I used a menu item with only a title (THE RIGHT ONE, NOT HOME ICON), it's not the ...
Dark Leonhart's user avatar
165 votes
8 answers
106k views

Material Design not styling alert dialogs

I've added the appCompat material design to my app and it seems that the alert dialogs are not using my primary, primaryDark, or accent colors. Here is my base style: <style name="...
Matthew's user avatar
  • 3,421
88 votes
18 answers
90k views

Put constant text inside EditText which should be non-editable - Android

I want to have constant text inside editText like: http://<here_user_can_write> User should not be able to delete any chars from "http://", I searched about this and found this: editText....
Shrikant Ballal's user avatar
8 votes
3 answers
4k views

Mirror (flip) a View / ProgressBar

I have a custom built circular progress bar used for a seconds counter on a clock, which I'd like to flip, so that the clock is counting counter-clockwise. Searching here for a solution, I found this:...
user avatar
48 votes
4 answers
62k views

Android Circular Determinate ProgressBar

I want to create a Circluar Determinate ProgressBar, the kind which shows the Progress in the center of the Bar. Is there any default way to create this, or will i have to create my own custom one.
AndroidDev's user avatar
  • 16.3k
14 votes
6 answers
34k views

Progress bar rounded on both sides in android

I am trying to create a custom progress bar in android. I have used the following xml file for it (progress_bar_horizontal.xml): <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:...
youri's user avatar
  • 933

15 30 50 per page
1
87 88 89 90
91