if (Build.VERSION.SDK_INT >=21) {//21表示5.0 Window window = getWindow();...
一:依赖、 compile 'fm.jiecao:jiecaovideoplayer:5.5' 二:布局 <fm.jiecao.jcvideop...
android:id="@+id/fab" android:layout_width="wrap_content" android:la...
public class MainActivityextends AppCompatActivityimplements View.OnClic...
依赖 debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'release...
需求 近期项目遇到个横竖屏切换的问题,较为复杂,在此记之。 1、Activity中竖屏嵌套3个Fragment,本文简称竖屏FP1,FP2,FP...
private CountDownTimermCountDownTimer =new CountDownTimer(60000,1000) {@...
banner = (Banner) inflate.findViewById(R.id.banner);banner.setOnClickLis...
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="...