Fast positioning in eclipse

Source: Internet
Author: User
Fast positioning in eclipse

Selected Items, Ctrl+h

First, the goal

Find out which activity the following page belongs to

Second, step

1. Find keywords

In the above page "point me" two words are more conspicuous, we can go to the Android project to search for "point me" two keywords location

2. Search

Select the item. Ctrl+h positioning

And then it comes in.

Use the same method where the button appears, because the button is bound to be referenced by the layout, and layout is referenced by the activity

Find the result after the button, and then use the same method to find btn_openactivity, because the button will definitely be referenced by the layout, layout will be referenced by the activity

So we can find that page, that's mainactivity.

Fast positioning in eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.