1. 程式人生 > >隨筆(二十五)

隨筆(二十五)

1.
使用return結束一個方法

https://blog.csdn.net/u012843873/article/details/71077808
return結束本方法,上一級方法並不會結束
2.Animator.AnimatorListener
https://www.jianshu.com/p/65621fb06bef
3.
教你如何拿別人APP中的資料 https://www.jianshu.com/p/bc02c809772a

4.
INSTALL_FAILED_ALREADY_EXISTS

https://blog.csdn.net/ameryzhu/article/details/42645393


adb install -r 這裡的r是reinstall 的縮寫。順便學習一下adb install的相關引數。
5.
Android模擬器安裝APP出現INSTALL_FAILED_NO_MATCHING_ABIS錯誤解決方案

https://www.jb51.net/article/99714.htm
6.場景:橫豎屏載入不通的title,title佈局具有相同的id
使用viewstub
https://blog.csdn.net/u012233285/article/details/52818308
7.自定義toast
Toast toast = new Toast(getActivity());
TextView textView = new TextView(getActivity());
textView.setBackgroundResource(R.drawable.toast_blue_bg);
textView.setText(“波動空間=振幅/保證金比例*100%”);
textView.setGravity(Gravity.CENTER);
textView.setPadding(12,6,12,6);
toast.setView(textView);
toast.show();
8.解決沉浸式狀態列輸入法彈起把狀態列頂上去的問題

https://blog.csdn.net/xiaoxiaocaizi123/article/details/74935758
9.https://blog.csdn.net/chencehnggq/article/details/23736869
https://www.cnblogs.com/franksunny/p/3714442.html