Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ android {

defaultConfig {
applicationId "com.github.bubbleview"
minSdkVersion 9
minSdkVersion 10
targetSdkVersion 24
versionCode 1
versionName "1.0"
versionName "1.0.3"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BubbleLinearLayout extends LinearLayout {
private float mArrowHeight;
private float mArrowPosition;
private BubbleDrawable.ArrowLocation mArrowLocation;
private int bubbleColor;
public int bubbleColor;
private boolean mArrowCenter;
public BubbleLinearLayout(Context context) {
super(context);
Expand All @@ -31,6 +31,14 @@ public BubbleLinearLayout(Context context, AttributeSet attrs) {
initView(attrs);
}

public void setBubbleColor(int color)
{
bubbleColor=color;
}
public void setArrowPosition(float a)
{
mArrowPosition=a;
}

private void initView(AttributeSet attrs){
if (attrs != null){
Expand Down