package Ġapp . j uk y . squ ircle view . utils Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . graphics . drawable . Drawable Ċ import Ġandroid . util . Typed Value Ċ import Ġandroidx . core . content . Context Compat Ċ import Ġapp . j uk y . squ ircle view . R Ċ Ċ fun ĠContext . getDefault R ipple Drawable (): ĠDrawable ? Ġ{ ĊĠĠĠ Ġval Ġri pple Ġ= ĠTyped Value (). also Ġ{ Ġthis . theme . resolve Attribute ( android . R . attr . selectable Item Background , Ġit , Ġtrue ) Ġ}. resourceId ĊĠĠĠ Ġreturn ĠContext Compat . get Drawable ( this , Ġri pple ) Ċ } Ċ Ċ fun ĠContext . get Transparent R ipple Drawable (): ĠDrawable ? Ġ= ĠContext Compat . get Drawable ( this , ĠR . drawable . transparent _ foreground )