自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 资源 (11)
  • 收藏
  • 关注

原创 解决vue JS金额小数与数量相乘丢精度问题

s1 = arg1.toString(),//金额。s2 = arg2.toString()//数量。

2024-01-20 10:14:13 409

转载 Android App 沉浸式状态栏解决方案

伴随着 Android 5.0 发布的 Material Design,让 Android 应用告别了以前的工程师审美,迎来了全新的界面,灵动的交互,也让越来越多的 App 开始遵从 material design 设计原则,不再是以前拿着iOS设计稿,做着Android开发。本文就其中的沉浸式状态栏这一特性,描述其兼容到4.4的实现,以及一些使用中的小细节。 前言 在4.4之前状

2016-12-27 10:56:15 403

原创 通过创建帮助类,创建数据库,并在数据库中添加,修改,删除数据

方法一: import com.example.day014_sqliteopenhelper.db.MySqliteHelper; import android.os.Bundle; import android.app.Activity; import android.database.Cursor; import android.database.sqlite.SQLiteDa

2015-09-18 08:53:04 642

原创 andriod之从Sqlite中获取数据的三种方法SimpleAdapter,SimpCursorAdapter,CursorAdapter

方法一: import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.os.Bundle; import android.os.Environment; import a

2015-09-18 08:43:41 999

原创 andriod外部存储之ExtraStorage扩展存储

特点:1,外部存储不一定有效             2,数据是全局可读的  能被其他程序读和写             3,当删除当前应用程序时,内部私有数据会被删除                   public  不会被删除掉 Java代码 MainActivity import android.app.Activity; imp

2015-09-17 11:22:43 557

原创 andriod之创建SharedPreference 存储的工具类 存储

创建SharedPreference 存储的工具类 import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; public class Cfg {          private static S

2015-09-17 11:17:20 346

原创 andriod之SharedPreferences共享参数存储

SharedPreferences共享参数 》1,getSharedPreferences("info", Context.MODE_PRIVATE);不管那个一个类保存的数据,在其他的类中,都能获取到 》 2,getPreferences(Context.MODE_PRIVATE);  哪一个类 保存的数据  只能被本类获取出来    aplay() :  异步处理    com

2015-09-17 11:13:31 377

原创 sqlite数据的增删改查------Java代码

方法一 import com.example.day014_sqliteopenhelper.db.MySqliteHelper; import android.os.Bundle; import android.app.Activity; import android.database.Cursor; import android.database.sqlite.SQLiteDat

2015-09-17 11:08:59 442

原创 建一个Sqlite帮助类

import android.annotation.SuppressLint; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.d

2015-09-17 11:03:59 436

原创 andriod之自定义适配器与ListView的优化:

自定义适配器:BaseAdapter BaseAdapter     定义: 基本适配器的抽象类,且是ArrayAdapter、SimpleAdapter的父类     功能:用于实现复杂的数据显示     需要实现的方法         public int getCount() 返回数据源的大小         public long getItemId(int positio

2015-09-17 08:57:45 310

原创 andriod之InternalStorage内部存储

InternalStorage内部存储 特点:1,内部存储总是有效的         2,默认情况下  只能被本应用程序读写         3,当删除当前应用程序时,内部存储数据也会跟着删除                 因为  内部存储数据保存在应用程序包名下 步骤: 存数据:输出流   读数据:输入流 Java代码 package com.example.da

2015-09-17 08:45:09 492

原创 安卓基本控件之TextView

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical"     >         andr

2015-09-11 20:19:09 347

原创 安卓基本控件之ToggleButton

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"   >                 android:layout_width="wrap_con

2015-09-11 20:13:33 513

原创 安卓基本控件之Switch

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"      >                  Switch 4.0之后使用               

2015-09-11 20:09:48 346

原创 安卓基本控件之RadioButton

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"      >           android:checked="true"  是默认选中      

2015-09-11 20:02:34 906

原创 安卓基本控件之ProgressBar

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:background="#00ff00"     android:orientation

2015-09-11 19:58:07 338

原创 安卓基本控件之ImageView

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="horizontal" >          

2015-09-11 19:54:01 384

原创 安卓基本控件之ImageButton

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"    >         只能带图片  不能带文字        -->            

2015-09-11 19:44:49 311

原创 安卓基本控件之EditText

布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >           andro

2015-09-11 19:38:53 338

原创 安卓基本控件之CheckBox

布局文件xml     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >  -->    

2015-09-11 19:28:13 321

原创 安卓基本控件之Button

布局文件:     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >           andr

2015-09-11 19:17:05 378

LianDiqcj.zip

应用开机启动,隐藏导航栏和下方虚拟按键,退出时需要输密确认才能退出应用。app 霸屏模式 和app 防卸载功能app。该资源简单有效,请放心下载

2020-10-27

vue+elementui.zip

1.三套主题模板任你选 2.第三套主题实现了换肤功能 3.实现了动态路由功能 4.完整的登录登出逻辑 5.炫酷的登录页 6.支持配置饿了么组件库主题色 7.实现了国际化 8.附带天气预报功能 9.附带动感音乐 10.封装了图表组件

2020-01-07

ReactNativeOne-master.zip

基于React-Native的高仿「ONE·一个」 ONE·一个」是由韩寒监制,原《独唱团》主创成员共同制作的一款文艺生活APP

2019-10-09

android图片视频拍摄,选择裁剪框架

最完善的Android图片视频拍摄选择裁剪框架,完全调用系统原生的拍摄,选择,完美的规避了部分视频拍摄(框架)不支持联发科手机的问题,欢迎大家下载使用

2018-02-05

andorid录音及本地保存,并播放

android 录音,本地保存以及播放,可以暂停,从新录制

2017-12-13

realm数据库的Android代码使用

Android客户端realm数据库的使用

2017-06-14

仿qq身边的人效果,用recycleView实现

高仿qq身边的人效果,本代码使用recycleView实现,包含万能适配器与圆图的开源包

2017-06-14

ListView添加弹性头部

ListView添加弹性头部

2016-12-27

andorid加载更多动画

自定义各种加载动画,使你的界面动画更加炫酷

2016-12-27

滚动TextView

自定义滚动的Textview,包含垂直滚动和水平滚动

2016-12-27

android自定义密码输入框

仿支付宝密码输入

2016-12-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除