Skip to content

Commit 1022341

Browse files
committed
Support right to left; bugs fixed
1 parent ad465c2 commit 1022341

File tree

4 files changed

+152
-86
lines changed

4 files changed

+152
-86
lines changed

bubbleseekbar/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apply plugin: 'com.android.library'
22

3-
def VERSION_NAME = "3.7"
3+
def VERSION_NAME = "3.8"
44

55
android {
66
compileSdkVersion 26
7-
buildToolsVersion "26.0.1"
7+
buildToolsVersion "26.0.2"
88

99
defaultConfig {
1010
minSdkVersion 14
1111
targetSdkVersion 26
12-
versionCode 23
12+
versionCode 24
1313
versionName VERSION_NAME
1414
}
1515

bubbleseekbar/src/main/java/com/xw/repo/BubbleConfigBuilder.java

+10
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public class BubbleConfigBuilder {
4646
boolean alwaysShowBubble;
4747
long alwaysShowBubbleDelay;
4848
boolean hideBubble;
49+
boolean rtl;
4950

5051
private BubbleSeekBar mBubbleSeekBar;
5152

@@ -222,6 +223,11 @@ public BubbleConfigBuilder hideBubble() {
222223
return this;
223224
}
224225

226+
public BubbleConfigBuilder rtl() {
227+
this.rtl = true;
228+
return this;
229+
}
230+
225231
public float getMin() {
226232
return min;
227233
}
@@ -349,4 +355,8 @@ public long getAlwaysShowBubbleDelay() {
349355
public boolean isHideBubble() {
350356
return hideBubble;
351357
}
358+
359+
public boolean isRtl() {
360+
return rtl;
361+
}
352362
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy