• Stars
    star
    301
  • Rank 138,451 (Top 3 %)
  • Language
    Java
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎨 Generate selectors for background drawable

Android Arsenal

android-selector-intellij-plugin icon

🎨 Generate selectors for background drawable.

You can use colorButtonNormal simply,
but make easily touch feedback of normal Views as well as Buttons with this plugin.

Installation

  1. open Android Studio(or IntelliJ)
  2. Preferences ➑️ Plugins ➑️ Browse Repositories
  3. Search "Android Selector"
  4. Click "Install Plugin" button

Usage

  • Set your colors(in res/values/colors.xml).
<color name="colorPrimary">#519FE5</color>
<color name="colorPrimaryDark">#388AC6</color>
<color name="colorAccent">#FFFFFF</color>
  • Select New -> Android Selector(or Ctrl/Cmd + N) on your res directory.

screenshot1

  • Select filename, color, pressed and pressed-v21 respectively.

screenshot2

ripple drawable is generated in drawable-v21 directory.
normal drawable is generated in drawable directory.

  • Use the drawable.
    <android.support.v7.widget.AppCompatButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="16dp"
        android:background="@drawable/<GENERATED_DRAWABLE>"
        android:gravity="center"
        android:minWidth="100dp"
        android:text="pressed" />

Demo

Lollipop > Lollipop <=
demo1 demo2

Dependency

  • com.android.support:appcompat-v7:22.+

License

MIT Β© Jaewe Heo

More Repositories

1

chromeadb

πŸ› Chrome ADB(Android Debug Bridge) Client
JavaScript
528
star
2

alfred-hl

πŸ”† Syntax highlight code in the clipboard
JavaScript
96
star
3

anim-icons

Animated icons implemented using AnimatedVectorDrawable.
JavaScript
96
star
4

kotlin-maze

πŸš‚ A simple way to implement applications using observable streams
Kotlin
56
star
5

kotlin-unwrap

🎁 Unwrap nullable variables in Kotlin
Kotlin
44
star
6

xmas-tree

πŸŽ„ xmas-tree ascii art
JavaScript
41
star
7

alfred-mdi

Alfred 3 workflow to find Material Design Icons
JavaScript
41
star
8

alfred-tidy

Alfred 3 workflow to beautify JSON/XML in clipboard
JavaScript
40
star
9

chromeadb_for_android

ChromeADB for Android is helper of ChromeADB on Chrome
Java
35
star
10

electron-starterify

πŸ”Œ Electron application skeleton based on React
JavaScript
34
star
11

alfred-awe

Alfred 3 workflow to find awesome projects
JavaScript
32
star
12

crayon

πŸŽ€ Styling terminal text written in Kotlin
Kotlin
26
star
13

popular

πŸš€ A sample application written in Kotlin and using Anko.
Kotlin
25
star
14

ready-for-production

Kotlin / Dagger2 / Rx / Android / Retrofit2 / OkHttp3 / Mockito
Kotlin
24
star
15

alfred-mirror-displays

πŸ–₯️ Toggle mirroring of external displays easily
JavaScript
22
star
16

alfred-night-shift

🌝 Alfred 3 workflow to toggle night shift
JavaScript
18
star
17

progress

⏳ Terminal progress written in Kotlin
Kotlin
17
star
18

alfred-figlet

πŸ”  Alfred 3 workflow to asciify plain text using figlet.js
JavaScript
16
star
19

kotlin-cycle

πŸ”„ Cycle for Android (written in Kotlin)
Kotlin
16
star
20

alfred-workflows

πŸ”§my alfred workflows
JavaScript
16
star
21

fromto

FromTo is a helper library that makes it simple to handle asynchronous actions with views for Android and Java/Kotlin.
Kotlin
15
star
22

generator-atomapp

atom app generator
JavaScript
14
star
23

alfred-tabs

πŸ” Find Chrome/Safari tabs you want easily
JavaScript
14
star
24

alfred-slack-status

πŸ’¬ Alfred 3 workflow to change Slack statuses at once
JavaScript
13
star
25

gpmp

🎧 Google Play Music Player with Electron
JavaScript
11
star
26

aws-sam-gradle-plugin

:shipit: Gradle plugin to bind aws-sam-cli
Kotlin
10
star
27

