Merge branch 'audiorecorder-1.1.26'
This commit is contained in:
commit
6df6c616b7
2 changed files with 11 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ android {
|
|||
applicationId "com.github.axet.audiorecorder"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 23
|
||||
versionCode 46
|
||||
versionName "1.1.25"
|
||||
versionCode 47
|
||||
versionName "1.1.26"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
|||
|
|
@ -252,8 +252,15 @@ public class PitchView extends ViewGroup {
|
|||
}
|
||||
|
||||
void updateText() {
|
||||
int end = getEnd();
|
||||
setText(Integer.toString(data.get(end).intValue()) + " dB");
|
||||
// we need to put empty streing to measure text Paint height
|
||||
String str = "";
|
||||
|
||||
if (data.size() > 0) {
|
||||
int end = getEnd();
|
||||
str = Integer.toString(data.get(end).intValue()) + " dB";
|
||||
}
|
||||
|
||||
setText(str);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue