Commit f4e5be74 authored by Geoffrey Métais's avatar Geoffrey Métais

Hint for TV directories selection

parent 81294ffd
......@@ -695,6 +695,7 @@
<string name="ml_discovering">Discovering</string>
<string name="resume">Resume</string>
<string name="length">Length</string>
<string name="tv_settings_hint">Long press OK button to check/uncheck directories</string>
<string-array name="chroma_formats" translatable="false">
<item>RGB 32-bit</item>
......
......@@ -25,6 +25,7 @@ package org.videolan.vlc.gui;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.view.Menu;
import android.view.MenuItem;
......@@ -76,6 +77,8 @@ public class SecondaryActivity extends AudioPlayerContainerActivity {
getSupportFragmentManager().beginTransaction()
.add(R.id.fragment_placeholder, mFragment)
.commit();
if (VLCApplication.showTvUi() && STORAGE_BROWSER.equals(fragmentId))
Snackbar.make(getWindow().getDecorView(), R.string.tv_settings_hint, Snackbar.LENGTH_LONG).show();
}
if (VLCApplication.showTvUi())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment