# ExpandableLayout **Repository Path**: MiniTriangle/ExpandableLayout ## Basic Information - **Project Name**: ExpandableLayout - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-17 - **Last Updated**: 2024-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ExpandableLayout This ExpandableLayout is like a smooth expand/collapse animation CheckBox, so it can be used anyplace (ListView or RecyclerView). ![](https://github.com/KyoSherlock/ExpandableLayout/raw/master/screenshots/expandablelayout_screenshot.gif) # Usage Below is an example of a ExpandableLayout, what you need to do is just to set canExpand="true" to a child view/viewgroup. ```xml ``` # Proguard Please add the following line in the proguard-rules.pro of your main module. It is because I use ObjectAnimator that maps "height" -> setHeight(ExpandableLayout.LayoutParam.setHeight). ```xml -keep class com.kyo.expandablelayout.** {*;} ``` # Changelog ### Version: 1.0 * Initial Build ### Version: 1.2 * Improve field and method names ### Version: 2.0 * Eclipse to Android Studio # License Copyright 2015, KyoSherlock Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.