alfred-gi

Alfred 3 workflow to find *.gitignore files
JavaScript
9
star
28

alfred-sound-output

🎧 Select a device for sound output
JavaScript
8
star
29

alfred-eject

πŸ’Ύ Eject the specified disk(s)
JavaScript
7
star
30

kotlin-enumerize

🚐 Generate enum class and some extensions in Kotlin
Java
6
star
31

kotlin-hangul

πŸ‡°πŸ‡· ν•œκΈ€κ΄€λ ¨ μœ ν‹Έ
Kotlin
6
star
32

kotlin_on_android

βœ‹ GDG Korea Android Conference 2015 λ°œν‘œμžλ£Œ
CoffeeScript
6
star
33

munchkin

🐈 Android Finder
JavaScript
5
star
34

alfred-say

πŸ‘„ Say something!
JavaScript
5
star
35

epp

πŸ’‘ Electron Application Boilerplate
JavaScript
4
star
36

hello-sam

Kotlin 기반으둜 AWS Lambda, API Gatewayλ₯Ό ν…ŒμŠ€νŠΈ 및 λ°°ν¬ν•˜λŠ” μƒ˜ν”Œ
Kotlin
4
star
37

alfred-brightness

β˜€οΈ Adjust your display’s brightness
AppleScript
4
star
38

alfred-volume

πŸ”Š Set the sound output volume
JavaScript
4
star
39

hello-kotlin

kotlin cli example
Kotlin
3
star
40

react-primer

A React primer
JavaScript
3
star
41

alfred-jira-notifications

Show my notifications
JavaScript
3
star
42

mecca

Collect projects on Github and Categorize.
Go
3
star
43

kotlin-flavored-buildscripts

Kotlin Korea Meetup 2018 λ°œν‘œμžλ£Œ
Kotlin
3
star
44

fromto-example

FromTo example
Java
2
star
45

artwork

πŸ’­ my 🎨 work
2
star
46

gore

golang regular expression test program
Go
2
star
47

mecca-page

mecca github page
JavaScript
2
star
48

paintover

λͺ¨λ₯΄λŠ” 단어λ₯Ό 미리 등둝해두고 μ›Ή μ„œν•‘ν•  λ•Œ ν•΄λ‹Ή 단어가 λ‚˜μ˜€λ©΄ ν•˜μ΄λΌμ΄νŠΈ ν•΄μ£ΌλŠ” 크둬 ν™•μž₯ ν”„λ‘œκ·Έλž¨
JavaScript
2
star
49

FacebookGo

Facebook API Go wapper
Go
2
star
50

dash-docset-rxbinding

πŸ“‘ Generate Dash Docset for RxBinding
Python
2
star
51

godictbot

Dictionary Bot
Go
2
star
52

angular-github-snippet

Generates code snippet from Github repository.
JavaScript
2
star
53

HOTSIX-CALL

Request hotsix call
1
star
54

simple-inline

πŸ‘” Generate inline elements from plain text using begin & offset
JavaScript
1
star
55

learn-haskell

\ν•˜μŠ€μΌˆ
Haskell
1
star
56

ggp

Search for Go packages
Go
1
star
57

new-chrome-api-samples

ν¬λ‘œλ―Έμ—„μ— μƒˆλ‘œμš΄ APIλ₯Ό μΆ”κ°€ν•˜κ³  μΆ”κ°€ν•œ APIλ₯Ό 크둬 μ΅μŠ€ν…μ…˜κ³Ό 크둬 앱에 μ μš©μ‹œν‚¨ μƒ˜ν”Œ ν”„λ‘œμ νŠΈ
JavaScript
1
star
58

NavDrawerTemplate

πŸš€ Navigation Drawer Template
Java
1
star
59

diveintogo

golang study
Go
1
star
60

kotlin-apps

Kotlin
1
star
61

InstrumentTestDemo

Android Instrumentation Test Demo
Java
1
star
62

alfred-pg

Alfred 3 workflow to find *.pro(Proguard) files
JavaScript
1
star
63

alfred-screenshot

πŸ“Έ Take a screenshot with your beautiful wallpaper.
JavaScript
1
star
64

platform_frameworks_opt_mms

https://android.googlesource.com/platform/frameworks/opt/mms
Java
1
star