ADF Notes
ADF Notes
ADF Notes
2] SET TEXT =ou can set the text to be displayed in the TextView either when declaring it in
your layout file, or by using its setText() method.
3] INTENT=Android Intent is the message that is passed between components such as
activities, content providers, broadcast receivers, services etc. It is generally used with
startActivity() method to invoke activity, broadcast receivers etc.
4]TOAST=An Android Toast is a small message displayed on the screen, similar to a tool
tip or other similar popup notification. A Toast is displayed on top of the main content of an
activity, and only remains visible for a short time period
5] RES = The res/values folder is used to store the values for the resources that are used in
many Android projects to include features of color, styles, dimensions etc. Below explained
are few basic files, contained in the res/values folder: colors. ... xml is an XML file which is
used to store the colors for the resources
Method Description
onResume called when activity will start interacting with the user.
9]
1 Linear Layout
LinearLayout is a view group that aligns all children in a single direction,
vertically or horizontally.
2 Relative Layout
RelativeLayout is a view group that displays child views in relative
positions.
3 Table Layout
TableLayout is a view that groups views into rows and columns.
4 Absolute Layout
AbsoluteLayout enables you to specify the exact location of its children.
5 Frame Layout
The FrameLayout is a placeholder on screen that you can use to display
a single view.
6 List View
ListView is a view group that displays a list of scrollable items.
7 Grid View
GridView is a ViewGroup that displays items in a two-dimensional,
scrollable grid.
10] A ConstraintLayout is a android. view. ViewGroup which allows you to position and
size widgets in a flexible way.
11] In Android, an XML-based layout is a file that defines the different widgets to be used in
the UI and the relations between those widgets and their containers.
12] Android is a mobile operating system based on a modified version of the Linux kernel and
other open source software, designed primarily for touchscreen mobile devices such as
smartphones and tablets.
14] ConstraintLayout is a layout on Android that gives you adaptable and flexible ways to
create views for your apps. ConstraintLayout , which is now the default layout in Android
Studio, gives you many ways to place objects. You can constrain them to their container, to
each other or to guidelines.
15] UI =The user interface (UI) for an Android app is built as a hierarchy of layouts and
widgets. The layouts are ViewGroup objects, containers that control how their child views
are positioned on the screen. Widgets are View objects, UI components such as buttons and
text boxes
16] XML resource that provides a single string. XML resource that provides an array
of strings. XML resource that carries different strings for pluralization.
SET ICON METHODS