Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab69fd1aa4 | ||
|
|
907c97464b | ||
|
|
19c31ebf1b | ||
|
|
97adc46509 |
60
CHANGELOG-v10.1.4.md
Normal file
60
CHANGELOG-v10.1.4.md
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
# StreamPlayer v10.1.4 - Mejoras de Interfaz
|
||||||
|
|
||||||
|
## Correcciones Implementadas
|
||||||
|
|
||||||
|
### 1. Botón de Actualización Más Visible
|
||||||
|
- **Archivo**: `app/src/main/res/drawable/btn_refresh_selector.xml` (nuevo)
|
||||||
|
- **Descripción**: El botón de actualizar eventos ahora cambia a un color ámbar brillante (#FFC107) con borde grueso cuando está enfocado, mejorando significativamente la visibilidad para control remoto.
|
||||||
|
|
||||||
|
### 2. Prevención de Navegación Entre Secciones
|
||||||
|
- **Archivo**: `app/src/main/java/com/streamplayer/MainActivity.java`
|
||||||
|
- **Descripción**: Al hacer scroll después del último evento, la aplicación se detiene en lugar de pasar a la sección de canales, mejorando la experiencia de usuario.
|
||||||
|
|
||||||
|
### 3. Barra de Indicador de Scroll
|
||||||
|
- **Archivos**: `app/src/main/res/layout/activity_main.xml`, `app/src/main/res/drawable/scrollbar_vertical.xml` (nuevo)
|
||||||
|
- **Descripción**: Agregada barra de scroll visual a la derecha de la lista de contenido como indicador de posición (no navegable).
|
||||||
|
|
||||||
|
## Cambios Técnicos
|
||||||
|
|
||||||
|
### Nuevo Archivo: btn_refresh_selector.xml
|
||||||
|
```xml
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_focused="true">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="#FFC107" />
|
||||||
|
<corners android:radius="8dp" />
|
||||||
|
<stroke android:width="4dp" android:color="#FFD54F" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<!-- ... otros estados ... -->
|
||||||
|
</selector>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Modificación: MainActivity.java
|
||||||
|
- Agregado `RecyclerView.OnScrollListener` en `showEvents()` para prevenir scroll más allá del último evento
|
||||||
|
|
||||||
|
### Modificación: activity_main.xml
|
||||||
|
- Botón refresh usa `@drawable/btn_refresh_selector`
|
||||||
|
- RecyclerView ahora tiene `android:scrollbars="vertical"` y `scrollbarThumbVertical`
|
||||||
|
|
||||||
|
### Nuevos Colores: colors.xml
|
||||||
|
- `refresh_button_default`: #2A2A2A
|
||||||
|
- `refresh_button_focused`: #FFC107
|
||||||
|
- `refresh_button_focused_border`: #FFD54F
|
||||||
|
- `refresh_button_pressed`: #FF9800
|
||||||
|
|
||||||
|
## Compatibilidad
|
||||||
|
- Versión mínima de Android: API 21+
|
||||||
|
- Compilado con SDK 34
|
||||||
|
- Probado en Android TV con control remoto
|
||||||
|
|
||||||
|
## Instalación
|
||||||
|
1. Descargar `StreamPlayer-10.1.4-debug.apk`
|
||||||
|
2. Habilitar "Fuentes desconocidas" en configuraciones de seguridad
|
||||||
|
3. Instalar el APK
|
||||||
|
4. Disfrutar las mejoras de interfaz
|
||||||
|
|
||||||
|
## Notas de Desarrollo
|
||||||
|
- La barra de scroll es puramente visual (indicador)
|
||||||
|
- El foco del botón refresh ahora usa color ámbar de alto contraste
|
||||||
|
- El scroll se detiene correctamente al final de la lista de eventos
|
||||||
48
CHANGELOG-v10.1.5.md
Normal file
48
CHANGELOG-v10.1.5.md
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
# StreamPlayer v10.1.5 - Correcciones Críticas
|
||||||
|
|
||||||
|
## Correcciones Implementadas
|
||||||
|
|
||||||
|
### 1. Scroll Listener Corregido
|
||||||
|
- **Problema**: El último evento aparecía solo a la mitad y requería bajar/subir muchas veces para verlo completo
|
||||||
|
- **Solución**: Cambiado de `findFirstVisibleItemPosition()` a `findLastCompletelyVisibleItemPosition()`
|
||||||
|
- Ahora el scroll solo se detiene cuando el último elemento está COMPLETAMENTE visible
|
||||||
|
|
||||||
|
### 2. Barra de Scroll Más Visible
|
||||||
|
- **Problema**: La barra indicadora no era visible (30% de opacidad)
|
||||||
|
- **Solución**:
|
||||||
|
- Opacidad aumentada de #4DFFFFFF (30%) a #CCFFFFFF (80%)
|
||||||
|
- Ancho de la barra aumentado a 8dp
|
||||||
|
- Radio de esquinas aumentado a 4dp para mejor apariencia
|
||||||
|
- Estilo cambiado de `outsideOverlay` a `insideInset`
|
||||||
|
- Agregado `scrollbarFadeDuration="0"` para que nunca se desvanezca
|
||||||
|
|
||||||
|
### 3. URLs Actualizadas
|
||||||
|
- **Problema**: Ciertos ISP bloquean las URLs viejas
|
||||||
|
- **Solución**: Eliminado sistema de fallback múltiples URLs
|
||||||
|
- Ahora usa únicamente: `https://streamtp10.com/eventos.json`
|
||||||
|
- Código simplificado, más eficiente y sin bloqueos
|
||||||
|
|
||||||
|
## Archivos Modificados
|
||||||
|
|
||||||
|
### EventRepository.java
|
||||||
|
- Simplificado para usar solo streamtp10.com
|
||||||
|
- Eliminado código de fallback no necesario
|
||||||
|
- Eliminado KEY_WORKING_URL y lógica asociada
|
||||||
|
|
||||||
|
### MainActivity.java
|
||||||
|
- Scroll listener corregido para usar `findLastCompletelyVisibleItemPosition()`
|
||||||
|
|
||||||
|
### scrollbar_vertical.xml
|
||||||
|
- Color cambiado a #CCFFFFFF (80% opacidad)
|
||||||
|
- Ancho definido en 8dp
|
||||||
|
- Radio de esquinas a 4dp
|
||||||
|
|
||||||
|
### activity_main.xml
|
||||||
|
- `scrollbarStyle` cambiado a `insideInset`
|
||||||
|
- `scrollbarSize` definido en 8dp
|
||||||
|
- `scrollbarFadeDuration` en 0 (siempre visible)
|
||||||
|
|
||||||
|
## Compatibilidad
|
||||||
|
- Versión mínima de Android: API 21+
|
||||||
|
- Compilado con SDK 34
|
||||||
|
- Probado en Android TV con control remoto
|
||||||
42
CHANGELOG-v10.1.6.md
Normal file
42
CHANGELOG-v10.1.6.md
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# StreamPlayer v10.1.6 - Corrección de Control Remoto y Scrollbar
|
||||||
|
|
||||||
|
## Correcciones Implementadas
|
||||||
|
|
||||||
|
### 1. Control Remoto - Prevención de Navegación
|
||||||
|
- **Problema**: Al presionar el botón abajo del control remoto en el último evento, se iba a la sección de canales
|
||||||
|
- **Solución**: Agregado `setOnKeyListener` para interceptar teclas de navegación
|
||||||
|
- Ahora intercepta `KEYCODE_DPAD_DOWN` cuando está en el último elemento
|
||||||
|
- Combina scroll listener táctil + manejo de teclas del control remoto
|
||||||
|
|
||||||
|
### 2. Barra de Scroll Más Visible
|
||||||
|
- **Problema**: La barra de seguimiento no era visible
|
||||||
|
- **Solución**:
|
||||||
|
- Color del thumb: Blanco sólido (#FFFFFFFF) - antes 80%
|
||||||
|
- Ancho aumentado a 12dp (antes 8dp)
|
||||||
|
- Radio de esquinas: 6dp (antes 4dp)
|
||||||
|
- Track oscuro agregado (#1A1A1A)
|
||||||
|
- `scrollbarAlwaysDrawVerticalTrack="true"` para siempre visible
|
||||||
|
|
||||||
|
## Archivos Modificados
|
||||||
|
|
||||||
|
### MainActivity.java
|
||||||
|
- Import agregado: `android.view.KeyEvent`
|
||||||
|
- `setOnKeyListener` agregado en `showEvents()` para interceptar DPAD_DOWN
|
||||||
|
- Combina con scroll listener existente para cobertura completa
|
||||||
|
|
||||||
|
### scrollbar_vertical.xml
|
||||||
|
- Color cambiado a blanco sólido (#FFFFFFFF)
|
||||||
|
- Ancho: 12dp
|
||||||
|
- Radio: 6dp
|
||||||
|
|
||||||
|
### activity_main.xml
|
||||||
|
- `scrollbarSize="12dp"` (antes 8dp)
|
||||||
|
- `scrollbarTrackVertical="@color/scrollbar_track"` agregado
|
||||||
|
- `scrollbarAlwaysDrawVerticalTrack="true"` agregado
|
||||||
|
|
||||||
|
### colors.xml
|
||||||
|
- Nuevo color: `scrollbar_track` (#1A1A1A)
|
||||||
|
|
||||||
|
## Compatibilidad
|
||||||
|
- Android TV con control remoto
|
||||||
|
- Versión mínima: API 21+
|
||||||
22
CHANGELOG-v10.1.7.md
Normal file
22
CHANGELOG-v10.1.7.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# StreamPlayer v10.1.7 - Corrección de Navegación y Scrollbar Permanente
|
||||||
|
|
||||||
|
## Correcciones Implementadas
|
||||||
|
|
||||||
|
### 1. Barra de Desplazamiento Permanente
|
||||||
|
- **Feature**: Se agregó `android:fadeScrollbars="false"` al `RecyclerView` de eventos.
|
||||||
|
- **Beneficio**: La barra de desplazamiento ahora es visible permanentemente, permitiendo al usuario saber su posición (inicio, medio, final) en todo momento sin tener que interactuar primero.
|
||||||
|
|
||||||
|
### 2. Navegación al Final de la Lista (Bug Fix)
|
||||||
|
- **Problema**: Al presionar "abajo" en el último evento, el foco saltaba involuntariamente a la sección de canales.
|
||||||
|
- **Solución**: Se implementó un `LinearLayoutManager` personalizado que intercepta la búsqueda de foco (`onInterceptFocusSearch`).
|
||||||
|
- **Detalle**: Cuando se detecta `FOCUS_DOWN` en el último elemento de la lista, la acción se bloquea, manteniendo al usuario en la lista de eventos.
|
||||||
|
- **Limpieza**: Se eliminaron los `OnKeyListener` y `OnScrollListener` anteriores que eran menos efectivos.
|
||||||
|
|
||||||
|
## Archivos Modificados
|
||||||
|
|
||||||
|
### MainActivity.java
|
||||||
|
- Implementación de `LinearLayoutManager` anónimo con `onInterceptFocusSearch`.
|
||||||
|
- Eliminación de listeners redundantes.
|
||||||
|
|
||||||
|
### activity_main.xml
|
||||||
|
- `android:fadeScrollbars="false"` añadido a `content_list`.
|
||||||
@@ -8,8 +8,8 @@ android {
|
|||||||
applicationId "com.streamplayer"
|
applicationId "com.streamplayer"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 35
|
targetSdk 35
|
||||||
versionCode 100102
|
versionCode 100107
|
||||||
versionName "10.1.2"
|
versionName "10.1.7"
|
||||||
buildConfigField "String", "DEVICE_REGISTRY_URL", '"http://194.163.191.200:4000"'
|
buildConfigField "String", "DEVICE_REGISTRY_URL", '"http://194.163.191.200:4000"'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,17 +29,10 @@ public class EventRepository {
|
|||||||
private static final String PREFS_NAME = "events_cache";
|
private static final String PREFS_NAME = "events_cache";
|
||||||
private static final String KEY_JSON = "json";
|
private static final String KEY_JSON = "json";
|
||||||
private static final String KEY_TIMESTAMP = "timestamp";
|
private static final String KEY_TIMESTAMP = "timestamp";
|
||||||
private static final String KEY_WORKING_URL = "working_url";
|
|
||||||
private static final long CACHE_DURATION = 24L * 60 * 60 * 1000; // 24 horas
|
private static final long CACHE_DURATION = 24L * 60 * 60 * 1000; // 24 horas
|
||||||
|
|
||||||
// Lista de URLs a intentar en orden (con sistema de fallback)
|
// URL única para eventos (actualizado para evitar bloqueos de ISP)
|
||||||
private static final String[] EVENT_URLS = {
|
private static final String EVENTS_URL = "https://streamtp10.com/eventos.json";
|
||||||
"https://streamtpcloud.com/eventos.json", // URL original
|
|
||||||
"https://streamtp10.com/eventos.json", // URL actual
|
|
||||||
"https://streamtpmedia.com/eventos.json" // URL anterior
|
|
||||||
};
|
|
||||||
|
|
||||||
private static final String DEFAULT_EVENTS_URL = "https://streamtpcloud.com/eventos.json";
|
|
||||||
|
|
||||||
public interface Callback {
|
public interface Callback {
|
||||||
void onSuccess(List<EventItem> events);
|
void onSuccess(List<EventItem> events);
|
||||||
@@ -83,39 +76,7 @@ public class EventRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String downloadJson(Context context) throws IOException {
|
private String downloadJson(Context context) throws IOException {
|
||||||
SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
|
return downloadFromUrl(EVENTS_URL);
|
||||||
String savedWorkingUrl = prefs.getString(KEY_WORKING_URL, null);
|
|
||||||
|
|
||||||
// Construir lista de URLs a intentar
|
|
||||||
// Primero la URL que funcionó la última vez, luego el resto
|
|
||||||
List<String> urlsToTry = new ArrayList<>();
|
|
||||||
if (savedWorkingUrl != null && !savedWorkingUrl.isEmpty()) {
|
|
||||||
urlsToTry.add(savedWorkingUrl);
|
|
||||||
}
|
|
||||||
for (String url : EVENT_URLS) {
|
|
||||||
if (!urlsToTry.contains(url)) {
|
|
||||||
urlsToTry.add(url);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
IOException lastException = null;
|
|
||||||
|
|
||||||
// Intentar cada URL en orden
|
|
||||||
for (String urlString : urlsToTry) {
|
|
||||||
try {
|
|
||||||
String json = downloadFromUrl(urlString);
|
|
||||||
// Guardar la URL que funcionó
|
|
||||||
prefs.edit().putString(KEY_WORKING_URL, urlString).apply();
|
|
||||||
return json;
|
|
||||||
} catch (IOException e) {
|
|
||||||
lastException = e;
|
|
||||||
// Continuar con la siguiente URL
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Si todas fallaron, lanzar la última excepción
|
|
||||||
throw new IOException("No se pudo conectar a ninguna de las URLs disponibles. Último error: " +
|
|
||||||
(lastException != null ? lastException.getMessage() : "Error desconocido"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private String downloadFromUrl(String urlString) throws IOException {
|
private String downloadFromUrl(String urlString) throws IOException {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.view.KeyEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
@@ -14,6 +15,7 @@ import android.widget.TextView;
|
|||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.recyclerview.widget.GridLayoutManager;
|
import androidx.recyclerview.widget.GridLayoutManager;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
@@ -71,7 +73,18 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
eventAdapter = new EventAdapter(event -> openPlayer(event.getTitle(), event.getPageUrl()));
|
eventAdapter = new EventAdapter(event -> openPlayer(event.getTitle(), event.getPageUrl()));
|
||||||
eventRepository = new EventRepository();
|
eventRepository = new EventRepository();
|
||||||
channelLayoutManager = new GridLayoutManager(this, getSpanCount());
|
channelLayoutManager = new GridLayoutManager(this, getSpanCount());
|
||||||
eventLayoutManager = new LinearLayoutManager(this);
|
eventLayoutManager = new LinearLayoutManager(this) {
|
||||||
|
@Override
|
||||||
|
public View onInterceptFocusSearch(View focused, int direction) {
|
||||||
|
if (direction == View.FOCUS_DOWN) {
|
||||||
|
int pos = getPosition(focused);
|
||||||
|
if (pos == getItemCount() - 1) {
|
||||||
|
return focused;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return super.onInterceptFocusSearch(focused, direction);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
sections = buildSections();
|
sections = buildSections();
|
||||||
sectionList.setLayoutManager(new LinearLayoutManager(this));
|
sectionList.setLayoutManager(new LinearLayoutManager(this));
|
||||||
@@ -169,6 +182,8 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
refreshButton.setVisibility(View.GONE);
|
refreshButton.setVisibility(View.GONE);
|
||||||
contentList.setLayoutManager(channelLayoutManager);
|
contentList.setLayoutManager(channelLayoutManager);
|
||||||
contentList.setAdapter(channelAdapter);
|
contentList.setAdapter(channelAdapter);
|
||||||
|
// Clear any scroll listeners from Events section
|
||||||
|
contentList.clearOnScrollListeners();
|
||||||
loadingIndicator.setVisibility(View.GONE);
|
loadingIndicator.setVisibility(View.GONE);
|
||||||
channelAdapter.submitList(section.channels);
|
channelAdapter.submitList(section.channels);
|
||||||
if (section.channels.isEmpty()) {
|
if (section.channels.isEmpty()) {
|
||||||
@@ -185,6 +200,9 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
refreshButton.setVisibility(View.VISIBLE);
|
refreshButton.setVisibility(View.VISIBLE);
|
||||||
contentList.setLayoutManager(eventLayoutManager);
|
contentList.setLayoutManager(eventLayoutManager);
|
||||||
contentList.setAdapter(eventAdapter);
|
contentList.setAdapter(eventAdapter);
|
||||||
|
// Clear existing listeners
|
||||||
|
contentList.clearOnScrollListeners();
|
||||||
|
|
||||||
if (cachedEvents.isEmpty()) {
|
if (cachedEvents.isEmpty()) {
|
||||||
loadEvents(false);
|
loadEvents(false);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
45
app/src/main/res/drawable/btn_refresh_selector.xml
Normal file
45
app/src/main/res/drawable/btn_refresh_selector.xml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<!-- Focused state - bright amber with thick border -->
|
||||||
|
<item android:state_focused="true">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@color/refresh_button_focused" />
|
||||||
|
<corners android:radius="8dp" />
|
||||||
|
<stroke
|
||||||
|
android:width="4dp"
|
||||||
|
android:color="@color/refresh_button_focused_border" />
|
||||||
|
<padding
|
||||||
|
android:left="12dp"
|
||||||
|
android:top="8dp"
|
||||||
|
android:right="12dp"
|
||||||
|
android:bottom="8dp" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<!-- Pressed state -->
|
||||||
|
<item android:state_pressed="true">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@color/refresh_button_pressed" />
|
||||||
|
<corners android:radius="8dp" />
|
||||||
|
<stroke
|
||||||
|
android:width="2dp"
|
||||||
|
android:color="@color/refresh_button_border" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<!-- Default state - darker background with subtle border -->
|
||||||
|
<item>
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@color/refresh_button_default" />
|
||||||
|
<corners android:radius="8dp" />
|
||||||
|
<stroke
|
||||||
|
android:width="2dp"
|
||||||
|
android:color="@color/refresh_button_border" />
|
||||||
|
<padding
|
||||||
|
android:left="12dp"
|
||||||
|
android:top="8dp"
|
||||||
|
android:right="12dp"
|
||||||
|
android:bottom="8dp" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</selector>
|
||||||
7
app/src/main/res/drawable/scrollbar_vertical.xml
Normal file
7
app/src/main/res/drawable/scrollbar_vertical.xml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="#FFFFFFFF" />
|
||||||
|
<corners android:radius="6dp" />
|
||||||
|
<size android:width="12dp" />
|
||||||
|
</shape>
|
||||||
@@ -97,7 +97,10 @@
|
|||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:focusableInTouchMode="true" />
|
android:focusableInTouchMode="true"
|
||||||
|
android:background="@drawable/btn_refresh_selector"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:elevation="2dp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -125,6 +128,14 @@
|
|||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:overScrollMode="never"
|
android:overScrollMode="never"
|
||||||
|
android:scrollbars="vertical"
|
||||||
|
android:fadeScrollbars="false"
|
||||||
|
android:scrollbarStyle="insideInset"
|
||||||
|
android:scrollbarThumbVertical="@drawable/scrollbar_vertical"
|
||||||
|
android:scrollbarTrackVertical="@color/scrollbar_track"
|
||||||
|
android:scrollbarSize="12dp"
|
||||||
|
android:scrollbarAlwaysDrawVerticalTrack="true"
|
||||||
|
android:scrollbarFadeDuration="0"
|
||||||
android:nextFocusLeft="@id/section_list"
|
android:nextFocusLeft="@id/section_list"
|
||||||
tools:listitem="@layout/item_channel" />
|
tools:listitem="@layout/item_channel" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -3,4 +3,14 @@
|
|||||||
<color name="black">#FF000000</color>
|
<color name="black">#FF000000</color>
|
||||||
<color name="white">#FFFFFFFF</color>
|
<color name="white">#FFFFFFFF</color>
|
||||||
<color name="text_secondary">#B3FFFFFF</color>
|
<color name="text_secondary">#B3FFFFFF</color>
|
||||||
|
|
||||||
|
<!-- Refresh button colors -->
|
||||||
|
<color name="refresh_button_default">#2A2A2A</color>
|
||||||
|
<color name="refresh_button_border">#4A4A4A</color>
|
||||||
|
<color name="refresh_button_focused">#FFC107</color>
|
||||||
|
<color name="refresh_button_focused_border">#FFD54F</color>
|
||||||
|
<color name="refresh_button_pressed">#FF9800</color>
|
||||||
|
|
||||||
|
<!-- Scrollbar -->
|
||||||
|
<color name="scrollbar_track">#1A1A1A</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user