Back to project page android-bubble-text.
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.
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; } }