Skip to content

Instantly share code, notes, and snippets.

ardour {
["type"] = "Session",
name = "Midi Keyswitch",
category = "MIDI Controls",
license = "MIT",
author = "Mostly Ardour devs",
description = [[Switch preset on key]]
}
function factory ()
@paulfd
paulfd / view.xml
Last active July 7, 2022 14:55
Round Android buttons with Cardview
<androidx.cardview.widget.CardView
android:id="@+id/btnClear"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_marginEnd="16dp"
android:background="@drawable/ic_baseline_save_alt_24"
android:clickable="true"
android:contentDescription="@string/main_button_text"
android:foreground="?android:attr/selectableItemBackground"
app:cardBackgroundColor="?colorPrimary"