HEXO

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Schedule
  • Sitemap
  • Search

materialtest5(最佳UI体验)

Posted on 2017-08-11 |
学习目的:3.可折叠的标题栏(界面编写) 3.可折叠的标题栏(借助CollapsingToolbarLayout基于Toolbar的布局) CollapsingToolbarLayout被限定作为AppBarLayout的子布局来使用 首先实现标题栏123456789<android.supp ...
Read more »

materialtest4(最佳UI体验)

Posted on 2017-08-10 |
学习目的:2.卡片式布局(CardView)实际上也是一个FrameLayout 2.卡片式布局(CardView)实际上也是一个FrameLayout添加依赖123compile 'com.android.support:recyclerview-v7:24.2.1' compile 'com ...
Read more »

materialtest3(最佳UI体验)

Posted on 2017-08-10 |
学习目的:1.悬浮按钮(FloatingAcgtionButton有投影)和可交互提示(Snackbar更先进的提示工具) FloatingAcgtionButton(Design support的一个控件) 12345678<android.support.design.widget.Flo ...
Read more »

materialtest2(最佳UI体验)

Posted on 2017-08-09 |
学习目的:1.NavigationView 2.nav_head.xml(放置头像 邮箱 用户名) 3.使用NavigationView 1.NavigationView 添加依赖12345678910111213141516171819202122232425262728293031compi ...
Read more »

materialtest(最佳UI体验)

Posted on 2017-08-08 |
学习目的:1.什么是Materrial Design 2.Toolbar与Actionbar(已淘汰) (Materrial控件) 3.app命名空间 1.什么是Materrial Design:Google推出的全新界面语言 2.Toolbar与Actionbar(已淘汰) (Mater ...
Read more »

lbstest

Posted on 2017-08-07 |
学习目的:1.LBS(基于位置的服务)确定用户位置的两种方式(GPS 网络定位(手机与各基站的距离算出位置)) http://developer.baidu.com/user/reg(申请成为百度开发者) 申请APIkey http://lbsyun.baidu.com/apiconsole/ ...
Read more »

lbstest2

Posted on 2017-08-07 |
androidMainifest12345678910111213141516171819202122232425262728293031323334<manifest xmlns:android="http://schemas.android.com/apk/res/android" ...
Read more »

servicebesttest

Posted on 2017-08-04 |
学习目的:1.完整版下载示例 (@verride表示重写方法 无则是新建方法) 添加依赖1compile 'com.squareup.okhttp3:okhttp:3.4.1' 定义一个回调接口(对下载过程中的各种状态进行监听和回调)DownloadListenter123456789101112 ...
Read more »

servicetest

Posted on 2017-08-04 |
学习目的:1.定义一个服务(服务都需要注册) 2.启动和停止活动 3.活动与服务进行通信 4.服务的生命周期 5.服务的更多技巧(前台服务,intentService) 1.定义一个服务New->Service->Service 以下自动生成的代码123456789public clas ...
Read more »

networktest2

Posted on 2017-08-02 |
1.搭建Apache服务器 搜索Apache http srever 一路next 成功标志 在Apache/htdocs下新建html文件 xml数据格式1234567891011121314151617<apps> <app> <id>1 ...
Read more »
1…282930…36
DEMO

DEMO

352 posts
22 categories
19 tags
© 2019 DEMO
Powered by Hexo
|
Theme — NexT.Mist v6.0.6