|
|
@@ -0,0 +1,72 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="@dimen/content_padding_10"
|
|
|
+ android:paddingBottom="@dimen/content_padding_10"
|
|
|
+ android:layout_margin="@dimen/content_padding_10">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/notice_currenttime_iv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:minHeight="55dp"
|
|
|
+ android:minWidth="55dp"
|
|
|
+ android:src="@mipmap/homepage_mianyangtt"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/homepage_notice_layout"
|
|
|
+ android:layout_toRightOf="@+id/notice_currenttime_iv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="【公告】"/>
|
|
|
+ <com.sunfusheng.marqueeview.MarqueeView
|
|
|
+ android:id="@+id/homepage_item_notice_mv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="@dimen/content_padding_10"
|
|
|
+ android:paddingEnd="@dimen/content_padding_10"
|
|
|
+ android:minHeight="30dp"
|
|
|
+ app:mvAnimDuration="1000"
|
|
|
+ app:mvDirection="bottom_to_top"
|
|
|
+ app:mvInterval="3000"
|
|
|
+ app:mvTextColor="@color/white"
|
|
|
+ app:mvTextSize="14sp"
|
|
|
+ app:mvSingleLine="true" />
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_below="@+id/homepage_notice_layout"
|
|
|
+ android:layout_toRightOf="@+id/notice_currenttime_iv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="【动态】"/>
|
|
|
+ <com.sunfusheng.marqueeview.MarqueeView
|
|
|
+ android:id="@+id/upview1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="@dimen/content_padding_10"
|
|
|
+ android:paddingEnd="@dimen/content_padding_10"
|
|
|
+ android:minHeight="30dp"
|
|
|
+ app:mvAnimDuration="1000"
|
|
|
+ app:mvDirection="bottom_to_top"
|
|
|
+ app:mvInterval="3000"
|
|
|
+ app:mvTextColor="@color/white"
|
|
|
+ app:mvTextSize="14sp"
|
|
|
+ app:mvSingleLine="true" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</RelativeLayout>
|