Build a Responsive UI with ConstraintLayout
来源:互联网 发布:宏正软件 编辑:程序博客网 时间:2024/05/17 22:32
Add ConstraintLayout to your project
To use ConstraintLayout
in your project, proceed as follows:
- Ensure you have the latest Constraint Layout library:
- Click Tools > Android > SDK Manager.
- Click the SDK Tools tab.
- Expand Support Repository and then check ConstraintLayout for Android and Solver for ConstraintLayout. Check Show Package Details and take note of the version you're downloading (you'll need this below).
- Click OK.
- Add the ConstraintLayout library as a dependency in your module-level
build.gradle
file:dependencies { compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha8'}
The library version you download may be higher, so be sure the value you specify here matches the version from step 3.
- In the toolbar or sync notification, click Sync Project with Gradle Files.
Now you're ready to build your layout with ConstraintLayout
.
使用方法:https://developer.android.com/training/constraint-layout/index.html
1 0
- Build a Responsive UI with ConstraintLayout
- 【双语】使用ConstraintLayout构建响应式UI(Build a Responsive UI with ConstraintLayout)
- Build a basic responsive site with CSS
- Build More Responsive Apps With The Dispatcher
- 10 Developer Tips to Build A Responsive Website
- Bootstrap tutorial: A responsive design tutorial with Twitter Bootstrap 3
- Build a UI with Layout Editor(翻译文章)Android Studio 可视化界面编辑器
- Build a UI with Layout Editor(翻译文章)Android Studio 可视化界面编辑器
- Metronic V1.5.2 Responsive Admin Dashboard Template build with Twitter Bootstrap 3.0
- Metronic V3.1.3 Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
- Metronic V4.5.2 Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5
- Responsive Design with Bootstrap
- How to build a product with InstallShield
- Responsive Design with Twitter Bootstrap
- Building a Dynamic UI with Fragments - Building a Flexible UI
- Creating a Web App with jQuery UI
- Building a Dynamic UI with Fragments
- Building a Dynamic UI with Fragments
- UVA 10970 Big Chocolate(水题)
- 第一篇
- cmsplus实战之仿[我扫网]之三:新建并配置仿站工程信息
- Codeforces Round #353 (Div. 2) D. Tree Construction (BST询问父亲节点)
- poj 3207 Panda's Trick(2-sat,建图)
- Build a Responsive UI with ConstraintLayout
- 杭电ACM1000题------java语言
- Linux学习之网络基础
- cmsplus实战之仿[我扫网]之四:安装整站下载器并下载仿站所有数据
- Linux文件与时间编程2
- UVa11997 K Smallest Sums 归并 + 优先队列
- 278. First Bad Version
- noip2012疫情控制
- BNU Problem A Best Matched Pair