<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="TextSecure.LightTheme" parent="TextSecure.BaseLightTheme">
        <item name="android:statusBarColor">@color/core_grey_60</item>
    </style>

    <style name="TextSecure.DarkTheme" parent="@style/TextSecure.BaseDarkTheme">
        <item name="android:statusBarColor">@color/signal_colorBackground</item>
        <item name="android:navigationBarColor">@color/signal_colorBackground</item>
    </style>

    <style name="TextSecure.DarkNoActionBar" parent="@style/TextSecure.BaseDarkNoActionBar">
        <item name="android:statusBarColor">@color/signal_colorBackground</item>
        <item name="android:navigationBarColor">@color/signal_colorBackground</item>
        <item name="android:colorControlActivated">@color/core_ultramarine_light</item>
    </style>

    <style name="TextSecure.DarkNoActionBar.StoryViewer">
        <item name="android:windowBackground">@color/signal_colorSurface</item>
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/change_transform</item>
        <item name="android:windowSharedElementExitTransition">@transition/change_transform</item>
    </style>

    <style name="TextSecure.LightNoActionBar" parent="TextSecure.BaseLightNoActionBar">
        <item name="android:statusBarColor">@color/core_grey_60</item>
    </style>

    <style name="TextSecure.FullScreenMedia" parent="TextSecure.DarkNoActionBar">
        <item name="android:windowFullscreen">true</item>
    </style>

    <style name="TextSecure.LightRegistrationTheme" parent="TextSecure.LightNoActionBar">
        <item name="android:statusBarColor">@color/core_grey_60</item>
        <item name="android:navigationBarColor">@color/core_black</item>
    </style>

    <style name="TextSecure.DarkRegistrationTheme" parent="TextSecure.DarkNoActionBar">
        <item name="android:statusBarColor">@color/signal_colorBackground</item>
        <item name="android:navigationBarColor">@color/core_black</item>
    </style>

    <style name="TextSecure.MediaPreview" parent="@style/TextSecure.BaseMediaPreview">
        <item name="android:navigationBarColor">@color/media_preview_bar_background</item>
    </style>

    <style name="Theme.Signal.Light.BottomSheetDialog" parent="Theme.Material3.Light.BottomSheetDialog">
        <item name="android:navigationBarColor">@color/signal_colorSurface1</item>
    </style>

    <style name="Theme.Signal.BottomSheetDialog" parent="Theme.Material3.Dark.BottomSheetDialog">
        <item name="android:navigationBarColor">@color/signal_colorSurface1</item>
    </style>

    <style name="Theme.Signal.Light.BottomSheetDialog.Fixed">
        <item name="android:windowIsFloating">false</item>
        <item name="android:statusBarColor">@color/transparent</item>
    </style>

    <style name="Theme.Signal.BottomSheetDialog.Fixed">
        <item name="android:windowIsFloating">false</item>
        <item name="android:statusBarColor">@color/signal_colorBackground</item>
        <item name="android:navigationBarColor">@color/transparent</item>
    </style>

    <style name="TextSecure.LightNoActionBar.ConversationSettings" parent="TextSecure.LightNoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/transparent_black_20</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/transparent_window_wipe_transition</item>
        <item name="android:windowAnimationStyle">@style/Signal.ConversationSettings.WindowAnimation</item>
    </style>

    <style name="TextSecure.DarkNoActionBar.ConversationSettings" parent="TextSecure.DarkNoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/transparent_black_20</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowSharedElementEnterTransition">@transition/transparent_window_wipe_transition</item>
        <item name="android:windowAnimationStyle">@style/Signal.ConversationSettings.WindowAnimation</item>
    </style>

    <style name="Signal.ConversationSettings.WindowAnimation" parent="android:style/Animation" >
    </style>

    <!-- For some reason, using fully transparent causes issues with the nav bar height calculation. Using *almost* transparent prevents this. -->
    <style name="TextSecure.LightNoActionBar.TransparentNavigationBar">
        <item name="android:windowTranslucentNavigation">true</item>
    </style>

    <style name="TextSecure.DarkNoActionBar.TransparentNavigationBar">
        <item name="android:windowTranslucentNavigation">true</item>
    </style>
</resources>
