VerticalDrawerLayout - Android 抽屉控件


未知
Android
Java

软件简介

VerticalDrawerLayout 一个垂直方向的DrawerLayout,抽屉从上向下展开。

[![](/static/assets/osapp/images/3fe01f1236da2d77fa6d19de8912f702.gif)](https://github.com/corerzhang/VerticalDrawerLayout/raw/master/screenshots/demo.gif)

布局示例:

  <me.corer.verticaldrawerlayout.VerticalDrawerLayout
          android:id="@+id/vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent">

          <LinearLayout
              android:id="@+id/content"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              />

          <LinearLayout
              android:id="@+id/drawer"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:background="@android:color/white"
              android:orientation="vertical"/>

  </me.corer.verticaldrawerlayout.VerticalDrawerLayout>