|
|
|
|
@ -6,56 +6,50 @@ |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/toolbar" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:animateLayoutChanges="true" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:paddingStart="24dp" |
|
|
|
|
android:paddingTop="24dp" |
|
|
|
|
android:paddingEnd="24dp" |
|
|
|
|
android:paddingBottom="8dp"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:animateLayoutChanges="true" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/logo" |
|
|
|
|
android:layout_width="32dp" |
|
|
|
|
android:layout_height="32dp" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:src="@drawable/ic_logo" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/logo" |
|
|
|
|
android:layout_width="32dp" |
|
|
|
|
android:layout_height="32dp" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
tools:src="@drawable/ic_logo" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<com.fongmi.android.tv.ui.custom.CustomTitleView |
|
|
|
|
android:id="@+id/site" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="center|start" |
|
|
|
|
android:ellipsize="marquee" |
|
|
|
|
android:focusable="false" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/app_name" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="24sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
<com.fongmi.android.tv.ui.custom.CustomTitleView |
|
|
|
|
android:id="@+id/site" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="12dp" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:ellipsize="marquee" |
|
|
|
|
android:focusable="false" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:text="@string/app_name" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="24sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/clock" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="24sp" |
|
|
|
|
tools:text="07/25 09:20:00" /> |
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<com.fongmi.android.tv.ui.custom.ProgressLayout |
|
|
|
|
android:id="@+id/progressLayout" |
|
|
|
|
|