mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
c8ef21774d
The theme from the manifest is used for the startup animation. Previously light background with a dark actionbar and the green icon was displayed during the startup animation, then the theme switched to whatever is configured in settings. Now a black background without actionbar is used for the startup animation. This was chosen because a black "flash" when using the light theme is visually less distracting than a white flash when using the dark theme.
98 lines
4.2 KiB
XML
98 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
<style name="NoAnimation.Theme.BlackScreen" parent="@style/Theme.Sherlock.NoActionBar">
|
|
<item name="android:windowAnimationStyle">@null</item>
|
|
<item name="android:windowBackground">@android:color/black</item>
|
|
</style>
|
|
|
|
<style name="NoAnimation.Theme.Sherlock.Light.DarkActionBar" parent="@style/Theme.Sherlock.Light.DarkActionBar">
|
|
<item name="android:windowAnimationStyle">@null</item>
|
|
</style>
|
|
|
|
<style name="transparent_progress">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowTitleStyle">@null</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
|
|
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
<item name="android:background">@android:color/transparent</item>
|
|
</style>
|
|
|
|
|
|
<style name="NotificationText">
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
<style name="NotificationTitle">
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="Registration.Description" parent="@android:style/TextAppearance">
|
|
<item name="android:textSize">16.0sp</item>
|
|
<item name="android:typeface">sans</item>
|
|
<item name="android:textStyle">normal</item>
|
|
<item name="android:textColor">#ff333333</item>
|
|
<item name="android:gravity">left</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:shadowColor">#ffffff</item>
|
|
<item name="android:shadowDx">1.0</item>
|
|
<item name="android:shadowDy">1.0</item>
|
|
<item name="android:shadowRadius">0.0</item>
|
|
<item name="android:lineSpacingMultiplier">1.25</item>
|
|
</style>
|
|
|
|
<style name="Registration.Label" parent="@android:style/TextAppearance">
|
|
<item name="android:textSize">12.0sp</item>
|
|
<item name="android:typeface">sans</item>
|
|
<item name="android:textStyle">normal</item>
|
|
<item name="android:textColor">#ff808080</item>
|
|
<item name="android:gravity">left</item>
|
|
<item name="android:layout_gravity">left</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:shadowColor">#ffffff</item>
|
|
<item name="android:shadowDx">1.0</item>
|
|
<item name="android:shadowDy">1.0</item>
|
|
<item name="android:shadowRadius">0.0</item>
|
|
<item name="android:lineSpacingMultiplier">1.25</item>
|
|
</style>
|
|
|
|
<style name="Registration.BigLabel" parent="@style/Registration.Label">
|
|
<item name="android:textSize">20sp</item>
|
|
</style>
|
|
|
|
<style name="Registration.Constant" parent="@android:style/TextAppearance">
|
|
<item name="android:typeface">sans</item>
|
|
<item name="android:textStyle">normal</item>
|
|
<item name="android:textColor">#ff808080</item>
|
|
<item name="android:shadowColor">#ffffff</item>
|
|
<item name="android:shadowDx">1.0</item>
|
|
<item name="android:shadowDy">1.0</item>
|
|
<item name="android:shadowRadius">0.0</item>
|
|
<item name="android:lineSpacingMultiplier">1.25</item>
|
|
</style>
|
|
|
|
<!-- For Holo Light Dialog Activity Styling Emulation -->
|
|
<style name="TextSecureDialogWindowTitle">
|
|
<item name="android:textSize">22sp</item>
|
|
<item name="android:textColor">@color/textsecure_holo_blue_light</item>
|
|
</style>
|
|
|
|
<style name="TextSecureDialogButtonBar"
|
|
tools:ignore="NewApi">
|
|
<item name="android:background">@null</item>
|
|
<item name="android:dividerPadding">0dp</item>
|
|
</style>
|
|
|
|
<style name="TextSecureBorderlessButtonSmall">
|
|
<item name="android:textSize">14sp</item>
|
|
</style>
|
|
|
|
<style name="Widget.ProgressBar.Horizontal" parent="@android:style/Widget.ProgressBar.Horizontal">
|
|
</style>
|
|
|
|
</resources>
|