|
|
@@ -260,85 +260,85 @@
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/notice_rl"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/item_height"
|
|
|
- android:background="@drawable/selector_me_menu_item_bg"
|
|
|
- android:descendantFocusability="blocksDescendants"
|
|
|
- android:minHeight="@dimen/item_height"
|
|
|
- android:paddingLeft="15dp"
|
|
|
- android:paddingRight="15dp">
|
|
|
- <!--android:background="@color/item_color1"-->
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/notice_head_area"
|
|
|
- android:layout_width="57dp"
|
|
|
- android:layout_height="64dp"
|
|
|
- android:layout_centerVertical="true">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/notice_avatar_img"
|
|
|
- android:layout_width="@dimen/item_img_height"
|
|
|
- android:layout_height="@dimen/item_img_width"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:background="@color/transparent"
|
|
|
- android:contentDescription="@string/app_name"
|
|
|
- android:padding="1dp"
|
|
|
- android:src="@drawable/home_image_03_u" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/notice_num_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="top|right"
|
|
|
- android:background="@drawable/tab_unread_bg"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@android:color/white"
|
|
|
- android:textSize="10.0dip"
|
|
|
- android:visibility="gone" />
|
|
|
- </FrameLayout>
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/notice_content"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginLeft="3dp"
|
|
|
- android:layout_toRightOf="@id/notice_head_area"
|
|
|
- android:gravity="center_vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/notice_name_tv"
|
|
|
- android:layout_width="fill_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_toLeftOf="@+id/notice_time_tv"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="新闻通知"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/notice_time_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/notice_content_tv"
|
|
|
- android:layout_width="fill_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/notice_name_tv"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:singleLine="true"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:textSize="14sp" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
+ <!--<RelativeLayout-->
|
|
|
+ <!--android:id="@+id/notice_rl"-->
|
|
|
+ <!--android:layout_width="match_parent"-->
|
|
|
+ <!--android:layout_height="@dimen/item_height"-->
|
|
|
+ <!--android:background="@drawable/selector_me_menu_item_bg"-->
|
|
|
+ <!--android:descendantFocusability="blocksDescendants"-->
|
|
|
+ <!--android:minHeight="@dimen/item_height"-->
|
|
|
+ <!--android:paddingLeft="15dp"-->
|
|
|
+ <!--android:paddingRight="15dp">-->
|
|
|
+ <!--<!–android:background="@color/item_color1"–>-->
|
|
|
+ <!--<FrameLayout-->
|
|
|
+ <!--android:id="@+id/notice_head_area"-->
|
|
|
+ <!--android:layout_width="57dp"-->
|
|
|
+ <!--android:layout_height="64dp"-->
|
|
|
+ <!--android:layout_centerVertical="true">-->
|
|
|
+
|
|
|
+ <!--<ImageView-->
|
|
|
+ <!--android:id="@+id/notice_avatar_img"-->
|
|
|
+ <!--android:layout_width="@dimen/item_img_height"-->
|
|
|
+ <!--android:layout_height="@dimen/item_img_width"-->
|
|
|
+ <!--android:layout_gravity="center_vertical"-->
|
|
|
+ <!--android:background="@color/transparent"-->
|
|
|
+ <!--android:contentDescription="@string/app_name"-->
|
|
|
+ <!--android:padding="1dp"-->
|
|
|
+ <!--android:src="@drawable/home_image_03_u" />-->
|
|
|
+
|
|
|
+ <!--<TextView-->
|
|
|
+ <!--android:id="@+id/notice_num_tv"-->
|
|
|
+ <!--android:layout_width="wrap_content"-->
|
|
|
+ <!--android:layout_height="wrap_content"-->
|
|
|
+ <!--android:layout_gravity="top|right"-->
|
|
|
+ <!--android:background="@drawable/tab_unread_bg"-->
|
|
|
+ <!--android:gravity="center"-->
|
|
|
+ <!--android:textColor="@android:color/white"-->
|
|
|
+ <!--android:textSize="10.0dip"-->
|
|
|
+ <!--android:visibility="gone" />-->
|
|
|
+ <!--</FrameLayout>-->
|
|
|
+
|
|
|
+ <!--<RelativeLayout-->
|
|
|
+ <!--android:id="@+id/notice_content"-->
|
|
|
+ <!--android:layout_width="match_parent"-->
|
|
|
+ <!--android:layout_height="match_parent"-->
|
|
|
+ <!--android:layout_centerVertical="true"-->
|
|
|
+ <!--android:layout_marginLeft="3dp"-->
|
|
|
+ <!--android:layout_toRightOf="@id/notice_head_area"-->
|
|
|
+ <!--android:gravity="center_vertical">-->
|
|
|
+
|
|
|
+ <!--<TextView-->
|
|
|
+ <!--android:id="@+id/notice_name_tv"-->
|
|
|
+ <!--android:layout_width="fill_parent"-->
|
|
|
+ <!--android:layout_height="wrap_content"-->
|
|
|
+ <!--android:layout_toLeftOf="@+id/notice_time_tv"-->
|
|
|
+ <!--android:ellipsize="end"-->
|
|
|
+ <!--android:singleLine="true"-->
|
|
|
+ <!--android:text="新闻通知"-->
|
|
|
+ <!--android:textColor="@color/text_main"-->
|
|
|
+ <!--android:textSize="16sp" />-->
|
|
|
+
|
|
|
+ <!--<TextView-->
|
|
|
+ <!--android:id="@+id/notice_time_tv"-->
|
|
|
+ <!--android:layout_width="wrap_content"-->
|
|
|
+ <!--android:layout_height="wrap_content"-->
|
|
|
+ <!--android:layout_alignParentRight="true"-->
|
|
|
+ <!--android:ellipsize="end"-->
|
|
|
+ <!--android:singleLine="true"-->
|
|
|
+ <!--android:textColor="@color/text_hine"-->
|
|
|
+ <!--android:textSize="14sp" />-->
|
|
|
+
|
|
|
+ <!--<TextView-->
|
|
|
+ <!--android:id="@+id/notice_content_tv"-->
|
|
|
+ <!--android:layout_width="fill_parent"-->
|
|
|
+ <!--android:layout_height="wrap_content"-->
|
|
|
+ <!--android:layout_below="@id/notice_name_tv"-->
|
|
|
+ <!--android:layout_marginTop="8dp"-->
|
|
|
+ <!--android:ellipsize="end"-->
|
|
|
+ <!--android:singleLine="true"-->
|
|
|
+ <!--android:textColor="@color/text_hine"-->
|
|
|
+ <!--android:textSize="14sp" />-->
|
|
|
+ <!--</RelativeLayout>-->
|
|
|
+
|
|
|
+ <!--</RelativeLayout>-->
|
|
|
</LinearLayout>
|