Your Single Radio
  • Welcome
  • Android Studio
    • Getting Started
    • Import Project
    • Firebase Configuration
    • Push Notification
    • Package Name
    • Remote Config
    • Ad Network
    • Legacy GDPR
    • Change Logo
    • Change Colors
    • Change Text
    • Change Images
    • Layout Customization
  • Admin Panel (Deprecated)
    • Getting Started
    • Create Database
    • Import Database
    • Upload PHP Script
    • Database Configuration
    • Video Tutorial
  • Publish the App
    • Release Version
    • Generate Signed APK
  • Changelog
  • Rating and Support
  • FAQ
Powered by GitBook
On this page
  1. Android Studio

Layout Customization

Open app → java → yourpackagename → Config.java

You can make some customization or disable some features if you don’t want it, by set value true/false to enable/disable

Config.java
//set true to enable remote config from json url, or set false for offline json config from assets
public static final boolean ENABLE_REMOTE_JSON = true;

//only used when remote json is enabled
public static final String JSON_URL = "https://solodroid.net/demo/your_single_radio/config.json";

//auto play configuration
public static final boolean ENABLE_AUTOPLAY = false;

//display album art metadata
public static final boolean CIRCULAR_RADIO_IMAGE_ALBUM_ART = true;

//radio will stop when receiving a phone call and will resume when the call ends
public static final boolean RESUME_RADIO_ON_PHONE_CALL = true;

//splash screen duration in millisecond
public static final int SPLASH_DURATION = 1000;

//set true if you want to enable RTL (Right To Left) mode, e.g : Arabic Language
public static final boolean ENABLE_RTL_MODE = false;

//GDPR EU Consent
public static final boolean USE_LEGACY_GDPR_EU_CONSENT = true;

//push notification handle when open url
public static final boolean OPEN_NOTIFICATION_LINK_IN_EXTERNAL_BROWSER = true;

//social menu open url
public static final boolean OPEN_SOCIAL_MENU_IN_EXTERNAL_BROWSER = false;
PreviousChange ImagesNextAdmin Panel (Deprecated)

Last updated 3 years ago