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

Android Retrofit使用详细教程_Android_脚本之家

Retrofit是Android用来接口请求的网络框架,内部是基于OkHttp实现的,retrofit负责接口请求的封装,retrofit可以直接将接口数据解析为Bean类、List集合等,直接简化了中间繁琐的数据解析过程,这篇文章主要介绍了Android Retrofit使用详情,需要的朋友可以参考下+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你...
www.jb51.net/program/3181554...htm 2025-5-16

Android 自定义来电秀实现总结_Android_脚本之家

Android 自定义来电秀实现总结更新时间:2023年01月18日 14:07:08 作者:小肥羊冲冲冲Android 这篇文章主要为大家介绍了Android 自定义来电秀实现总结示例详解,有需要的朋友可以借鉴参考下,希望能够有所帮助,祝大家多多进步,早日升职加薪+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI...
www.jb51.net/article/2731...htm 2025-5-16

Android基于绘制缓冲实现烟花效果_Android_脚本之家

这篇文章主要介绍了Android基于绘制缓冲实现烟花效果,文中通过代码示例和图文结合介绍的非常详细,对大家的学习或工作有一定的帮助,感兴趣的同学可以自己动手尝试一下+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI翻身,你先需要一个靠谱的工具!】 前言 三月以前,我也写过《Android 烟花...
www.jb51.net/program/317927f...htm 2025-5-14

浅析Android中的visibility属性_Android_脚本之家

Android开发中,大部分控件都有visibility这个属性,其属性有3个分别为“visible ”、“invisible”、“gone”。主要用来设置控制控件的显示和隐藏。 1) 可见(visible) XML文件:android:visibility="visible" Java代码:view.setVisibility(View.VISIBLE); 2) 不可见(invisible) ...
www.jb51.net/article/405...htm 2025-4-30

一文带你搞清楚Android游戏发行切包资源ID那点事_Android_脚本之家

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 .class public final Landroidx/activity/R$id; .super Ljava/lang/Object; # annotations // ... # static fields .field public static final view_tree_on_back_pressed_dispatcher_owner:I = 0x7f0902df # direct methods .method private constructor <...
www.jb51.net/article/2832...htm 2025-5-5

Android入门之系统设置Configuration类的使用教程_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 package org.mk.android.demorotatelandscape; import androidx.appcompat.app.AppCompatActivity; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android....
www.jb51.net/article/2691...htm 2025-4-29

Android实现单项、多项选择操作_Android_脚本之家

本文实例为大家分享了Android实现单项、多项选择操作的相关代码,供大家参考,具体内容如下1、单项选择 1.1.布局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 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 51 52 53 <...
www.jb51.net/article/833...htm 2025-5-16

Android如何实现模拟定位_Android_脚本之家

1 adb shell appops query-op android:mock_location allow 执行后会输出应用的包名列表参数。二、Android模拟定位实现 1)模拟定位开关检查 首先是代码中先判断模拟定位权限是否开启,6.0以上的只能通过添加定位监听是否有异常来判断。1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...
www.jb51.net/article/2113...htm 2025-5-10

Android Activity共享元素动画示例解析_Android_脚本之家

android:layout_height="40dp" android:gravity="center" android:text="Text Line 1(a)" /> <TextView android:layout_width="wrap_content" android:layout_height="40dp" android:gravity="center" android:text="Text Line 3(a)" /> </LinearLayout> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...
www.jb51.net/article/2631...htm 2022-9-19

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-5-9