mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
7a7dba66ad
On platforms (API >= 11) that support receiving click events within a notification, we change the notification format so that users can "lock" TextSecure with a click. For all platforms, we change the notification icon in the status bar from a "lock" to an "unlock," to better reflect the situation. This is all part of the master plan for eliminating the passphrase timeout option.
26 lines
1006 B
XML
26 lines
1006 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<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>
|
|
|
|
</resources>
|