Layers

1.0.2 March 25, 2018
This is a helper library needed to use the AP Studio Layers web app.

Description

This utility library is supposed to be used along with Layers from AP Studio.


Requirements

  • API Level 19 (Android 4.4 KitKat)
  • AndroidPal Android app
  • WRITE_EXTERNAL_STORAGE¬†


Installation

The library is hosted at AndroidPal in our Maven repository (https://ap.codes). The first step thus would be adding our maven server to the dependencies section of your project level .gradle file:

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

Next add the library to your app level .gradle config:

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


Basic usage

1. Subclass Application and in onCreate add this:

ApLayers.init(this);


2. Let Layers know which view hierarchy you want to inspect, e.g. in onCreate of your Activity you can add:

ApLayers.getInstance().setView(this);


You can do that upon a Button click or any other event so as to inspect different views.


You can learn more how to use AP Studio Layers here:

How do I use AP Studio Layers?

close
keyboard_arrow_left
keyboard_arrow_right
of
( x )
|