Android Studio 插件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36707431/article/details/79978203

1. Material Theme UI

2.Sexy Editor

3.CodeGlance

4.Translate

5.GsonFormat

6.ButterKnife Zelezny

7.Parcelable

8.ignore


9.Lifecycle Sorter   ctrl+alt +k


10.LayoutFormat    ctrl+alt +f


11.Exynap               ctrl+shift +d


/* 
 得到默认的首选项     get default prefs 
 通过取名字的首选项   get prefs via name 
 设定画面横向方向     set screen orientation landscape 
 得到报警管理者       get alarm manager 
 集报警               set alarm 
 设置重复报警         set repeating alarm 
 创建AlertDialog      create AlertDialog 
 创建DatePickerDialog create DatePickerDialog 
 创建TimePickerDialog create TimePickerDialog 
 从对话框中删除标题   remove title from Dialog 
 通过查找ID片段       find fragment via id 
 恢复最后交易片段     revert last fragment transaction 
 通过FragmentManager替换片段  replace fragment via FragmentManager 
 创建通知             create notification 
 展会通知             show notification 
 创建的PendingIntent的活动  create PendingIntent for Activity 
 复制文本到剪贴板     copy text to clipboard 
 获得缓存目录         get cache directory 
 删除文件             delete file 
 发电子邮件           send email 
 打开网址在浏览器     open url in browser 
 播放YouTube视频      play youtube video 
 选择一个联系人       pick a contact 
 创建呼叫意图         create call intent 
 创建导航意图         create navigation intent 
 获得屏幕宽度         get screen width 
 获取屏幕高度         get screen height 
 获得资源复数串       get plural string from resources 
 创建表               create table 
 更新行               update rows 
 DROP TABLE           drop table 
 调整位图             resize Bitmap 
 解码来自流的位图     decode Bitmap from stream 
 图像文件转换成位图   convert image file to Bitmap 
 创建资产字样         create typeface from asset 
 启用GPS              is GPS enabled 
 是网络可用           is network available 
 震动                 vibrate 
 振动模式             vibrate pattern 
 登录WTF消息          log wtf message 
 转换成DP像素         convert dp into pixel 
 转换成像素DP         convert px into dp 
 鉴于膨胀             inflate view 
 显示键盘             show keyboard 
 隐藏键盘             hide keyboard 
 创造新的ArrayAdapter create new ArrayAdapter 
 除去在分频器的ListView  remove divider in ListView 
 利用在EditText上的第一个字母  capitalize first letter in edittext 
 在TextView中字里行间集空间    set space between lines in textview 
 设置超链接的颜色在TextView中  set hyperlink color in textview 
 使TextView中可点击链接        make links in textview clickable 
 启用的TextView滚动            enable scrolling in textview 
 淡出视图                      fade out view 
 做出新的AsyncTask类            make new AsyncTask class 
 结交新RecyclerView类          make new RecyclerView class 
 结交新FragmentPagerAdapter类  make new FragmentPagerAdapter class 
 创建新的Activity    create new Activity 
 put string to SharedPreferences 
 Create new Adapter 
 ......  还有很多 
 */

12.Postfix Completion 


.toast	Toast.makeText(context, expr, Toast.LENGTH_SHORT).show()
.log	Log.d(TAG, expr)
.logd	if (BuildConfig.DEBUG) Log.d(TAG, expr)
.find	(ViewType) findViewById(expr)
.isemp	TextUtils.isEmpty(expr)
.vg	(expr) ? View.VISIBLE : View.GONE

13.PermissionsDispatcher


猜你喜欢

转载自blog.csdn.net/qq_36707431/article/details/79978203