Fixed getLayout in CustomAdapter