- shankes
部落格通路連結:
CSDN :shankes的部落格
簡書 : shankes
碼雲:shankes.gitee.io
github:sankes.github.io
Android Studio常用插件
文章目錄
-
- Android Studio常用插件
-
- 1.Alibaba Java Coding Guidelines
- 2.Android Material Design Icon Generator
- 3.CodeGlance
- 4.SelectorChapek for Android
-
-
- How to install it:
- How to use it:
- Naming convention:
- Mapping
-
- 5.String Manipulation
- 感謝
1.Alibaba Java Coding Guidelines
回到頂部
Alibaba Java Coding Guidelines plugin support.
2.Android Material Design Icon Generator
回到頂部
This plugin help you to set material design icons to your Android project.
3.CodeGlance
回到頂部
InteliJ plugin that displays a zoomed out overview or minimap similar to the one found in Sublime into the editor pane. The minimap allows for quick scrolling letting you jump straight to sections of code.
- Works with both light and dark themes using your customized colors for syntax highlighting.
- Worker thread for rendering
- Color rendering using InteliJ’s tokenizer
- Scrollable!
- Embedded into editor window
- Complete replacement for Code Outline that supports new Intellij builds.
[外鍊圖檔轉存失敗(img-1CT0ilqF-1563157195863)(https://raw.github.com/Vektah/CodeGlance/master/pub/example.png)]
4.SelectorChapek for Android
回到頂部
This Android Studio plugin automatically generates drawable selectors from appropriately named Android resources.
How to install it:
- in Android Studio: go to
and search forPreferences→Plugins→Browse repositories
SelectorChapek
or
- download it and install via
Preferences→Plugins→Install plugin from disk
How to use it:
- Right-click folder with your resources e.g ‘drawable-xhdpi’
- Select ‘Generate Android Selectors’
[外鍊圖檔轉存失敗(img-pntAXCyZ-1563157195867)(https://raw.githubusercontent.com/inmite/android-selector-chapek/master/img/select_option.png)]
- All selectors automagically appear in the ‘drawable’ folder!
Naming convention:
In order of plugin to work, resources need to be appropriately named. The plugin supports png or nine-patch files with certain suffices anywhere in the file name. You can also combine any suffixes together.
Mapping
File name suffix | Drawable state |
---|---|
_normal | (default state) |
_pressed | state_pressed |
_focused | state_focused |
_disabled | state_enabled (false) |
_checked | state_checked |
_selected | state_selected |
_hovered | state_hovered |
_checkable | state_checkable |
_activated | state_activated |
_windowfocused | state_window_focused |
Pull requests are welcomed!
5.String Manipulation
回到頂部
Provides actions for text manipulation:
[外鍊圖檔轉存失敗(img-GzVQtlmk-1563157195870)(https://plugins.jetbrains.com/files/2162/screenshot_15076.png)]
[外鍊圖檔轉存失敗(img-U6gKJacK-1563157195873)(https://plugins.jetbrains.com/files/2162/screenshot_16015.png)]
感謝
回到頂部
如果您覺得對您有所啟發或幫助(并且個人有餘力,感謝打賞)
微信
支付寶(左側領紅包,右側打賞)