package Ġcom . monster brain . slide and place view Ċ Ċ import Ġandroid . graphics . Bitmap Factory Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĊĊĠĠĠĠĠĠĠ Ġval Ġbitmap Ġ= ĠBitmap Factory . decode Resource ( resources , ĠR . drawable . mount ain ) ĊĠĠĠĠĠĠĠ Ġval Ġdrag Game View Ġ= ĠfindViewById < Drag And Place Game View >( R . id . drag Game View ) ĊĠĠĠĠĠĠĠ Ġdrag Game View . set Bitmap ( bitmap ) ĊĠĠĠ Ġ} Ċ }