├── .gitignore ├── .idea ├── gradle.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── SoftLinearLayout.gif ├── SoftLinearLayout1.gif ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── wkp │ │ └── bottomlinearlayout │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── wkp │ │ │ └── bottomlinearlayout │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── wkp │ └── bottomlinearlayout │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── softlinearlayout-lib ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src └── main ├── AndroidManifest.xml ├── java └── com │ └── wkp │ └── softlinearlayout │ ├── util │ └── SPUtils.java │ └── view │ └── SoftLinearLayout.java └── res ├── drawable-v24 └── ic_launcher_foreground.xml ├── drawable └── ic_launcher_background.xml ├── mipmap-anydpi-v26 ├── ic_launcher.xml └── ic_launcher_round.xml ├── mipmap-hdpi ├── ic_launcher.png └── ic_launcher_round.png ├── mipmap-mdpi ├── ic_launcher.png └── ic_launcher_round.png ├── mipmap-xhdpi ├── ic_launcher.png └── ic_launcher_round.png ├── mipmap-xxhdpi ├── ic_launcher.png └── ic_launcher_round.png ├── mipmap-xxxhdpi ├── ic_launcher.png └── ic_launcher_round.png └── values ├── attrs.xml ├── colors.xml ├── strings.xml └── styles.xml /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SoftLinearLayout [ ![Download](https://api.bintray.com/packages/wkp/maven/SoftLinearLayout/images/download.svg) ](https://bintray.com/wkp/maven/SoftLinearLayout/_latestVersion) 2 | 底部控件随输入法高度变化而变化,比QQ聊天界面更完美 3 | ## 演示图 4 | 无状态栏示例图:
5 | ![SoftLinearLayout1](https://github.com/wkp111/SoftLinearLayout/blob/master/SoftLinearLayout1.gif "演示图")
6 | 有状态栏示例图:
7 | ![SoftLinearLayout](https://github.com/wkp111/SoftLinearLayout/blob/master/SoftLinearLayout.gif "演示图") 8 | ## Gradle集成 9 | ```groovy 10 | dependencies{ 11 | compile 'com.wkp:SoftLinearLayout:1.0.3' 12 | //Android Studio3.0+可用以下方式 13 | //implementation 'com.wkp:SoftLinearLayout:1.0.3' 14 | } 15 | 16 | //如集成失败或不愿意等待,请加上我的maven仓库地址 17 | maven { url "https://dl.bintray.com/wkp/maven" } 18 | ``` 19 | Note:可能存在Jcenter还在审核阶段,这时会集成失败! 20 | ## 使用详解 21 | > 属性讲解 22 | ```xml 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | ``` 34 | Note:每个属性都有对应的java设置代码! 35 | > 布局 36 | ```xml 37 | 38 | 46 | 47 | 55 | 56 | 60 | 61 | 67 | 68 | 69 | 70 | 71 | 72 | 77 | 78 |