aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/drawable/password_row_background.xml
blob: 4e5e439e4059bd9e4f44034f68bc6947eac82fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
  ~ SPDX-License-Identifier: GPL-3.0-only
  -->

<!--
Requires a layer-list since attributes cannot be resolved in selectors, see:
https://stackoverflow.com/a/36424426/297261
 -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
  <item>
    <selector>
      <item
        android:drawable="@color/list_multiselect_background"
        android:state_selected="true" />
      <item android:drawable="@android:color/transparent" />
    </selector>
  </item>
  <item android:drawable="?android:attr/selectableItemBackground" />
</layer-list>