<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center_vertical"
    android:layout_marginTop="-10dp"
    android:paddingLeft="2dp"
    android:paddingRight="2dp"
    android:paddingBottom="4dp"
    android:orientation="vertical"
    android:tag="title">

    <LinearLayout
        android:id="@+id/first_title_line"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_marginTop="2dp"
        android:orientation="horizontal"
        android:tag="title">

        <TextView
            android:id="@+id/white_clock"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:ellipsize="marquee"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="left"
            android:marqueeRepeatLimit="marquee_forever"
            android:scrollHorizontally="false"
            android:singleLine="true"
            android:textSize="14sp"
            android:tag="title" />

        <TextView
            android:id="@+id/title_text"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center"
            android:textSize="14sp"
            android:tag="title"
            android:ellipsize="middle"
            android:text="@string/app_name" />

        <TextView
            android:id="@+id/black_clock"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:ellipsize="marquee"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="right"
            android:marqueeRepeatLimit="marquee_forever"
            android:scrollHorizontally="true"
            android:singleLine="true"
            android:textSize="14sp"
            android:tag="title" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/second_title_line"
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_marginBottom="-4dp"
        android:tag="title">

        <TextView
            android:id="@+id/white_pieces"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:ellipsize="marquee"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="center|center_vertical"
            android:marqueeRepeatLimit="marquee_forever"
            android:singleLine="true"
            android:tag="title"
            android:textSize="14sp"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/title_text_summary"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="center|center_vertical"
            android:tag="title"
            android:textSize="14sp"
            android:text="" />

        <TextView
            android:id="@+id/black_pieces"
            style="?android:attr/windowTitleStyle"
            android:layout_width="fill_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:ellipsize="marquee"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="center|center_vertical"
            android:marqueeRepeatLimit="marquee_forever"
            android:scrollHorizontally="true"
            android:singleLine="true"
            android:tag="title"
            android:textSize="14sp"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textStyle="bold" />
    </LinearLayout>
</LinearLayout>
