mirror of https://github.com/termux/termux-app
41 lines
1.9 KiB
XML
41 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<!--
|
|
https://material.io/develop/android/theming/dark
|
|
-->
|
|
|
|
<!-- TermuxActivity DayNight NoActionBar theme. -->
|
|
<!-- See https://developer.android.com/training/material/theme.html for how to customize the Material theme. -->
|
|
<!-- NOTE: Cannot use "Light." since it hides the terminal scrollbar on the default black background. -->
|
|
<style name="Theme.TermuxActivity.DayNight.NoActionBar" parent="Theme.TermuxApp.DayNight.NoActionBar">
|
|
<!-- Primary brand color. -->
|
|
<item name="colorPrimary">@color/black</item>
|
|
<item name="colorPrimaryVariant">@color/black</item>
|
|
|
|
<item name="android:windowBackground">@color/black</item>
|
|
|
|
<!-- Avoid action mode toolbar pushing down terminal content when
|
|
selecting text on pre-6.0 (non-floating toolbar). -->
|
|
<item name="android:windowActionModeOverlay">true</item>
|
|
|
|
<item name="android:windowTranslucentStatus">true</item>
|
|
<item name="android:windowTranslucentNavigation">true</item>
|
|
|
|
<!-- https://developer.android.com/training/tv/start/start.html#transition-color -->
|
|
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
|
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
|
|
|
<!-- Left drawer. -->
|
|
<item name="buttonBarButtonStyle">@style/TermuxActivity.Drawer.ButtonBarStyle.Dark</item>
|
|
<item name="termuxActivityDrawerBackground">@color/black</item>
|
|
<item name="termuxActivityDrawerImageTint">@color/white</item>
|
|
|
|
<!-- Extra keys colors. -->
|
|
<item name="extraKeysButtonTextColor">@color/white</item>
|
|
<item name="extraKeysButtonActiveTextColor">@color/red_400</item>
|
|
<item name="extraKeysButtonBackgroundColor">@color/black</item>
|
|
<item name="extraKeysButtonActiveBackgroundColor">@color/grey_500</item>
|
|
</style>
|
|
|
|
</resources>
|