• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Ocean123123
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  androidUI

button点击效果

摘要:<Button android:text="送快递放假" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?android:attr/selectableItem 阅读全文
posted @ 2020-10-29 13:42 Ocean123123 阅读(144) 评论(0) 推荐(0)
BottomNavigationView和Tablayout(3)

摘要:在上一篇的单个fragment中添加tablayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" an 阅读全文
posted @ 2020-10-29 13:13 Ocean123123 阅读(404) 评论(0) 推荐(0)
BottomNavigationView(2)和viewpage组合

摘要:implementation 'com.google.android.material:material:1.2.1' <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.c 阅读全文
posted @ 2020-10-29 11:11 Ocean123123 阅读(398) 评论(0) 推荐(0)
BottomNavigationView(1)

摘要:implementation 'com.google.android.material:material:1.2.1' <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.c 阅读全文
posted @ 2020-10-29 10:15 Ocean123123 阅读(96) 评论(0) 推荐(0)
viewpager欢迎页面底部点的滑动效果

摘要:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> < 阅读全文
posted @ 2020-10-29 09:33 Ocean123123 阅读(169) 评论(0) 推荐(0)
viewpage和tablayout导航栏

摘要:引入material库: implementation 'com.google.android.material:material:1.2.1' <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://sc 阅读全文
posted @ 2020-10-28 17:43 Ocean123123 阅读(217) 评论(0) 推荐(0)
viewpage轮播图

摘要:<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ap 阅读全文
posted @ 2020-10-28 17:13 Ocean123123 阅读(109) 评论(0) 推荐(0)
ViewStub

摘要:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schem 阅读全文
posted @ 2020-10-28 15:58 Ocean123123 阅读(145) 评论(0) 推荐(0)
viewpage启动页

摘要:<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ap 阅读全文
posted @ 2020-10-28 15:45 Ocean123123 阅读(68) 评论(0) 推荐(0)
recyclerView使用

摘要:public class RecyclerViewAdapter extends RecyclerView.Adapter<RecyclerViewAdapter.MyHolder> { private List<Device> list; private OnItemClickListen onI 阅读全文
posted @ 2020-04-24 17:18 Ocean123123 阅读(178) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3