You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Material Theme Builder/README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,18 +19,16 @@ To systematically apply shape throughout your app, it helps to understand that c
19
19
To change your theme's color scheme, replace the existing HEX color values with your custom HEX values. This project has both light and dark themes, toggle between them within the app to see your changes. Use our [color palette generator](https://material.io/design/color/the-color-system.html#tools-for-picking-colors) to help come up with pairings and check your color contrast.
20
20
21
21
## Get Started
22
-
Clone the material-components-android repository
22
+
Clone the material-components-android-examples repository
In Android Studio - Choose ‘Open an existing Android Studio Project’ and select ‘material-components-android’
28
+
In Android Studio - Choose ‘Open an existing Android Studio Project’ and select ‘material-components-android-examples/Material Theme Builder’
29
29
30
-
Syncand build the project. All of the library’s modules will be shown in the left-hand `Project` pane. Find `material-theme-builder`and expand the module - it should look like a standard Android Studio project.
30
+
Sync, build and run the project. The project, by default, will be configured with the baseline Material theme.
31
31
32
-
Run the project by going to ‘Run>Run’ and selecting the ‘material-theme-builder’ run configuration. The project will build and deploy on a device or emulator and will be configured, by default, with the baseline Material theme.
32
+
Under the ‘res’ folder, open `color.xml`, `type.xml` and `shape.xml`. Each file has detailed comments describing the Material subsystem it controls. Try modifying each subsystem, re-running the app and seeing how changes are propagated throughout the app.
33
33
34
-
Under the modules ‘res’ folder, open `color.xml`, `type.xml` and `shape.xml`. Each file has detailed comments describing the Material subsystem it controls. Try modifying each subsystem, re-running the app and seeing how changes are propagated throughout the app.
35
-
36
-
Once you build your Material theme, move the theme resources (`color.xml``night/color.xml`, `type.xml`, `shape.xml`, `styles.xml`, `themes.xml` and `night/themes.xml`) over to your app to start using your Material theme in projects.
34
+
Once you build your Material theme, move the theme resources (`color.xml`, `type.xml`, `shape.xml`, `styles.xml`, `themes.xml` and `night/themes.xml`) over to your app to start using your Material theme in your own projects.
0 commit comments