mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
13 lines
497 B
XML
13 lines
497 B
XML
|
<?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>
|