Correctly add a space between "Volume" and the status.
This commit is contained in:
@@ -699,7 +699,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
int currVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
|
int currVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
|
||||||
seekBar.setProgress(currVolume);
|
seekBar.setProgress(currVolume);
|
||||||
|
|
||||||
String volume = getString(R.string.tvSeekBar) + seekBar.getProgress() + "/" + seekBar.getMax();
|
String volume = getString(R.string.tvSeekBar) + " " + seekBar.getProgress() + "/" + seekBar.getMax();
|
||||||
tvSeekBar.setText(volume);
|
tvSeekBar.setText(volume);
|
||||||
|
|
||||||
if (DEBUG) Log.d(tag, "Finished");
|
if (DEBUG) Log.d(tag, "Finished");
|
||||||
|
@@ -36,5 +36,5 @@
|
|||||||
<string name="action_enable_ads">Enable Ads</string>
|
<string name="action_enable_ads">Enable Ads</string>
|
||||||
<string name="action_exit">Exit</string>
|
<string name="action_exit">Exit</string>
|
||||||
|
|
||||||
<string name="tvSeekBar">Media Volume: </string>
|
<string name="tvSeekBar">Media Volume:</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Reference in New Issue
Block a user