android
文章平均质量分 67
tea9
这个作者很懒,什么都没留下…
展开
-
adb常用命令
http://adbshell.com/ adb常用命令 1.模拟点击 adb shell input tap 100 100 2.滑动 adb shell input swipe x1 y1 x2 y2 adb input touchscreen swipe x1 y1 x2 y2 100 adb shell input swipe 100 100 400 100 300 #左往右 ad...原创 2018-11-27 17:25:50 · 421 阅读 · 0 评论 -
android No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
主要是缺少这个问题 mips64el-linux-android 1.打开项目local.properties文件 2.打开ndk.dir文件夹 ndk下载 3.下载对应的ndk 4.toolchains/mips64el-linux-android-4.9 复制到 项目ndk目录 5.make project LINKS 完美解决 No toolchains found in the NDK t...原创 2018-11-27 17:27:26 · 242 阅读 · 0 评论 -
android获取控件的几种方法
layout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:background="@color/colorPrimary" android:layout_height="wra...原创 2018-11-27 17:28:59 · 10879 阅读 · 0 评论 -
1.android布局-ConstraintLayout-约束布局
ConstraintLayout 是什么? ConstraintLayout ConstraintLayout 怎么用? 基本用法 layout_constraint[当前控件位置]_[目标控件位置]="[目标控件ID]" 1.上下排列 a b b: app:layout_constraintTop_toBottomOf="a" 实例: <android.support.con...原创 2018-11-27 17:32:14 · 210 阅读 · 0 评论 -
android复杂首页布局
示例图 分析: 通过分析原型图,分为4个模块 1.轮播图 2.公告 3.指示器 4.内容列表 实现: 轮播图使用BGABanner-Android库 公告使用ViewFlipper控件 指示器切换使用MagicIndicator库 内容列表使用ViewPager+Fragment(RecyclerView) ![实现图] (https://coding.net/u/tea9/p/image/g...原创 2018-11-27 17:33:28 · 1954 阅读 · 0 评论