1、主播中心回复原样子,不修改
2、消息中心增加返回键
This commit is contained in:
parent
d181e0e743
commit
bfb172c1e8
@ -11,6 +11,7 @@ import android.os.Build;
|
|||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.provider.MediaStore;
|
import android.provider.MediaStore;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
@ -94,14 +95,6 @@ public class WebViewActivity extends AbsActivity {
|
|||||||
// getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
// getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void backClick(View v) {
|
|
||||||
if (mWebView.canGoBack()){
|
|
||||||
mWebView.goBack();
|
|
||||||
}else {
|
|
||||||
finish();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void main() {
|
protected void main() {
|
||||||
|
@ -71,7 +71,7 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder {
|
|||||||
private String type = null;
|
private String type = null;
|
||||||
private List<ImUserBean> listUserBean = new ArrayList<>();
|
private List<ImUserBean> listUserBean = new ArrayList<>();
|
||||||
private LinearLayout topLayout, ltNodataMsg;
|
private LinearLayout topLayout, ltNodataMsg;
|
||||||
private ImageView imgNewsNotice, imgNewsInteraction, imgNewsOnline, imgSystemMessages;
|
private ImageView imgNewsNotice, imgNewsInteraction, imgNewsOnline, imgSystemMessages,btn_back;
|
||||||
private Handler netHandler;
|
private Handler netHandler;
|
||||||
private Activity mContext;
|
private Activity mContext;
|
||||||
|
|
||||||
@ -119,6 +119,7 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder {
|
|||||||
imgNewsInteraction = (ImageView) findViewById(R.id.img_news_interaction);
|
imgNewsInteraction = (ImageView) findViewById(R.id.img_news_interaction);
|
||||||
imgSystemMessages = (ImageView) findViewById(R.id.img_system_messages);
|
imgSystemMessages = (ImageView) findViewById(R.id.img_system_messages);
|
||||||
imgNewsOnline = (ImageView) findViewById(R.id.img_news_online);
|
imgNewsOnline = (ImageView) findViewById(R.id.img_news_online);
|
||||||
|
btn_back = (ImageView) findViewById(R.id.btn_back);
|
||||||
netHandler = new Handler();
|
netHandler = new Handler();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -9,11 +9,22 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
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
|
<TextView
|
||||||
android:id="@+id/top_noback"
|
android:id="@+id/top_noback"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="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:text="@string/message"
|
||||||
android:textColor="#ff161616"
|
android:textColor="#ff161616"
|
||||||
android:textSize="24sp"
|
android:textSize="24sp"
|
||||||
|
Loading…
Reference in New Issue
Block a user