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

Android Studio 实现九宫格功能_Android_脚本之家

14 15 16 17 18 19 20 21 22 23 24 25 26 27 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <...
www.jb51.net/article/1857...htm 2025-2-9

Android自定义View实现价格区间选择控件_Android_脚本之家

这篇文章主要为大家详细介绍了Android如何利用自定义View实现价格区间选择控件,文中的示例代码讲解详细,感兴趣的小伙伴可以尝试一下+ 目录 GPT4.0+Midjourney绘画+国内大模型 会员永久免费使用!【 如果你想靠AI翻身,你先需要一个靠谱的工具!】 前言 之前我们的复习中,我们已经对原生 Canvas 的绘制有了详细的了解,...
www.jb51.net/article/2685...htm 2025-1-26

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-2-8

浅谈Android开发者2017年最值得关注的25个实用库_Android_脚本之家

这是从Android设计支持库导入的NavigationView的实现,它引入了弯曲边。 Github链接:https://github.com/rom4ek/ArcNavigationView 14. ShimmerRecyclerView 它是一个定制的RecyclerView实现,具有闪烁的视图,以指示视图正在加载。 RecyclerView还具有内置适配器,用于控制闪烁的外观。
www.jb51.net/article/1245...htm 2025-2-6

Android进阶——安卓调用ESC/POS打印机打印实例_Android_脚本之家

开发环境:Android Studio 1.5 需求:点击按钮,实现打印小票功能,小票上除必要文字外,还要有二维码。封装了一个Pos打印工具类: 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 ...
www.jb51.net/article/1106...htm 2025-2-6

Android如何实现设备的异显功能详解_Android_脚本之家

android:id="@+id/tv_test" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="异显" android:textSize="50sp" /> </RelativeLayout> 2.3 操作分屏界面 先放代码再来说明 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17...
www.jb51.net/article/2381...htm 2025-2-9

Android开发Jetpack组件ViewModel使用讲解_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 public class ViewModelProvider { private static final String DEFAULT_KEY ="androidx.lifecycle.ViewModelProvider.DefaultKey"; private final Factory mFactory; private final ViewModel...
www.jb51.net/article/2588...htm 2025-2-8

Android入门之Adapter的简单使用教程_Android_脚本之家

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 packageorg.mk.android.demo.demobasicadapter; importandroidx.appcompat.app.AppCompatActivity; importandroid.os.Bundle; importandroid.widget.ArrayAdapter; importandroid.widget.ListView; importjava.util.ArrayList; ...
www.jb51.net/article/2675...htm 2025-2-8

Android Activity的启动过程源码解析_Android_脚本之家

Activity是Android中一个很重要的概念,堪称四大组件之首,关于Activity有很多内容,比如生命周期和启动Flags,这二者想要说清楚,恐怕又要写两篇长文,更何况分析它们的源码呢。不过本文的侧重点不是它们,我要介绍的是一个Activity典型的启动过程,本文会从源码的角度对其进行分析。我们知道,当startActivity被调用的时候,可以启...
www.jb51.net/article/1398...htm 2025-1-19

Android中使用HTTP服务的用法详解_Android_脚本之家

所有配置信息均在AndroidManifest.xml中完成:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.scott.http" android:versionCode="1" android:versionName="1.0"> <...
www.jb51.net/article/972...htm 2025-2-2