am 537e9183: chage activity to handle layout change

* commit '537e9183b4adbc0dc4cd2330fa9b49c5517c6b0b':
  chage activity to handle layout change