/materialExpansionPanel

Expansion panels contain creation flows and allow lightweight editing of an element.

Primary LanguageJavaApache License 2.0Apache-2.0

Material Expansion Panel

Expansion panels contain creation flows and allow lightweight editing of an element.

//Android arsenal

Setup

Gradle:

Add following line of code to your module(app) level gradle file

    implementation 'com.robertlevonyan.view:MaterialExpansionPanel:1.0.8'

Maven:

<dependency>
  <groupId>com.robertlevonyan.view</groupId>
  <artifactId>MaterialExpansionPanel</artifactId>
  <version>1.0.8</version>
  <type>pom</type>
</dependency>

Usage

<com.robertlevonyan.views.expandable.Expandable
        android:id="@+id/expandable"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <include
            android:id="@+id/header"
            layout="@layout/header_view" />

        <include
            android:id="@+id/content"
            layout="@layout/content_view" />
</com.robertlevonyan.views.expandable.Expandable>
alt text alt text

Material Expansion Panel in action

alt text