1、主播中心回复原样子,不修改
2、消息中心增加返回键
This commit is contained in:
@@ -71,7 +71,7 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder {
|
||||
private String type = null;
|
||||
private List<ImUserBean> listUserBean = new ArrayList<>();
|
||||
private LinearLayout topLayout, ltNodataMsg;
|
||||
private ImageView imgNewsNotice, imgNewsInteraction, imgNewsOnline, imgSystemMessages;
|
||||
private ImageView imgNewsNotice, imgNewsInteraction, imgNewsOnline, imgSystemMessages,btn_back;
|
||||
private Handler netHandler;
|
||||
private Activity mContext;
|
||||
|
||||
@@ -119,6 +119,7 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder {
|
||||
imgNewsInteraction = (ImageView) findViewById(R.id.img_news_interaction);
|
||||
imgSystemMessages = (ImageView) findViewById(R.id.img_system_messages);
|
||||
imgNewsOnline = (ImageView) findViewById(R.id.img_news_online);
|
||||
btn_back = (ImageView) findViewById(R.id.btn_back);
|
||||
netHandler = new Handler();
|
||||
|
||||
}
|
||||
|
||||
@@ -9,11 +9,22 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_back"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:onClick="backClick"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:padding="9dp"
|
||||
android:src="@mipmap/icon_back"
|
||||
android:tint="@color/textColor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/top_noback"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="18dp"
|
||||
android:layout_marginStart="50dp"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:text="@string/message"
|
||||
android:textColor="#ff161616"
|
||||
android:textSize="24sp"
|
||||
|
||||
Reference in New Issue
Block a user