P
P
Petya2019-02-12 19:06:28
Android
Petya, 2019-02-12 19:06:28

What is the difference between Material Cardview and regular Cardview and Material Button and regular Button?

If I use them instead of their usual counterparts, will the size of the application also increase? And will it affect performance? I noticed here that the material button is contained in 2 libs: android.support.design.button.MaterialButton and com.google.android.material.button.MaterialButton. Is there a difference between them, or are they the same thing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2019-02-15
@term-light

From what I understand, the support library packages have been deprecated and have since been replaced by the androidx packages.
android.support.design.button.MaterialButton and com.google.android.material.button.MaterialButton are the same.
Regular Cardview has deprecated material design style and MaterialCardview is from Material 2.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question