summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/secondary_action.xml
blob: 73ca174a6de1f25f2a32070b8f50e104b26af011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:tools="http://schemas.android.com/tools"
             android:layout_width="48dp"
             android:layout_height="48dp"
             android:layout_marginRight="12dp"
             android:layout_marginEnd="12dp"
             android:id="@+id/secondaryActionButton"
             android:background="?selectableItemBackgroundBorderless"
             android:clickable="true"
             android:focusable="false"
             android:focusableInTouchMode="false" >

    <ImageView
            android:id="@+id/secondaryActionIcon"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:layout_gravity="center"
            tools:ignore="ContentDescription"
            tools:src="@sample/secondaryaction"/>

    <de.danoeh.antennapod.view.CircularProgressBar
            android:id="@+id/secondaryActionProgress"
            android:layout_width="40dp"
            android:layout_gravity="center"
            android:layout_height="40dp"/>
</FrameLayout>