Android Open Source - android-bubble-text Bubble Style






From Project

Back to project page android-bubble-text.

License

The source code is released under:

MIT License

If you think the Android project android-bubble-text listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.oliveira.bubble;
//from  w  w  w.  ja va 2s  .  c o m
import android.graphics.drawable.Drawable;

public class BubbleStyle {

    Drawable active;
    Drawable pressed;
    int textSize;
    int textColor;
    int textPressedColor;
    int bubblePadding;
    boolean nextNeedsSpacing;

    public BubbleStyle(Drawable active,
                       Drawable pressed,
                       int textSize,
                       int textColor,
                       int textPressedColor,
                       int bubblePadding) {

        this(active, pressed, textSize, textColor, textPressedColor, bubblePadding, true);
    }

    public BubbleStyle(Drawable active,
                       Drawable pressed,
                       int textSize,
                       int textColor,
                       int textPressedColor,
                       int bubblePadding,
                       boolean nextNeedsSpacing) {

        this.active = active;
        this.pressed = pressed;
        this.textSize = textSize;
        this.textColor = textColor;
        this.textPressedColor = textPressedColor;
        this.bubblePadding = bubblePadding;
        this.nextNeedsSpacing = nextNeedsSpacing;
    }
}




Java Source Code List

com.asolutions.widget.RowLayout.java
com.oliveira.bubble.AutoCompleteManager.java
com.oliveira.bubble.AutoCompletePopover.java
com.oliveira.bubble.AwesomeBubble.java
com.oliveira.bubble.BubbleSpanImpl.java
com.oliveira.bubble.BubbleSpan.java
com.oliveira.bubble.BubbleStyle.java
com.oliveira.bubble.ChipsEditText.java
com.oliveira.bubble.ChipsTextView.java
com.oliveira.bubble.CursorDrawable.java
com.oliveira.bubble.DefaultBubbles.java
com.oliveira.bubble.ILayoutCallback.java
com.oliveira.bubble.Linkify.java
com.oliveira.bubble.MultilineEditText.java
com.oliveira.bubble.Regex.java
com.oliveira.bubble.TappableSpan.java
com.oliveira.bubble.Utils.java