Categories
android studio

42MB to display account information?! Use the Android APK Analyzer to reduce your APK size!

After looking around at a few Android applications, I realised that there are many developers who don’t know about a great tool in Android Studio — the Android APK Analyzer. I cringe when I go to download a basic application (most of these apps are really simple) and the download size is over 40MB. Whenever […]

Categories
android studio ui

ConstraintLayout – Guidelines, Barriers, Chains and Groups

Since my initial blog post about ConstraintLayout, there have been a whole bunch of new features added (and lots of improvements) to ConstraintLayout. This blog post aims to cover some of the new features, namely Guidelines, Barriers, Chains and Groups. Some of these features require using Android Studio 3.0 Beta 5 and the beta version of […]

Categories
android studio

How to create a group of File Templates in Android Studio – Part 3

In the previous two posts, we looked at creating custom live templates and file templates. I received a question on twitter once I posted the file template tutorial: @riggaroo Any idea how to create File Templates that create multiple files? Like "Activity" and "fragment" do? — Justin Angel (@JustinAngel) May 2, 2016

Categories
android studio

How to create your own Live Templates in Android Studio/IntelliJ – Part 2

In the last post we looked at how to create a File Template in Android Studio. In this post we will look at Live Templates and how to make your own. Live templates are “frequently-used or custom code constructs that you can insert into your source code file quickly, efficiently and accurately.”

Categories
android studio

How to make your own File Templates in Android Studio – Part 1

I have recently discovered something which is currently making my life easier at the moment: Custom file templates. What is a file template? A file template is a source file that already contains some code to get you started. In this example, we are going to look at creating a file template for a RecyclerView adapter implementation which is […]