自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (5)
  • 收藏
  • 关注

原创 Android Studio权限问题,以读取联系人列表为例

废话不多说直接上代码package com.example.administrator.callpermission;import android.Manifest;import android.content.Intent;import android.content.pm.ComponentInfo;import android.content.pm.PackageManage...

2018-12-28 16:37:39 2204

原创 AndroidStudio中Activity之间intent传递数据方法汇总

第一种:传递简单的字符串,或者数字:发送:String ss="这是一个字符串"Intent intent=new Intent();intent.setClass(A.this,B.Class)intent.putExtra("data",ss);startActivity(intent);接收:Intent intent=getIntent();String...

2018-12-27 13:53:24 8113 1

原创 android studio 通过左滑右滑屏幕实现界面跳转

宏观来说;我要实现四个界面的跳转name就需要四个类 分别继`承Fragment 在这四个类中分别重写onCreateView,添加如下代码 View view =inflater.inflate(R.layout.firstfragment,container,false); return view;代码中对应的的layout分别为四个类对应的布局文件,这四个布局文件中的:...

2018-12-04 13:50:41 7245

原创 android studio 添加控件的三种方式

写在这里以作笔记。第一种:布局文件中添加布局文件中:<android.support.percent.PercentFrameLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <EditText ...

2018-12-03 19:49:23 7840 1

MutipleThread.zip

MutipleThread.zip

2021-04-19

EditText_Demo.rar

Android笔记之右侧图标清空EditTex中的内容,包括几个关键方法的详细的讲解

2019-05-29

完全卸载visualStudio

完全卸载visualstudio 如果有效请评论有效。谢谢,为什么一定要大于50个子,咱也不敢问,咱也不敢说,不知道现在够没够,

2019-02-26

防止RadioButton在RecyclerView中滑动出现错乱

防止RecyclerView滑动出现数据错乱,适用于item中包含RadioButton和EditText的情况

2019-01-14

android 滑动切换桌面

滑动实现界面跳转,若不可运行,私我秒回,绝对可以用

2018-12-04

空空如也

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

TA关注的人

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