Proteus is meant to be a drop-in replacement for Android’s LayoutInflater; but unlike the compiled XML layouts bundled in the APK, Proteus inflates layouts at runtime. With Proteus, you can control your Apps layout from the backend (no WebViews). Forget the boilerplate code to findViewById, cast it to a TextView, and then setText(). Proteus has runtime data bindings and formatters. Plugin in your own custom views and attributes and functions to flavour proteus to your requirements.

Features

  • Instead of writing layouts in XML, in proteus layouts are described in JSON
  • The JSON layouts can be hosted anywhere (on the device, on servers, etc.)
  • The Layout defines the the view heirarchy, just like XML
  • The Data (optional) defines data bindings. These data bindings are similar to Android's Data Binding library
  • Give the layout and data to ProteusLayoutInflater and get back a native view hierarchy
  • The demo app will let you play around with proteus as well as help you understand the internals better

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Android Layout Engine

Android Layout Engine Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Android Layout Engine!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries

Registered

2023-08-24