mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-14 20:06:07 +00:00
Add a helper class to perform initial UI fixups (currently adding padding on TV devices)
This commit is contained in:
@@ -8,6 +8,7 @@ import android.preference.PreferenceFragment;
|
||||
import android.preference.PreferenceManager;
|
||||
|
||||
import com.limelight.R;
|
||||
import com.limelight.utils.UiHelper;
|
||||
|
||||
public class StreamSettings extends Activity {
|
||||
@Override
|
||||
@@ -18,6 +19,8 @@ public class StreamSettings extends Activity {
|
||||
getFragmentManager().beginTransaction().replace(
|
||||
R.id.stream_settings, new SettingsFragment()
|
||||
).commit();
|
||||
|
||||
UiHelper.notifyNewRootView(this);
|
||||
}
|
||||
|
||||
public static class SettingsFragment extends PreferenceFragment {
|
||||
|
||||
Reference in New Issue
Block a user