package Ġy 2 k . android . common Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . graphics . drawable . Drawable Ċ Ċ fun ĠContext . get Drawable By Attr ( selectable Item Background : ĠInt ): ĠDrawable ? Ġ{ ĊĠĠĠ Ġval Ġta Ġ= Ġobtain Styled Attributes ( int ArrayOf ( selectable Item Background )) ĊĠĠĠ Ġval Ġdrawable From Theme Ġ= Ġta . get Drawable ( 0 ) ĊĠĠĠ Ġta . recycle () ĊĠĠĠ Ġreturn Ġdrawable From Theme Ċ } Ċ