全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果2,198,499个

Android实现简单购物车_Android_脚本之家

android:layout_height="match_parent"> <CheckBox android:focusable="false" android:id="@+id/group_check" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>child_item:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ...
www.jb51.net/article/2521...htm 2025-3-1

android仿华为手机悬浮窗设计_Android_脚本之家

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 public class FwBroadcastReceiver extends BroadcastReceiver { public static final String TAG = "FwBroadcastReceiver"; public static final String ACTION_BOOT = "android.intent.action.BOOT_COMPLETED"; public static final String ACTION_STASRT_...
www.jb51.net/article/2596...htm 2022-8-17

详解Android中Dialog的使用_Android_脚本之家

Android中经常要使用Dialog来实现一些提示以及一些特殊的效果,而且样式也不一样,每次都得查一大堆资料,还不一定能解决,这里总结一些常用的Dialog的实践。普通的Dialog1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 //普通的AlertDialog对话框 findViewById(R.id.btn_common).set...
www.jb51.net/article/1019...htm 2025-3-19

Android AOP基本用法全面详解_Android_脚本之家

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 //在根build.gradle下配置: dependencies { ... classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.8' } //在app/build.gradle下配置 apply plugin: 'com.hujiang.android-aspectjx' aspectjx { //关闭AspectJX功能 enabled true //...
www.jb51.net/program/298038j...htm 2025-3-17

Android软键盘遮挡的四种完美解决方案_Android_脚本之家

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 <com.jereh.overidelinearlayout.LinearLayoutView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:id="@+...
www.jb51.net/article/947...htm 2025-3-20

Android Studio实现简单页面跳转的详细教程_Android_脚本之家

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"...
www.jb51.net/article/2723...htm 2025-3-18

Android入门之onTouchEvent触碰事件的示例详解_Android_脚本之家

android:layout_height="wrap_content"/> </RelativeLayout> 我们把这个java在activity_main.xml文件中如上这样引用。此时设计器已经显示出来效果了。 后端 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package org.mk.android.demo; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; ...
www.jb51.net/article/2691...htm 2025-3-21

深入了解Android中GestureDetector的定义与使用_Android_脚本之家

Android中的GestureDetector 可以使用 MotionEvents 检测各种手势和事件,非常的好用。本文将会通过几个具体的例子来讲解一下GestureDetector的具体使用方法,需要的可以参考一下+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI翻身,你先需要一个靠谱的工具!】 简介 之前我们介绍了GestureDetector...
www.jb51.net/article/2738...htm 2025-3-9

Android Loop机制中Looper与handler详细分析_Android_脚本之家

Handler是Android线程之间的消息机制,主要的作用是将一个任务切换到指定的线程中去执行,准确的说是切换到构成Handler的looper所在的线程中去出处理。本文将详细介绍Android Handler机制和Looper Handler Message关系+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI翻身,你先需要一个靠谱的工具...
www.jb51.net/article/2676...htm 2025-3-17

Android FFmpeg音视频解码播放示例详解_Android_脚本之家

/home/cd008/diska/android-ndk-r9/platforms/android-18/archarm/usr/include/stdlib.h:54:14: note: in expansion of macro 'getenv'extern char *getenv(const char *); 解决: 在config.h中注释掉#define getenv(x) NULL /#define getenv(x) NULL/ 1 sed -i -e 's/#define getenv(x) NULL/\...
www.jb51.net/article/2649...htm 2025-3-17