Exploring Android Studio
-
Upload
akshay-chordiya -
Category
Technology
-
view
312 -
download
0
Transcript of Exploring Android Studio
Exploring Android StudioGet relaxed, as the fun is about to begin!
About me
~3 years of Android Development Experience
Pursing Bachelor Degree in Computer Engineering
Akshay Chordiya
+AkshayChordiya
Portfolio
Automaton Locker - 100K downloadsActive Notify - 64K downloadsJair Player - 100K downloadsFew other apps too
Flavors
Why Flavors?
It used to create different versions of the same application from a single project
It is extremely useful when you have a demo version and a paid version of your app, etc
Demo
Layout Editor
Layout Editor
Using tools namespace for better Decoupling layout or Extract Layout filePicking any API level, theme, device frameLocalizationYou can even take screenshot of it!The usual stuff (Live Preview, Drag-Drop, etc)
Material IconsSwitching to Vector Assets
Why switch to Vector Assets
They take less spaceAlmost negligible loss of image qualityEasier maintenance. No need to maintain separate
resources for each device density. Just single fileExtremely easy to manipulate image (Tint, Alpha,
etc)Helps to create beautiful animations of imageBackward compatibility*A lot more….
Pre-requisites for Vector Assets
1. Upgrade your project.gradle to newer version of Gradle(Current is gradle:2.0.0-beta6)
2. Switch to new Android Studio 2.03. Switch to new AppCompat library (v23.2.0)
Lint Checker
Find code that doesn't correspond to certain style guidelines
Find duplicate, extra resources, Missing translations
Suggests to use new APIs
Help finding certain performance issues
Scans potential bugs
Plethora of stuff!
Demo
Monitor Tools
Provides a GUI for several Android application debugging and analysis tools
Memory Monitor is used for finding the memory usage of the app
CPU Monitor is used for finding the CPU usage of the app
Network Monitor is used to track the data used by an app
GPU Monitor for Graphics stuff
Demo
Resource Prefix
Mainly should be used by library
Add resourcePrefix ‘tag_’ to your module gradle file
It will warn you make strings which are specific to your library with the tag specified
Example
Bunch of Protips
Use TODO comment to remind you to complete a certain thing in future
Use Analyze Stacktrace feature to manually give stacktrace and find the POJOs causing issues
Plenty of features, tools and shortcuts demo
#ProTip
Further LinksAll the logos used are trademarks of respective companies.
Android Studio
Layout Editor Guide
Android Studio Layout Editor Video
Android Studio for Experts
Android Lint - Android Tools
Device Monitor - Android Developers
Vector Asset Studio
Android Vector Graphics Video
Android Studio Vector Assets Video
Questions?
Thank You!