mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-18 18:42:07 +00:00
Daynight theme for media preview & overview activities.
This commit is contained in:
13
res/animator/appbar_elevation.xml
Normal file
13
res/animator/appbar_elevation.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- This seems to be the dirties and the only way to set AppBar's elevation property.
|
||||
God help Android and us all.
|
||||
https://stackoverflow.com/a/45703684/3802890 -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<objectAnimator
|
||||
android:duration="1"
|
||||
android:propertyName="elevation"
|
||||
android:valueTo="1dp"
|
||||
android:valueType="floatType" />
|
||||
</item>
|
||||
</selector>
|
Reference in New Issue
Block a user