Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
termux
GitHub Repository: termux/termux-app
Path: blob/master/app/src/main/res/values-night/themes.xml
1637 views
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
<!--
4
https://material.io/develop/android/theming/dark
5
-->
6
7
<!-- TermuxActivity DayNight NoActionBar theme. -->
8
<!-- See https://developer.android.com/training/material/theme.html for how to customize the Material theme. -->
9
<!-- NOTE: Cannot use "Light." since it hides the terminal scrollbar on the default black background. -->
10
<style name="Theme.TermuxActivity.DayNight.NoActionBar" parent="Theme.TermuxApp.DayNight.NoActionBar">
11
<!-- Primary brand color. -->
12
<item name="colorPrimary">@color/black</item>
13
<item name="colorPrimaryVariant">@color/black</item>
14
15
<item name="android:windowBackground">@color/black</item>
16
17
<!-- Avoid action mode toolbar pushing down terminal content when
18
selecting text on pre-6.0 (non-floating toolbar). -->
19
<item name="android:windowActionModeOverlay">true</item>
20
21
<item name="android:windowTranslucentStatus">true</item>
22
<item name="android:windowTranslucentNavigation">true</item>
23
24
<!-- https://developer.android.com/training/tv/start/start.html#transition-color -->
25
<item name="android:windowAllowReturnTransitionOverlap">true</item>
26
<item name="android:windowAllowEnterTransitionOverlap">true</item>
27
28
<!-- Left drawer. -->
29
<item name="buttonBarButtonStyle">@style/TermuxActivity.Drawer.ButtonBarStyle.Dark</item>
30
<item name="termuxActivityDrawerBackground">@color/black</item>
31
<item name="termuxActivityDrawerImageTint">@color/white</item>
32
33
<!-- Extra keys colors. -->
34
<item name="extraKeysButtonTextColor">@color/white</item>
35
<item name="extraKeysButtonActiveTextColor">@color/red_400</item>
36
<item name="extraKeysButtonBackgroundColor">@color/black</item>
37
<item name="extraKeysButtonActiveBackgroundColor">@color/grey_500</item>
38
</style>
39
40
</resources>
41
42