diff options
| author | Lena <lena@omega> | 2026-01-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-06-24 22:14:50 +0300 |
| commit | eb0c8951196c637e44daf3c0617b131b997d5d2c (patch) | |
| tree | 2f83b6a41cee745467e53fc401942b82cea286ea /app/src/main/res/values/themes.xml | |
| download | scrcpy-android-eb0c8951196c637e44daf3c0617b131b997d5d2c.tar.gz | |
scrcpy-android: mirror an Android device over wireless ADB0.1
Native Java app for Android 12+ that mirrors another Android
device over wireless ADB, forwarding video, audio, touch input,
and clipboard. Bundles a pinned scrcpy-server.jar and the
vendored libadb-android stack. Supports h264/h265/av1 video and
raw/opus audio with in-app codec selection. No NDK, no Kotlin.
Includes JVM unit tests and a Docker-based emulator e2e rig.
Diffstat (limited to 'app/src/main/res/values/themes.xml')
| -rw-r--r-- | app/src/main/res/values/themes.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..3d702c6 --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Custom theme on the platform's built-in Material theme (ships with + Android, not a dependency). Setting the colour attributes makes the + framework auto-tint EditText focus, radio buttons, checkboxes, the + action bar, and the cursor. NoActionBar / Fullscreen inherit the + same colours via dotted-name inheritance. --> +<resources> + <style name="Theme.Scrcpy" parent="@android:style/Theme.Material"> + <item name="android:colorBackground">@color/bg</item> + <item name="android:windowBackground">@color/bg</item> + <item name="android:colorPrimary">@color/surface</item> + <item name="android:colorPrimaryDark">@color/bg</item> + <item name="android:colorAccent">@color/accent</item> + <item name="android:textColorPrimary">@color/on_surface</item> + <item name="android:textColorSecondary">@color/on_surface_muted</item> + <item name="android:textColorHint">@color/on_surface_muted</item> + <item name="android:statusBarColor">@color/bg</item> + <item name="android:navigationBarColor">@color/bg</item> + </style> + + <style name="Theme.Scrcpy.NoActionBar"> + <item name="android:windowActionBar">false</item> + <item name="android:windowNoTitle">true</item> + </style> + + <style name="Theme.Scrcpy.Fullscreen"> + <item name="android:windowActionBar">false</item> + <item name="android:windowNoTitle">true</item> + <item name="android:windowFullscreen">true</item> + <item name="android:windowBackground">@android:color/black</item> + </style> +</resources> |