@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    layout = getLayoutInflater().inflate(R.layout.tag_activity, null);
    setContentView(layout);
    tagList = (TagListView) findViewById(R.id.tag_list_view);
    tagCloud = (TagCloudView) findViewById(R.id.tag_cloud_view);
    Assert.assertTrue("Tag list not created.", tagList != null);
    Assert.assertTrue("Tag cloud not created.", tagCloud != null);
    tagList.setOnItemClickListener(this);
    tagList.setOnItemLongClickListener(this);
    tagList.setOnKeyListener(this);
    tagCloud.setOnTouchListener(this);

    status = (TextView) findViewById(R.id.status);

    ActionBar bar = getActionBar();
    bar.setTitle(R.string.tag_list_title);
    bar.setDisplayShowTitleEnabled(true);
    bar.setDisplayHomeAsUpEnabled(true);
  }