How do I use AndroidPal Studio Layers?

Overview

AP (AndroidPal) Studio comprises a set of tools helping Android developers debug and understand their apps better. One of the tools is “Layers“. Layers helps you inspect your app’s view hierarchy in real-time and make live changes to it. One of the advanced features of Layers is the option to inspect the views in 3D which gives you the ability to find hidden views and understand the layout better. It is also useful for creating marketing materials.

AP Studio Layers is available at https://studio.androidpal.com/layers

In order to use AP Studio Layers you have to complete the following steps:

Step 1:

Install the AndroidPal Android app

https://play.google.com/store/apps/details?id=com.androidpal.host

Once installed start the app and login with your AP Account email by clicking the Sign In button in the app.

 

Step 2:

Add the AP Layers helper library

The first thing you have to do is to add the following to your project level build.gradle file:

maven { url "https://ap.codes" }

Next you have to add the helper library to your app’s level build.gradle file:

compile('codes.ap:layers:1.0.6@aar')

* Make sure you’re using the latest version of the lib. If this guide doesn’t get updated you can always find the latest version of the helper lib here: AP Layers Helper Lib.

In the end you’ll have access to your view hierarchy in AP Layers like so:

Learn more about the platform: https://androidpal.com/

contact@androidpal.com

__________________

AndroidPal is a project of Belvek, design and development company based in Bulgaria, Europe.

belvek.com

contact@belvek.com

Leave a Reply

Your email address will not be published. Required fields are marked *