[Android] Fix dB display case

Geoffrey Métais git at videolan.org
Mon Mar 14 14:34:01 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 14 14:33:37 2016 +0100| [12b4476ec9ae9e766db49342da80b30064399ae4] | committer: Geoffrey Métais

Fix dB display case

> https://code.videolan.org/videolan/vlc-android/commit/12b4476ec9ae9e766db49342da80b30064399ae4
---

 vlc-android/src/org/videolan/vlc/gui/view/EqualizerBar.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/view/EqualizerBar.java b/vlc-android/src/org/videolan/vlc/gui/view/EqualizerBar.java
index c18b223..0ec66a6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/view/EqualizerBar.java
+++ b/vlc-android/src/org/videolan/vlc/gui/view/EqualizerBar.java
@@ -20,9 +20,6 @@
 
 package org.videolan.vlc.gui.view;
 
-import org.videolan.vlc.R;
-import org.videolan.vlc.interfaces.OnEqualizerBarChangeListener;
-
 import android.content.Context;
 import android.util.AttributeSet;
 import android.view.LayoutInflater;
@@ -31,6 +28,9 @@ import android.widget.SeekBar;
 import android.widget.SeekBar.OnSeekBarChangeListener;
 import android.widget.TextView;
 
+import org.videolan.vlc.R;
+import org.videolan.vlc.interfaces.OnEqualizerBarChangeListener;
+
 public class EqualizerBar extends LinearLayout {
 
     private static final int PRECISION = 10;
@@ -77,7 +77,7 @@ public class EqualizerBar extends LinearLayout {
         @Override
         public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
             float value = (progress - RANGE) / (float) PRECISION;
-            mValue.setText(value + " Db");
+            mValue.setText(value + " dB");
             if (listener != null)
                 listener.onProgressChanged(value);
         }



More information about the Android mailing list