56 Commits

Author SHA1 Message Date
pekingme
88f76e368a [Docs] Updated getting started page for new change in R files starting in 1.14.0.
Resolves https://github.com/material-components/material-components-android/issues/4817

PiperOrigin-RevId: 772935924
2025-06-23 17:52:36 +00:00
Material Design Team
a860782978 [Getting Started]Added Material3Expressive theme content
PiperOrigin-RevId: 766046104
2025-06-02 20:26:38 +00:00
hunterstich
30f1850ce8 [Docs] Updated getting started Gradle, AGP, and studio requirements
PiperOrigin-RevId: 753566450
2025-05-02 15:57:44 +00:00
hunterstich
62f8561751 [Build] Updated compileSdkVersion to 35
PiperOrigin-RevId: 753223274
2025-04-30 17:51:49 +00:00
dsn5ft
5b6cf5518e [Docs] Update Getting Started instructions with latest requirements and info
PiperOrigin-RevId: 629732598
2024-05-02 15:35:17 +00:00
pubiqq
81d1b772b9 [Theme] Add NoActionBar dynamic color themes
Resolves https://github.com/material-components/material-components-android/pull/3636

GIT_ORIGIN_REV_ID=ab4463028a14e4d4fbd3a613c4c402b8de39f552
PiperOrigin-RevId: 578900644
2023-11-06 13:58:24 +00:00
Material Design Team
2527cc25c8 [Docs] Changing the name for the AGP compatibility variable so that the IDE points to the right documentation.
PiperOrigin-RevId: 466720315
2022-08-10 16:32:50 -04:00
conradchen
e968929c08 [Switch] Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32)
PiperOrigin-RevId: 460970462
2022-07-14 18:18:56 +00:00
dsn5ft
cdc781dde6 [Docs] Update Getting Started Guide with new minimum requirements for 1.7.0-alpha02+
See https://github.com/material-components/material-components-android/issues/2722

PiperOrigin-RevId: 452059168
2022-05-31 13:36:50 -07:00
dsn5ft
e98cee55d3 [Docs] Update library version in Getting Started doc to 1.5.0
PiperOrigin-RevId: 421581739
2022-01-13 12:23:00 -05:00
dsn5ft
ad97f015ce [Gradle] Replace all jcenter with mavenCentral
https://blog.gradle.org/jcenter-shutdown

PiperOrigin-RevId: 421331758
2022-01-12 13:18:36 -05:00
dsn5ft
05a74bd605 [M3][Docs] Add migration codelab and M2 -> M3 theme mapping to Getting Started doc
PiperOrigin-RevId: 407093241
2021-11-04 10:51:09 -04:00
dsn5ft
255cc1773c [M3][Docs] Update Getting Started doc to link to Material Theme Builder
PiperOrigin-RevId: 405904883
2021-10-27 18:56:30 +00:00
dsn5ft
84e60c9a38 [M3][Docs] Minor punctuation and formatting fixes
PiperOrigin-RevId: 402825475
2021-10-13 10:26:51 -04:00
dsn5ft
e4f70b6d7e [M3][Docs] Update Getting Started doc link to DSL -> MDC migration guide
PiperOrigin-RevId: 402614362
2021-10-12 14:34:33 -04:00
dsn5ft
2e5957e2e1 [Docs] Update library version in Getting Started doc to 1.5.0-alpha04
PiperOrigin-RevId: 401011928
2021-10-05 13:17:01 -04:00
Material Design Team
87a5b592fb [M3][Docs] Update Getting Started developer documentation
PiperOrigin-RevId: 397752069
2021-09-20 12:32:10 -07:00
dsn5ft
2abd8b11e0 [M3][Docs] Clarify view inflation sentence in Getting Started guide
PiperOrigin-RevId: 397101722
2021-09-20 10:58:04 -07:00
dsn5ft
67dbc21be1 [M3][Docs] Updated Getting Started guide to Material3 and added Material3 Theme resources to res-public
PiperOrigin-RevId: 397100754
2021-09-20 10:52:57 -07:00
Rasul
22571566cb [Documentation] Full list of components link is broken
Resolves https://github.com/material-components/material-components-android/pull/2337

GIT_ORIGIN_REV_ID=ead695dccb94fefe33928e769fce914b37eec63a
PiperOrigin-RevId: 393176061
2021-08-26 15:12:41 -04:00
Material Design Team
f6237e337e [Documentation]
version 1.4.0 has compileSdkVersion 30
updating the version in getting started also.

PiperOrigin-RevId: 383399906
2021-07-07 19:23:19 +00:00
leticiars
712dd8ef82 [Documentation] Fixed ordering of headers.
PiperOrigin-RevId: 353022345
2021-01-21 12:53:57 -08:00
Steffan Davies
f698b87e9d [Documentation] Fix anchor links in Getting Started guide
Resolves https://github.com/material-components/material-components-android/pull/1794

GIT_ORIGIN_REV_ID=44ee6a2db66b3a0b113fffe248e1ba12742acfa2
PiperOrigin-RevId: 336877400
2020-10-15 13:18:15 -07:00
dniz
fcf4b9f6ac [Docs] Updated link to Google Maven in Getting Started guide to be more specific
PiperOrigin-RevId: 321611185
2020-07-20 12:32:51 -07:00
dniz
d103997bbe [Docs] Added doc with instructions for how to use snapshot versions of the library
PiperOrigin-RevId: 316700593
2020-06-17 18:09:12 -07:00
leticiars
b45b432099 [Documentation] Updating getting started documentation to add information about compiling with Android 10.
Resolves https://github.com/material-components/material-components-android/issues/1306

PiperOrigin-RevId: 312365087
2020-05-19 18:52:14 -04:00
nickrout
9ce1c7d1a8 [Documentation] Updating getting started doc to include DSL migration guide.
PiperOrigin-RevId: 307443355
2020-04-20 15:31:49 -04:00
leticiars
d1850a3d78 [ExposedDropdownMenu] Implement workaround to inputType=none not working + move MaterialAutoCompleteTextView to textfield/ directory.
The alternative to android:editable="false" (which is deprecated) is to set inputType="none", however due to a framework bug that has no effect. This change makes it so it works as expected.

PiperOrigin-RevId: 299411110
2020-03-09 09:36:24 -07:00
leticiars
eba2be64f4 [Documentation] Updating text fields doc
PiperOrigin-RevId: 296268737
2020-02-20 16:33:09 -05:00
leticiars
8cb5dd64e0 Renaming Buttons.md to Button.md for consistency. Leaving titles as Buttons to match material.io/components
Also adding info about AutoCompleteTextView being auto-inflated as MaterialAutoCompleteTextView

PiperOrigin-RevId: 293224503
2020-02-04 17:34:17 -05:00
leticiars
6f6459618c [Documentation] Update and improvements of Buttons documentation.
Documentation about MaterialButton and MaterialButtonToggleGroup are now in the same doc.

PiperOrigin-RevId: 292420210
2020-01-31 11:14:11 -05:00
connieshi
a381260819 Update get started guide to refer to Android 9 instead of Android P or P Preview.
PiperOrigin-RevId: 265447535
2019-08-29 11:24:16 -04:00
dniz
eefc276e5d Remove specific version from Getting Started docs
Resolves https://github.com/material-components/material-components-android/pull/439

PiperOrigin-RevId: 258202908
2019-07-15 19:23:07 -04:00
Nicola Corti
030354f659 Update Getting Started doc to use alpha07
Looks like the Getting Started doc is still suggesting to use the
alpha06 of MDC. Given that the alpha07 was released several weeks ago,
I'm updating the gradle implementation line to use the latest version of
MDC.

GIT_ORIGIN_REV_ID=d9b4c752f215ec2ac7f420fce6fcef6b96831c84

Resolves https://github.com/material-components/material-components-android/pull/392

PiperOrigin-RevId: 256418728
2019-07-03 15:42:39 -04:00
dniz
eb05c986a4 Update Dark Theme docs with information and links for Android Q Dark Theme and Material Dark Theme spec
Android Q: https://developer.android.com/preview/features/darktheme
Material Spec: https://material.io/design/color/dark-theme.html

PiperOrigin-RevId: 247082315
2019-05-07 17:31:41 -04:00
dniz
d4f495526a Fix Refactor to AndroidX Getting Started link
PiperOrigin-RevId: 222806917
2018-12-06 11:21:53 -05:00
dniz
d7e2fa871b Update library version to 1.1.0-alpha01
Also updates 28.0.0-alpha3 to 28.0.0

PiperOrigin-RevId: 219336904
2018-11-01 16:14:35 -07:00
dniz
48a07e1df9 Update library version to 1.0.0
PiperOrigin-RevId: 214972819
2018-09-28 17:04:13 -04:00
gauthams
4564c8c907 Add new color attributes to bridge theme and check for all new attributes in ThemeEnforcement
PiperOrigin-RevId: 206537727
2018-08-02 18:03:20 -07:00
Gaëtan Muller
af549fc782 Update "Getting started"
Addresses the following two comments:
- 5bdaa0de05 (r29774155)
- 2cf1040ca8 (r29744246)

GIT_ORIGIN_REV_ID=94b630055e3e1a609b57a99d179524b3ae0eb56c
PiperOrigin-RevId: 205393529
2018-07-20 10:18:24 -04:00
Mehmet Emre Aydinli
5bdaa0de05 Update "Getting Started"
- "compile" has been deprecated. Changed it to "implementation"
- No longer need to use maven in repositories. Updated to google()

GIT_ORIGIN_REV_ID=322cfc89767649d726eb865d5416cdbdec3772aa
PiperOrigin-RevId: 204989838
2018-07-19 11:01:45 -04:00
gauthams
2cf1040ca8 Add bridge themes for Material Components
PiperOrigin-RevId: 204852599
2018-07-17 18:11:24 -04:00
dniz
5b2851eccf Update compileSdkVersion, supportVersion, gradle build tools version, and docs
Resolves https://github.com/material-components/material-components-android/issues/152

PiperOrigin-RevId: 201685475
2018-06-22 11:04:32 -04:00
afohrman
f2ebf56e21 Rename text field outlined style from "Outline" to "Outlined".
This commit updates the style names for the outlined text field box from "Outline" to "Outlined.

Widget.MaterialComponents.TextInputLayout.OutlineBox -> Widget.MaterialComponents.TextInputLayout.OutlinedBox, and
Widget.MaterialComponents.TextInputEditText.OutlineBox -> Widget.MaterialComponents.TextInputEditText.OutlinedBox.

This name matches spec and is closer to what is used on the other platforms.

PiperOrigin-RevId: 198768731
2018-05-31 16:39:44 -04:00
gauthams
9122d5d6be Update docs to call out spacing differences in MaterialButton
PiperOrigin-RevId: 197806996
2018-05-30 17:30:59 -04:00
dniz
81c4ece8f7 Remove colorPrimaryLight, colorSecondaryLight, and colorSecondaryDark
PiperOrigin-RevId: 197093793
2018-05-22 13:56:47 -04:00
cketcham
a15a8b9606 Add AppCompatActivity requirement to the docs
PiperOrigin-RevId: 196858321
2018-05-16 14:17:50 -04:00
dniz
7426624bc8 Update Getting Started docs to have more info about dependencies and Android P
PiperOrigin-RevId: 196838813
2018-05-16 13:30:09 -04:00
dniz
c8861c7398 Specify version number in docs
PiperOrigin-RevId: 195439701
2018-05-04 13:58:50 -04:00
afohrman
f8fddb2d96 Change references to theme name examples from "MyAppTheme" to "Theme.MyApp".
To promote good naming practices for themes.

PiperOrigin-RevId: 195306230
2018-05-03 17:03:27 -04:00