Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.74 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.74 KB

Android Live Templates

Import Android Live Templates to speed up your coding and reduce developing time.

Android Studio

What is a Live Template?

Live Template is adding a reusable code snippet in your editor by typing its abbreviation. Live Template helps you to speed up your coding and reduce the developing time.

How to make a Live Template?

Go to the settings -> Live Template. Click on the + button and add your abbreviation, description, and code snippet which you want to use while typing an abbreviation.

How to create your own custom live template?

Official documentation

Live template variables

How to import Live Template into your IDE?

List of Live Templates:

  • Toast with Short/Long Duration (Abbreviation: toast short/long)
  • Snackbar with Short/Long Duration (Abbreviation: snackbar short/long)
  • Snackbar with Action (Abbreviation : snackbar with action)
  • Alert Dialog (Abbreviation: alert)
  • Region (Abbreviation: region)
  • Enable Data Binding (Abbreviation: data binding)
  • Enable View Binding (Abbreviation: view binding)
  • Enable View and Data Binding (Abbreviation: view and data binding)
  • Request Single Permission (Abbreviation: single permission)
  • Request Multiple Permission (Abbreviation: multiple permissions)
  • Pick a file from storage (Abbreviation: pick file)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT