Changed fragments so that they can be used in Xml. Made demo 2-pane activity working

Bug: 2579760

Change-Id: I1d499643efd5911aa1387bfdd97b7b973c4a929a
10 files changed