Comparar commits
3 Commits
| Autor | SHA1 | Fecha | |
|---|---|---|---|
|
5792e3ef4f
|
|||
|
88ada02026
|
|||
|
921faccc67
|
35
.github/workflows/build-release-apk.yml
vendido
Archivo normal
35
.github/workflows/build-release-apk.yml
vendido
Archivo normal
@@ -0,0 +1,35 @@
|
||||
name: Build & Publish APK Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Make Gradle executable
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Debug APK
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
- name: Upload APK to Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: app/build/outputs/apk/debug/*.apk
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
@@ -144,8 +144,9 @@ private fun ImageViewer(
|
||||
}
|
||||
|
||||
/**
|
||||
* Video viewer component with Media3 ExoPlayer
|
||||
* Video viewer using ExoPlayer (Media3)
|
||||
*/
|
||||
@androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
|
||||
@Composable
|
||||
private fun VideoViewer(
|
||||
url: String,
|
||||
|
||||
@@ -1,28 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="512dp"
|
||||
android:height="512dp"
|
||||
android:viewportWidth="512"
|
||||
android:viewportHeight="512">
|
||||
|
||||
<!-- Background circle -->
|
||||
<circle cx="256" cy="256" r="240" fill="#2B90D9"/>
|
||||
<path
|
||||
android:fillColor="#2B90D9"
|
||||
android:pathData="M256,256m-240,0a240,240 0,1 1,480 0a240,240 0,1 1,-480 0"/>
|
||||
|
||||
<!-- Outer ring -->
|
||||
<circle cx="256" cy="256" r="240" fill="none" stroke="#1A6DA8" stroke-width="8"/>
|
||||
<path
|
||||
android:strokeColor="#1A6DA8"
|
||||
android:strokeWidth="8"
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M256,256m-240,0a240,240 0,1 1,480 0a240,240 0,1 1,-480 0"/>
|
||||
|
||||
<!-- Inner glow effect -->
|
||||
<circle cx="256" cy="256" r="220" fill="#3AA4E8" opacity="0.3"/>
|
||||
<path
|
||||
android:fillColor="#3AA4E8"
|
||||
android:fillAlpha="0.3"
|
||||
android:pathData="M256,256m-220,0a220,220 0,1 1,440 0a220,220 0,1 1,-440 0"/>
|
||||
|
||||
<!-- MyAP Text -->
|
||||
<text x="256" y="280"
|
||||
font-family="Arial, Helvetica, sans-serif"
|
||||
font-size="140"
|
||||
font-weight="bold"
|
||||
fill="#FFFFFF"
|
||||
text-anchor="middle">
|
||||
MyAP
|
||||
</text>
|
||||
<!-- Fediverse star symbol (centered) -->
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillAlpha="0.9"
|
||||
android:pathData="M 256,115 L 263,132 L 281,132 L 266,143 L 272,160 L 256,149 L 240,160 L 246,143 L 231,132 L 249,132 Z"/>
|
||||
</vector>
|
||||
|
||||
<!-- Small ActivityPub icon/symbol (fediverse star) -->
|
||||
<g transform="translate(256, 140)">
|
||||
<path d="M 0,-25 L 7,-8 L 25,-8 L 10,3 L 16,20 L 0,9 L -16,20 L -10,3 L -25,-8 L -7,-8 Z"
|
||||
fill="#FFFFFF"
|
||||
opacity="0.9"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Antes Anchura: | Altura: | Tamaño: 901 B Después Anchura: | Altura: | Tamaño: 1.0 KiB |
Referencia en una nueva incidencia
Block a user