摘要:
package autochangelineview.app.view;import android.content.Context;import android.util.AttributeSet;import android.view.View;import android.view.ViewG 阅读全文
摘要:
main_activity.xml MainActivity.java fragment_itme.java 阅读全文
摘要:
MainActivity.java main_activity.xml sliding_tab_view.xml 导入parallaxviewpager.jar 阅读全文
摘要:
MainActivity.java main_activity.xml TabDb.java footer_tabs.xml 阅读全文
摘要:
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { //透明状态栏 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); //透明导航栏 get... 阅读全文
摘要:
relativeLayout.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener(){ @Override public void onGlobalLayout(){ Rect r... 阅读全文
摘要:
package com.wmys.doctor.xmpp; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.json.JSONObject; import android.content.ContentValues; import android.content.Con... 阅读全文
摘要:
//1.获取一个包管理器。 PackageManager pm = getPackageManager(); //2.遍历手机操作系统 获取所有的应用程序的uid List appliactaionInfos = pm.getInstalledApplications(0); for(ApplicationInfo applicationInfo : appliactaionIn... 阅读全文
摘要:
public static String post(String interfaceType, JSONObject json) { String data = null; HttpClient client = new DefaultHttpClient(); client.getParams().setParameter(CoreCon... 阅读全文
摘要:
package com.example.pulltorefreshtest; import android.content.Context; import android.content.SharedPreferences; import android.os.AsyncTask; import android.preference.PreferenceManager; import andr... 阅读全文