Remove wrong class cast - In landscape mode, calendar is crashed. addRule() return void type, so "as RelativeLayout.LayoutParams" is crashed. Change-Id: I21d3129aeeb32b877c0b11591f6517b596303275