# 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**

{% code title="Config.java" %}

```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;
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://your-single-radio.gitbook.io/docs/android-studio/layout-customization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
