怎么uc浏览器去掉头条uc的你还搜过那一栏

人人网 - 抱歉
哦,抱歉,好像看不到了
现在你可以:
看看其它好友写了什么
北京千橡网景科技发展有限公司:
文网文[号··京公网安备号·甲测资字
文化部监督电子邮箱:wlwh@··
文明办网文明上网举报电话: 举报邮箱:&&&&&&&&&&&&UC的通知栏新闻推送哪里关闭?
本帖最后由 zijin 于 日 20:54 编辑
消息通知明明已经全部关闭,可是2个手机总是经常收到UC的消息推送骚扰,烦死了,真想杀了UC!我不需要你的推送,UC你知道吗?你能不能不作贱?
(477.5 KB, 下载次数: 6)
日 20:54 上传
该帖共收到 7 条回复!
发表于 日 21:04
这个是uc常驻后台造成的,只能用其他的方法处理。
发表于 日 21:04
来自GT I9260
我就关闭了系统通知提示,uc从没有发消息给我咯
发表于 日 21:13
我就关闭了系统通知提示,uc从没有发消息给我咯
可是我常常收到,两个手机都是,火大。
发表于 日 21:27
居然没有官方人员回复
发表于 日 21:36
发表于 日 23:33
来自Samsung N7508V
zijin 发表于 日 21:36
我是在系统的应用管理器里面关闭的
发表于 日 08:28
来自 NX503A Build
goele 发表于 日 23:33
我是在系统的应用管理器里面关闭的1026人阅读
android(20)
ScrollView 嵌套 地址栏 和 WebView
手指滑屏向下滚动(网页向上),如果网页有滚动条,首先把 地址栏 滚动到消失,然后 WebView 才开始滚动;
手指滑屏向上滚动(网页向下),如果地址栏隐藏,那么 地址栏 首先慢慢显示,然后 WebView 才开始滚动。
根据 View 的 onInterceptTouchEvent 和 onTouchEvent 原理。把 ScrollView 设置为 WebView 的一个变量,在 WebView的 onInterceptTouchEvent 方法里检测到 MotionEvent.ACTION_DOWN 事件后中断事件,在 WebView 的 onTouchEvent 事件中根据具体情况决定是把 MotionEvent.ACTION_MOVE 事件传送给 ScrollView 还是留给自己
由于MotionEvent.ACTION_MOVE 事件传送给 ScrollView 后无法在一次 Touch 事件中再接收,所以会导致如果有地址栏,向下滑动第一次只能滑动到 ScrollView 消失
Hack网页,加入JS脚本,前行让网页顶部空出来一段空白,空白处覆盖地址栏
优点是WebView大小不变化,容易控制
缺点是比较复杂要处理各种网页元素,各种 position 情况,实现复杂,效率低
由手势接管所有触发操作,再由它分发给需要滚动的控件
SrollView下面包含节点地址栏,WebView控件
&?xml version="1.0" encoding="utf-8"?&
android:id="@+id/root"
xmlns:android="/apk/res/android"
xmlns:tools="/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity"&
android:id="@+id/scrollView"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="match_parent"&
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"&
android:id="@+id/toolBar"
android:background="#5ff0"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"&
android:id="@+id/urlEdit"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"/&
android:id="@+id/goButton"
android:text="Go"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/&
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="100dp" /&
ScrollView继承自 ScrollView
onTouchEvent 中阻止 MotionEvent.ACTION_MOVE 事件
public class MyScrollView extends ScrollView {
public MyScrollView(Context context) {
super(context);
public MyScrollView(Context context, AttributeSet attrs) {
super(context, attrs);
public MyScrollView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public MyScrollView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
public boolean onTouchEvent(MotionEvent ev) {
if(ev.getAction() == MotionEvent.ACTION_MOVE) {
return true;
return super.onTouchEvent(ev);
MyWebView继承自 WebView
onTouchEvent 中阻止 MotionEvent.ACTION_MOVE 事件
onDrawListner
计算竖直滚动范围
public class MyWebView extends WebView {
public interface MyWebViewListener {
void afterDraw(WebView webView);
private MyWebViewListener mL
private int mMoveCheckedC
public MyWebView(Context context) {
super(context);
public MyWebView(Context context, AttributeSet attrs) {
super(context, attrs);
public MyWebView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public MyWebView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
public MyWebView(Context context, AttributeSet attrs, int defStyleAttr, boolean privateBrowsing) {
super(context, attrs, defStyleAttr, privateBrowsing);
public void setListener(MyWebViewListener listener) {
mListener =
public boolean onTouchEvent(MotionEvent event) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
mMoveCheckedCnt = 0;
flingScroll(0, 0);
case MotionEvent.ACTION_MOVE:
mMoveCheckedCnt++;
return false;
case MotionEvent.ACTION_UP:
if(mMoveCheckedCnt &= 2) {
event.setAction(MotionEvent.ACTION_CANCEL);
mMoveCheckedCnt = 0;
return super.onTouchEvent(event);
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
MyWebViewListener listener = mL
if(listener != null) {
listener.afterDraw(this);
public int getVScrollRange() {
int v = computeVerticalScrollRange() - computeVerticalScrollExtent();
if(v & 0) {
GlobalLayoutListener 获取地址栏和滚动视图高度
GestureDetector 逻辑分发 - 决定是滑动webview还是改变webview高度从而改变ScrollView滚动范围(ScrollView总是滚动到最底)
WebView 重画之后检测当前地址栏偏移
public class MainActivity extends AppCompatActivity implements MyWebView.MyWebViewListener {
MyWebView mWebV
GestureDetector mGesture = null;
View mToolB
int mToolBarH
MyScrollView mScrollV
int mScrollViewH
int mScrollO
EditText mUrlE
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mWebView = (MyWebView) findViewById(R.id.webView);
mWebView.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view, String url) {
return false;
mWebView.setListener(this);
mWebView.loadUrl("");
mUrlEdit = (EditText) findViewById(R.id.urlEdit);
findViewById(R.id.goButton).setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
String url = mUrlEdit.getText().toString();
if (!url.startsWith("http://") && !url.startsWith("https://")) {
url = "http://" +
mWebView.loadUrl(url);
mToolBar = findViewById(R.id.toolBar);
mScrollView = (MyScrollView)findViewById(R.id.scrollView);
ScrollView scrollView = (ScrollView) mScrollV
findViewById(R.id.root).getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
public void onGlobalLayout() {
mToolBarHeight = mToolBar.getHeight();
mScrollViewHeight = mScrollView.getHeight();
adjustScrollView();
mGesture = new GestureDetector(this, new GestureListener());
public boolean dispatchTouchEvent(MotionEvent ev) {
mGesture.onTouchEvent(ev);
return super.dispatchTouchEvent(ev);
public void afterDraw(WebView webView) {
if (mWebView.getVScrollRange() & mScrollOffset) {
mScrollOffset = mWebView.getVScrollRange();
adjustScrollView();
class GestureListener extends GestureDetector.SimpleOnGestureListener {
public boolean onDoubleTap(MotionEvent e) {
Log.e("Temp", "onDoubleTap");
return super.onDoubleTap(e);
public boolean onDown(MotionEvent e) {
Log.e("Temp", "onDown");
return super.onDown(e);
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
float velocityY) {
Log.e("Temp", "onFling:velocityX = " + velocityX + " velocityY" + velocityY);
int effectX = (int) velocityX;
int effectY = (int) velocityY;
if (effectOnScrollViewByScroll((velocityY & 0 ? 1 : -1) * 8000)) {
effectY = 0;
mWebView.flingScroll(-effectX, -effectY);
return super.onFling(e1, e2, velocityX, velocityY);
public void onLongPress(MotionEvent e) {
Log.e("Temp", "onLongPress");
super.onLongPress(e);
public boolean onScroll(MotionEvent e1, MotionEvent e2,
float distanceX, float distanceY) {
Log.e("Temp", "onScroll:distanceX = " + distanceX + " distanceY = " + distanceY);
int effectX = (int) distanceX;
int effectY = (int) distanceY;
if (effectOnScrollViewByScroll((int) distanceY)) {
mWebView.scrollBy(effectX, effectY);
return super.onScroll(e1, e2, distanceX, distanceY);
public boolean onSingleTapUp(MotionEvent e) {
Log.e("Temp", "onSingleTapUp");
return super.onSingleTapUp(e);
private boolean effectOnScrollViewByScroll(int distanceY) {
if (distanceY & 0) {
if (mScrollOffset &= mToolBarHeight || mScrollOffset &= mWebView.getVScrollRange()) {
return false;
mScrollOffset += distanceY;
if (mScrollOffset & mToolBarHeight) {
mScrollOffset = mToolBarH
if (mScrollOffset & mWebView.getVScrollRange()) {
mScrollOffset = mWebView.getVScrollRange();
if (mScrollOffset &= 0) {
return false;
mScrollOffset += distanceY;
if (mScrollOffset &= 0) {
mScrollOffset = 0;
adjustScrollView();
return true;
private void adjustScrollView() {
Log.e("Temp", "offset is " + mScrollOffset);
ViewGroup.LayoutParams layoutParams = mWebView.getLayoutParams();
int newHeight = (mScrollViewHeight - mToolBarHeight) + mScrollO
Log.e("Temp", "newHeight is " + newHeight + ", layoutParams.height" + layoutParams.height);
if (newHeight != layoutParams.height) {
layoutParams.height = newH
mWebView.setLayoutParams(layoutParams);
new Handler(Looper.getMainLooper()).post(new Runnable() {
public void run() {
mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:104454次
积分:2223
积分:2223
排名:第12457名
原创:105篇
转载:66篇
评论:11条
(1)(1)(2)(1)(9)(20)(35)(12)(1)(4)(5)(5)(4)(5)(4)(2)(1)(4)(4)(4)(11)(4)(6)(9)(3)(6)(5)(2)(2)12月sat来得及申请uc吗?UC官网写的by december……那就是十二月之前么?也就是说12月的没有用了?可是在sat成绩那一栏里他又说你还要在哪天考sat吗写下来,那是不是说如果写了那个,12月的成绩就能用了?
哆姐″30Ox
你在截止日期前递材料就可以,SAT,托福可以之后补递.但是如果你申UCLA的话最好不要托得太晚,12月的成绩可以用
为您推荐:
其他类似问题
UC系统都是网络申请,12月1日(北京时间12月2日中午)就截止了,我就是今年申请,刚把申请的内容递完。我建议你先看看能不能不填sat成绩,先把所有东西赶紧的填上,然后再补寄成绩,12月成绩可以用............不过如果你现在加州三篇essay都没写的话我劝你还是算了吧。我申请的是UC Berkeley UCLA UCSD...
扫描下载二维码集合毒霸+电脑管家,安全更省心
联想电脑专用官方驱动,极速、轻巧
一键极速装机,更加稳定、全面
移动端产品
最快最有趣的科技资讯,随时随地阅读
猎豹移动:
| | | | | |
友情链接:
| | | | | | | | | | | | | | | | | | | | | | | | |
【】 - 【】 - 【】 - 【】
电信与信息服务业务经营许可证:备案号:   驱动之家?版权所有 京公网安备42号

我要回帖

更多关于 uc明星热搜榜投票 的文章

 

随机推荐