自定义博客皮肤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)
  • 收藏
  • 关注

原创 自定义下拉菜单

package com.majcit.portal.widget; import com.majcit.portal.R; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import an

2017-04-07 20:21:40 342

原创 android动画之setInterpolator方法

Android为我们提供了动画的封装类  但是 仔细研究我们会发现 所有的动画都是先加上后减速的运行状态的  所以又提供了Interpolator来让我们自己控制动画执行的速率的问题 利用LinearInterpolator这个类来让动画允许执行animation.setInterpolator(new LinearInterpolator)

2017-04-07 15:21:06 1885

原创 fragment利用fragmentTranscation切换时清空回收栈的操作

清空回收栈的意义在于当你利用fragmentTranscation切换fragment时 上一个fragment加入后退栈  当按下back键时  会显示上一个fragment  由于某些项目  不想要这种效果  所以在切换fragemnt之前要进行清空后退栈的操作  具体如下//首先清空回退栈 int backStackCount = fm.getBackStackEntryCount();

2017-03-30 17:00:56 845

原创 Android自定义控件-组合控件学习-

public class MPNavBar extends LinearLayout{ public static final int ID_NAV_ALBUM = 0; public static final int ID_NAV_AUDIO = 1; public static final int ID_NAV_FOLDER = 2; public static final int

2017-03-27 17:47:41 371

空空如也

空空如也

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

TA关注的人

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