From 2a3aa2d343820be9e05101a25b955d525e9bfa54 Mon Sep 17 00:00:00 2001
From: Rich Slogar With smart rendering, Android Studio displays links for quick fixes to rendering errors.
For example, if you add a button to the layout without specifying the width and
-height atttributes, Android Studio displays the rendering message Automatically
-add all missing attributs. Clicking the message adds the missing attributes to the layout.Smart Rendering
Android Studio provides coding assistance for using annotations from the +{@link android.support.annotation Support-Annotations} library, part of the +Support Repository. + +Adding a dependency for this library enables you to decorate your code with annotations to help +catch bugs, such as null pointer exceptions and resource type conflicts. You can also create +enumerated annotations to, for example, check that a passed parameter value matches a value from +a defined set of constants. For more information, see +Improving Code Inspection with +Annotations. +
+ + +Android Studio allows you to look at what’s inside Java libraries when you don’t have access +to the source code.
+ +The decompiler is built into Android Studio for easy access. To use this feature, right-click +a class, method, or field from a library for which you do not have source file access and select +decompile.
The decompiled source code appears. + +To adjust the Java decompiler settings, select +File > Settings > Other Settings > Java Decompiler.
+ + +Android Studio offers debugging and performance enhancements such as:
+Choose Tools > New Scratch File to open a scratch file to quickly + build and run code prototypes. Together with Android Studio coding assistance, scratch + files allow you to quickly run and debug code updates with the support of all file operations. + By embedding code created with scripting languages, you can run your code from within the + scratch file.
+This section list just a few of the code editing practices you should consider using when creating Android Studio apps.
@@ -114,23 +157,17 @@ individual classes. you can set a scope to identify all code related to a specific action bar. -Specify annotations within the code or from an external annotation file. The Android Studio -IDE keeps track of the restrictions and validates compliance, for example setting the data type -of a string as not null.
- -With language injection, the Android Studio IDE allows you to work with islands of different languages embedded in the source code. This extends the syntax, error highlighting and coding assistance to the embedded language. This can be especially useful for checking regular expression -values inline, and validating XML and SQL statments.
+values inline, and validating XML and SQL statements.This allows you to selectively hide and display sections of the code for readability. For example, resource expressions or code for a nested class can be folded or hidden in to one line -to make the outer class structure easier to read. The inner clas can be later expanded for +to make the outer class structure easier to read. The inner class can be later expanded for updates.
@@ -140,6 +177,7 @@ updates. reference. Pressing {@code F1} with the preview image or icon selected displays resource asset details, such as the dp settings. +You can now inspect theme attributes using View > Quick Documentation (F1), diff --git a/docs/html/tools/building/building-cmdline.jd b/docs/html/tools/building/building-cmdline.jd index ec00b507cccf..33798a521821 100644 --- a/docs/html/tools/building/building-cmdline.jd +++ b/docs/html/tools/building/building-cmdline.jd @@ -34,9 +34,9 @@ parent.link=index.html -
By default, there are two build types to build your application using the gradle.build settings: +
By default, there are two build types to build your application using the Gradle build settings: one for debugging your application — debug — and one for building your - final package for release — release mode. Regardless of which way you build type + final package for release — release mode. Regardless of which build type your modules use, the app must be signed before it can install on an emulator or device—with a debug key when building in debug mode and with your own private key when building in release mode.
@@ -48,23 +48,24 @@ parent.link=index.html development device. You cannot distribute an application that is signed with a debug key. When you build using the release build type, the .apk file is unsigned, so you must manually sign it with your own private key, using Keytool and Jarsigner settings in the - module's gradle.build file. + module'sbuild.gradle file.
It's important that you read and understand Signing Your Applications, particularly once you're ready to release your application and share it with end-users. That document describes the - procedure for generating a private key and then using it to sign your .apk file. If you're just + procedure for generating a private key and then using it to sign your APK file. If you're just getting started, however, you can quickly run your applications on an emulator or your own development device by building in debug mode.
If you don't have Gradle, you can obtain it from the Gradle - home page. Install it and make sure it is in your executable PATH. Before calling Ant, you + home page. Install it and make sure it is in your executable PATH. Before calling Gradle, you need to declare the JAVA_HOME environment variable to specify the path to where the JDK is installed.
-Note: When installing JDK on Windows, the default is to install
- in the "Program Files" directory. This location will cause ant to fail, because of
- the space. To fix the problem, you can specify the JAVA_HOME variable like this:
+
Note: When using ant and installing JDK on Windows,
+ the default is to install in the "Program Files" directory. This location will cause
+ ant to fail, because of the space. To fix the problem, you can specify the JAVA_HOME
+ variable like this:
set JAVA_HOME=c:\Progra~1\Java\<jdkdir>
The easiest solution, however, is to install JDK in a non-space directory, for example:
diff --git a/docs/html/tools/debugging/annotations.jd b/docs/html/tools/debugging/annotations.jd new file mode 100644 index 000000000000..fe9f9cc59c98 --- /dev/null +++ b/docs/html/tools/debugging/annotations.jd @@ -0,0 +1,241 @@ +page.title=Improving Code Inspection with Annotations +@jd:body + +Using code inspections tools such as lint can help +you find problems and improve your code, but inspection tools can only infer so much. Android +resource ids, for example, use an {@code int} to identify strings, graphics, colors and other +resource types, so inspection tools cannot tell when you have specified a string resource where +you should have specified a color. This situation means that your app may render incorrectly or +fail to run at all, even if you use code inspection.
+ +Annotations allow you to provide hints to code inspections tools like {@code lint}, to help +detect these, more subtle code problems. They are added as metadata tags that you attach to +variables, parameters, and return values to inspect method return values, passed parameters, and +local variables and fields. When used with code inspections tools, annotations can help you detect +problems, such as null pointer exceptions and resource type +conflicts.
+ +For more information on enabling lint inspections +and running lint, +see Improving Your Code with lint.
+ +Android supports a variety of annotations for insertion in the methods, parameters, and return +values in your code, for example:
+ +R.string
+ resource.Drawable
+ resource. Color
+ resource. Interpolator
+ resource. R.
+ resource. For a complete list of the supported annotations, either examine the contents of the
+{@link android.support.annotation Support-Annotations} library or use the
+auto-complete feature to display the available options for the import
+android.support.annotation. statement. The
+ SDK Manager packages the
+{@link android.support.annotation Support-Annotations} library in the Android Support Repository
+for use with Android Studio and in the Android
+Support Library for use with other Android
+development tools.
To add annotations to your code, first add a dependency to the
+{@link android.support.annotation Support-Annotations} library. In Android Studio,
+add the dependency to your build.gradle file.
+dependencies {
+ compile 'com.android.support:support-annotations:22.0.0'
+}
+
+
+
+The {@link android.support.annotation Support-Annotations} library is decorated with the +supported annotations so using this library's methods and resources automatically checks the code +for potential problems.
+ +If you include annotations in a library and use the
+Android Plugin for Gradle
+to build an Android ARchive (AAR) artifact of that library, the annotations are included as part
+of the artifact in XML format in the annotations.zip file.
To start a code inspection from Android Studio, which includes validating annotations and +automatic lint checking, select +Analyze > Inspect Code from the menu options. Android Studio displays conflict +messages throughout the code to indication annotation conflicts and suggest possible +resolutions.
+ + +Add {@link android.support.annotation.Nullable @Nullable} and +{@link android.support.annotation.NonNull @NonNull} annotations to check +the nullness of a given variable, parameter, or return value. For example, if a local variable +that contains a null value is passed as a parameter to a method with the +{@link android.support.annotation.NonNull @NonNull} annotation +attached to that parameter, building the code generates a warning indicating a non-null conflict.
+ +This example attaches the {@link android.support.annotation.NonNull @NonNull} annotation to
+the context and attrs parameters to check that the passed parameter
+values are not null.
+import android.support.annotation.NonNull;
+...
+
+ /** Add support for inflating the <fragment> tag. */
+ @NonNull
+ @Override
+ public View onCreateView(String name, @NonNull Context context,
+ @NonNull AttributeSet attrs) {
+ ...
+ }
+...
+
+
+Note: Android Studio supports running a nullability analysis to +automatically infer and insert nullness annotations in your code. For more information about +inferring nullability in Android Studio, see +Annotations in Android Studio.
+ + +Add {@link android.support.annotation.StringRes @StringRes} annotations to check that
+a resource parameter contains a
+R.string
+reference. During code inspection, the annotation generates a warning if a R.string
+reference is not passed in the parameter.
Validating resource types can be useful as Android references to
+Drawables and
+R.string resources are both
+passed as integers. Code that expects a parameter to reference a Drawable can be passed
+the expected reference type of int, but actually reference a R.string resource.
This example attaches the {@link android.support.annotation.StringRes @StringRes}
+annotation to the resId parameter to validate that it is really a string resource.
+import android.support.annotation.StringRes; +... + public abstract void setTitle(@StringRes int resId); + ... ++ + +
Annotations for the other resource types, such as +{@link android.support.annotation.DrawableRes @DrawableRes}, +{@link android.support.annotation.ColorRes @ColorRes}, and +{@link android.support.annotation.InterpolatorRes @InterpolatorRes} can be added using +the same annotation format and run during the code inspection.
+ + +Use the {@link android.support.annotation.IntDef @IntDef} and +{@link android.support.annotation.StringDef @StringDef} annotations +so you can create enumerated annotations of integer and string sets to validate other types of code +references, such as passing references to a set of constants.
+ +The following example illustrates the steps to create an enumerated annotation that ensures +a value passed as a method parameter references one of the defined constants.
+ +
+import android.support.annotation.IntDef;
+...
+public abstract class ActionBar {
+ ...
+ //Define the list of accepted constants
+ @IntDef({NAVIGATION_MODE_STANDARD, NAVIGATION_MODE_LIST, NAVIGATION_MODE_TABS})
+
+ //Tell the compiler not to store annotation data in the .class file
+ @Retention(RetentionPolicy.SOURCE)
+
+ //Declare the NavigationMode annotation
+ public @interface NavigationMode {}
+
+ //Declare the constants
+ public static final int NAVIGATION_MODE_STANDARD = 0;
+ public static final int NAVIGATION_MODE_LIST = 1;
+ public static final int NAVIGATION_MODE_TABS = 2;
+
+ //Decorate the target methods with the annotation
+ @NavigationMode
+ public abstract int getNavigationMode();
+
+ //Attach the annotation
+ public abstract void setNavigationMode(@NavigationMode int mode);
+
+
+
+When you build this code, a warning is generated if the mode parameter does
+not reference one of the defined constants (NAVIGATION_MODE_STANDARD,
+NAVIGATION_MODE_LIST, or NAVIGATION_MODE_TABS).
You can also define an annotation with a flag to check if a parameter
+or return value references a valid pattern. This example creates the
+DisplayOptions annotation with a list of valid DISPLAY_ constants.
+import android.support.annotation.IntDef;
+...
+
+@IntDef(flag=true, value={
+ DISPLAY_USE_LOGO,
+ DISPLAY_SHOW_HOME,
+ DISPLAY_HOME_AS_UP,
+ DISPLAY_SHOW_TITLE,
+ DISPLAY_SHOW_CUSTOM
+})
+@Retention(RetentionPolicy.SOURCE)
+public @interface DisplayOptions {}
+
+...
+
+
+When you build code with an annotation flag, a warning is generated if the decorated parameter +or return value does not reference a valid pattern.
+ + diff --git a/docs/html/tools/debugging/improving-w-lint.jd b/docs/html/tools/debugging/improving-w-lint.jd index ff94b7f6bc93..8f74f46a613f 100644 --- a/docs/html/tools/debugging/improving-w-lint.jd +++ b/docs/html/tools/debugging/improving-w-lint.jd @@ -22,6 +22,7 @@ parent.link=index.htmlAndroid Studio is the official IDE for Android application development, -based on IntelliJ IDEA. +based on IntelliJ IDEA. On top of the capabilities you expect from IntelliJ, Android Studio offers:
@@ -38,10 +37,9 @@ Android Studio offers:By default, Android Studio displays your profile files in the Android project view. This +
By default, Android Studio displays your project files in the Android project view. This view shows a flattened version of your project's structure that provides quick access to the key source files of Android projects and helps you work with the Gradle-based build system. -The Android project view:
+The Android project view:
Figure 1. Show the Android project view.
- Figure 2. Project Build Files.
+Figure 2. Show project build Files.
The Android project view shows all the build files at the top level of the project hierarchy under Gradle Scripts. Each project module appears as a folder at the @@ -91,19 +89,20 @@ top level of the project hierarchy and contains these three elements at the top
java/ - Source files for the module.manifests/ - Manifest files for the module.res/ - Resource files for the module.Gradle Scripts/ - Gradle build and property files.For example, Android project view groups all the instances of the
ic_launcher.png resource for different screen densities under the same element.
Note: The project structure on disk differs from this flattened -representation. To switch to back to the segregated project view, select Project from -the Project drop-down.
+representation. To switch to back to the segregated project view, select Project +from the Project drop-down. -When you use the Project view of a new project in Android Studio, you +
When you use the Project view in Android Studio, you should notice that the project structure appears different than you may be used to in Eclipse. Each instance of Android Studio contains a project with one or more application modules. Each application module folder contains the complete source sets for that module, including @@ -113,11 +112,28 @@ module's {@code src/main} directory for source code updates, the gradle.build fi specification and the files under {@code src/androidTest} directory for test case creation.

You can also customize the view of the project files to focus on specific aspects of your app +development:
+ +For example, selecting the Problems view of your project displays links to the +source files containing any recognized coding and syntax errors, such as missing a XML element +closing tag in a layout file.
For more information, see -IntelliJ project organization and -Managing Projects.
+IntelliJ project organization +and Managing Projects. @@ -156,7 +172,7 @@ To configure custom build settings in an Android Studio project, see Configuring Gradle Builds. -With the Android build system, the applicationId attribute is used to
uniquely identify application packages for publishing. The application ID is set in the
android section of the build.gradle file.
@@ -243,6 +259,30 @@ Manager (HAXM) emulator accelerator and creates a default emulator for quick app
For more information, see Managing AVDs.
+Use inline debugging to enhance your code walk-throughs in the debugger view +with inline verification of references, expressions, and variable values. Inline debug information +includes:
+To enable inline debugging, in the Debug window click the Settings icon
+
and select the
+check box for Show Values In Editor.
Android Studio provides a memory and CPU monitor view so you can more easily monitor your +app's performance and memory usage to track CPU usage, find deallocated objects, locate memory +leaks, and track the amount of memory the connected device is using. With your app running on a +device or emulator, click the Android tab in the lower left corner of the +runtime window to launch the Android runtime window. Click the Memory or +CPU tab.
+Android Studio provides a memory monitor view so you can more easily monitor your @@ -250,18 +290,29 @@ app's memory usage to find deallocated objects, locate memory leaks and track th memory the connected device is using. With your app running on a device or emulator, click the Memory Monitor tab in the lower right corner to launch the memory monitor.
-
- Figure 5. Memory Monitor
+
+ Figure 4. Monitor memory and CPU usage.
+ + +The Android SDK tools, such as Systrace, +logcat, and +Traceview, generate performance and debugging +data for detailed app analysis.
+To view the available generated data files, click Captures in the left
+corner of the runtime window. In the list of the generated files, double-click a file to view
+the data. Right-click any .hprof files to convert them to a standard
+.hprof file format.
In Android Studio, the configured lint and
-other IDE inspections run automatically whenever you compile your program. In addition to the
+
In Android Studio, the configured lint
+and other IDE inspections run automatically whenever you compile your program. In addition to the
configured {@code lint} checks, additional
-IntelliJ code inspections
-run to streamline code review.
Android Studio enables several lint checks
@@ -269,10 +320,10 @@ to ensure:
Cipher.getInstance() is used with safe valuesYou can also manage inspection profiles and configure inspections within Android Studio. -Choose File > Settings > Project Settings. The -Inspection Configuration page appears with the supported inspections.
+Choose File > Settings > Project Settings and expand Editor. +The Inspection Configuration page appears with the supported inspections.
Figure 5. Inspection Configuration
+Figure 5. Configure inspections.
-Note: If you wish to change the behavior of specific -inspection notifications, you can change the inspection severity, for example from warning +
Note: To change the behavior of specific +inspection notifications, change the inspection severity, for example from warning to error.
@@ -317,7 +368,7 @@ The Inspections Scope dialog appears so you can specify the desired ins -You can also run {@code lint} inspections from the command line in your SDK directory.
sdk$ lint [flags]@@ -328,25 +379,127 @@ flags can be used to display the available issues and explanations. For more information, see -Improving Your Code with {@code lint} and -lint tool.
+Improving Your Code with {@code lint} +and lint tool. + + + +Annotations in Android Studio
+Android Studio supports annotations for variables, parameters, and return values to help you +catch bugs, such as null pointer exceptions and resource type conflicts. The +Android SDK Manager packages +the {@link android.support.annotation Support-Annotations} library +in the Android Support Repository for use with Android +Studio. Android Studio validates the configured annotations during code inspection.
+ +To add annotations to your code in Android Studio, first add a dependency for the +{@link android.support.annotation Support-Annotations} library:
++
+ +- Select File > Project Structure.
+- In the Project Structure dialog, select the desired module, click the + Dependencies tab.
+- Click the
+icon to include a + Library dependency.
- In the Choose Library Dependency dialog, select
+support-annotationsand + click Ok.The
+ +build.gradlefile is updated with thesupport-annotations+dependency.You can also manually add this dependency to your
+ +build.gradlefile, as shown in +the following example.+dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:22.0.0' + compile 'com.android.support:support-annotations:22.0.0' +} ++ + + +Inferring nullability
+A nullability analysis scans the contracts throughout the method hierarchies in your code to +detect:
++
+ +- Calling methods that can return null
+- Methods that should not return null
+- Variables, such as fields, local variables, and parameters, that can be null
+- Variables, such as fields, local variables, and parameters, that cannot hold a null value
+The analysis then automatically inserts the appropriate null annotations in the detected +locations.
+ +To run a nullability analysis in Android Studio, +select the Analyze > Infer Nullity +menu option. Android Studio inserts the Android +{@link android.support.annotation.Nullable @Nullable} and +{@link android.support.annotation.NonNull @NonNull} annotations in detected locations +in your code. After running a null analysis, it's good practice to verify the injected +annotations.
+ +Note: The nullability analysis may insert the IntelliJ + +
@Nullableand + +@NotNullannotations instead of the Android null annotations. When running +a null analysis, manually search and replace any IntelliJ annotations or include +com.intellij:annotations:12.0as a compile dependency in your +build.gradlefile. This example includes the IntelliJ annotations 12.0 library as a +dependency in thebuild.gradlefile: + ++dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:22.0.0' + compile 'com.android.support:support-annotations:22.0.0' + compile 'com.intellij:annotations:12.0' +} ++ + + + +Validating annotations
+You can also manually add nullability, resource, and enumerated annotations throughout your code +to perform validations for a variety of reference values, such as +
+ +R.stringresources, +Drawable+resources, +Colorresources, +and enumerated constants.Run Analyze > Inspect Code to validate the configured annotations.
+ +For a complete list of the supported annotations, either use the auto-complete feature to display +the available options for the
+ +import android.support.annotation.statement or +view the contents of the +{@link android.support.annotation Support-Annotations} +library.For more details about Android annotations, see +Improving Code Inspection with Annotations. +
Dynamic layout preview
Android Studio allows you to work with layouts in both a Design View
-
![]()
Figure 6. Hello World App with Design View
+Figure 6. Hello World App with Design View.
and a Text View.
+
-
Figure 7. Hello World App with Text View Figure 7. Hello World App with text view. Easily select and preview layout changes for different device images, display densities, UI modes, locales, and Android versions (multi-API version rendering).
-
Figure 8. API Version Rendering
+Figure 8. Multi-API version rendering.
From the Design View, you can drag and drop elements from the Palette to the Preview or @@ -373,17 +526,17 @@ controlling device behaviors, and more. It also includes the Hierarchy Viewer to
Installation, Setup, and Update Management
Android Studio installation and setup wizards
-An updated installation and setup wizards walk you through a step-by-step installation -and setup process as the wizard checks for system requirements, such as the Java Development -Kit (JDK) and available RAM, and then prompts for optional installation options, such as the -Intel® HAXM emulator accelerator.
+When you begin the installation process, an installation and setup wizard walks you through +a step-by-step installation and setup process as the wizard checks for system requirements, +such as the Java Development Kit (JDK) and available RAM, and then prompts for optional +installation options, such as the Intel® HAXM emulator accelerator.
-An updated setup wizard walks you through the setup processes as +
During the installation process, a setup wizard walks you through the setup processes as the wizard updates your system image and emulation requirements, such GPU, and then creates an optimized default Android Virtual Device (AVD) based on Android 5 (Lollipop) for speedy and reliable emulation.
-
Figure 9. Setup Wizard
+Figure 9. Installation and setup wizard.
Expanded template and form factor support
@@ -391,11 +544,11 @@ reliable emulation. types.Android Wear and TV support
-For easy cross-platform development, the Project Wizard provides new templates for +
For easy cross-platform development, the Project Wizard provides templates for creating your apps for Android Wear and TV.
-
Figure 10. Supported Form Factors
+Figure 10. Supported form factors.
During app creation, the Project Wizard also displays an API Level dialog to help you choose the best minSdkVersion for your project.
@@ -405,7 +558,26 @@ types. and create a cloud end-point is as easy as selecting File > New Module > App Engine Java Servlet Module and specifying the module, package, and client names.-
Figure 11. Setup Wizard
+Figure 11. Google App Engine integration.
+ + +Easy access to project and file settings
+Android Studio provides setting dialogs so you can manage the most important project and file +settings from the File menus as well as the build and configuration files. For +example, you can use the File > Project Structure menu or +the
build.gradlefile to update yourproductFlavorsettings. +Additional settings from the File menus include: ++
+ @@ -452,13 +624,14 @@ repositories, Gradle initialization and synchronization, and Android Studio vers- SDK and JDK location
+- SDK version
+- Gradle and Android Plugin for Gradle versions
+- Build tools version
+- Multidex setting
+- Product flavors
+- Build types
+- Dependencies
+Android Studio supports HTTP proxy settings so you can run Android Studio behind a firewall or secure network. To set the HTTP proxy settings in Android Studio:
-
- From the main menu choose File > Settings > IDE Setting -- HTTP Proxy. +
- From the main menu choose File > Settings > Appearance & Behavior -- System + Settings -- HTTP Proxy.
- In Android Studio, open the IDE Settings dialog.
@@ -545,37 +718,40 @@ SDK Manager page.-
The HTTP Proxy page appears.- On Windows and Linux, choose +
- On Windows and Linux, choose File > Settings > IDE Setting -- HTTP Proxy.
-- On Mac, choose +
- On Mac, choose Android Studio > Preferences > IDE Setting -- HTTP Proxy.
Other Highlights
-Translation Editor
-Multi-language support is enhanced with the Translation Editor plugin so you can easily add -locales to the app's translation file. Color codes indicate whether a locale is complete or -still missing string translations. Also, you can use the plugin to export your strings to the -Google Play Developer Console for translation, then download and import your translations back -into your project.
- -To access the Translation Editor, open a
strings.xmlfile and click the +Translations Editor
+Multi-language support is enhanced with the Translations Editor plugin so you can easily add +a variety of locales to the app's translation file. With +BCP 47 support, the editor combines language and +region codes into a single selection for targeted localizations. Color codes indicate whether a +locale is complete or still missing string translations. You can also use the plugin to export +your strings to the +Google Play Developer Console +for translation, then download and import your translations back into your project.
+ +To access the Translations Editor, open a
strings.xmlfile and click the Open Editor link.-
Figure 12. Translation Editor
+Figure 12. Add locales and strings in the + Translations Editor.
Editor support for the latest Android APIs
Android Studio supports the Material Design themes, widgets, and graphics, such as shadow layers and API version rendering (showing the layout across different -UI versions). Also, the drawable XML tags and attributes, such as <ripple> -and <animated-selector>, are supported.
+UI versions). Also, the drawable XML tags and attributes, such as<ripple>+and<animated-selector>, are supported.Easy access to Android code samples on GitHub
-Clicking Import Samples from the File menu or Welcome page - -provides seamless access to Google code samples on GitHub.
+Clicking Import Samples from the File menu or Welcome +page provides seamless access to Google code samples on GitHub.
-
Figure 13. Code Sample Access
+Figure 13. Get code samples from GitHub.
-
Figure 14. Imported Code Sample
+Figure 14. Imported code sample.
diff --git a/docs/html/tools/tools_toc.cs b/docs/html/tools/tools_toc.cs index 9ba7a2250651..d92af049058a 100644 --- a/docs/html/tools/tools_toc.cs +++ b/docs/html/tools/tools_toc.cs @@ -129,6 +129,7 @@- Improving Your Code with lint
- Optimizing your UI
- Profiling with Traceview and dmtracedump
+- Improving Code Inspection with Annotations
- Analyzing Display and Performance
- Investigating Your RAM Usage
- Using the Dev Tools App
-- cgit v1.2.3-59-g8ed1b