Toast忘了删
This commit is contained in:
@@ -412,7 +412,6 @@ public class MainActivity extends Activity {
|
||||
WebView w = (WebView) v;
|
||||
HitTestResult result = w.getHitTestResult();
|
||||
HTRE = result.getExtra();
|
||||
Toast.makeText(getApplicationContext(), result.toString(), Toast.LENGTH_SHORT).show();
|
||||
menu.setHeaderTitle(HTRE);
|
||||
if (result.getType() == HitTestResult.IMAGE_TYPE || result.getType() == HitTestResult.SRC_IMAGE_ANCHOR_TYPE) {
|
||||
menu.setHeaderIcon(android.R.drawable.ic_menu_gallery);
|
||||
|
||||
Reference in New Issue
Block a user