Difference Between Android Activity Context and Application Context

Vaibhav Ahire
Updated on 09-May-2023 17:06:43

4K+ Views

What is Context? A Context gives us information about the current state of an application. It allows us to interact with Android Components. It allows us to access files and other resources such as pictures, Activities, Fragments and Services. The Context Class provides access to several resources and services that are needed to build an Android application including − Resources − The resources such as layouts, images and strings which are stored in resource objects are accessed through the Context. System Services − It provides access to system services such as Power Manger, Notification Manager and Location ... Read More

Create Basic Collapsibles Using jQuery Mobile

Aman Gupta
Updated on 09-May-2023 17:04:17

193 Views

Overview The jQuery mobile provides the enhanced version of the simple jQuery, as the jQuery mobile provides responsive content and designs for all types of screens. So before starting to build the collapsible we should know about the feature. A collapsible is a web component which statically shows the heading or main content of the data and on clicking the heading it expands and shows the whole information about the heading. We can also build the collapsible using normal jQuery but it will not provide the responsive design and layout. jQuery Mobile Content Delivery Network (CDN) Links Before starting to ... Read More

Create Animations Using Relative Value in jQuery

Aman Gupta
Updated on 09-May-2023 17:02:29

396 Views

Overview The relative values are the values which are incremented or decremented with respect to any units. In the relative while performing the animation the object is not reset to its initial position but it starts growing from its current state. So to create a relative value animation can be achieved by using the jQuery ‘animate()’ method with any selector element. So we will learn how to use the relative value with animate method in jQuery with an example which will help you to learn about the relative value and animation. Syntax The syntax of the animate() method with respect ... Read More

Create Animated Typing Effect Using Typed.js

Aman Gupta
Updated on 09-May-2023 17:00:08

3K+ Views

Overview Typed.js is an animation library supported by java script and other scripting languages. It provides the typing animation effect to the text. We can use this library by adding the CDN link of the library or by installing it using node package manager (NPM) or yarn. It gives a webpage with the typing animations in any paragraph or headings. So to know more about the typed.js typing animation effect. To use the animation the types.js provides a constructor named as typed() which takes two arguments as input. Syntax The syntax used to create the object of the constructor types ... Read More

Create Animated Banner Links Using HTML and CSS

Aman Gupta
Updated on 09-May-2023 16:58:35

5K+ Views

Overview We can create animated banners using the HTML and CSS, HTML provides the layout of the banner and CSS provides the styling of the banners with the animations. Sometimes in the banners which are made for advertisement purpose links are embedded to them, so to highlight the link to the user of the web page the developer makes the link animated so it can be visible throughout the web content and that should increase the interest of the users to click it. Syntax The syntax to create a link in the HTML is − Algorithm Step 1 − Create ... Read More

Create Outline Button in Bootstrap 4

Aman Gupta
Updated on 09-May-2023 16:49:14

561 Views

Overview Bootstrap is a Cascading Styles Sheet (CSS) framework which provides us with a different style and layout of buttons. So to use the bootstrap buttons we need to import the Content Delivery Network (CDN) link of bootstrap to our HTML document, the link can be imported from the official page of bootstrap. The official page provides the link in various bootstrap versions. To create the outline button using the bootstrap we need to import the certain classes to our HTML element. These classes are btn, btn-outline-colorName. We can change the color of the button by replacing the colorName with ... Read More

Create Inline Frame Using HTML5

Aman Gupta
Updated on 09-May-2023 16:44:39

613 Views

Overview An inline frame is a HTML iframe which shows another HTML document embedded inside an iframe to the current web page. The iframe tag is an inline frame which shows the other web content inside a frame. The iframe has various attributes also these are: width, height, title and src. The src attribute is the main attribute of the iframe tag as it specifies what content should be displayed in the iframe. Inside a one frame we can scroll the whole content whose link is specified in the src attribute. Syntax The below is the simple basic syntax to ... Read More

What Does Hide Mean in the Android Source Code

Vaibhav Ahire
Updated on 09-May-2023 16:41:30

979 Views

What is the meaning of the keyword ? Keywords are the unique words which are present in android source code to add a specific action for a function within an android application. Keywords are already defined with a certain set of actions to it. When we add a keyword in front of any function it will help to specify the action to it. There are different types of keywords used within android source code such as @hide, @findViewByID, public, private, @hide and many more. In this article we will specifically take a look at the @hide keyword within our android ... Read More

Create Image Overlay Icon Using HTML and CSS

Aman Gupta
Updated on 09-May-2023 16:40:59

4K+ Views

Overview An image overlay is an overlapping of two images or icons, in which one icon or an image is displayed on the screen while the other icon displays on the screen when the cursor is hovering over the first image. So to achieve this feature we should have basic knowledge of HTML and CSS with its properties of transition and animation. So for creating an overlay we will see a few examples regarding the creation of an inner overlay icon. Algorithm Step 1 − Create a HTML file in your text editor and create a HTML boilerplate in the ... Read More

Vertical ScrollView in Android

Vaibhav Ahire
Updated on 09-May-2023 16:39:19

866 Views

Introduction Android provides various UI components which we can use to create different UI components within our android application such as image view, text view and many more. Among this UI component a vertical scroll view is a powerful UI component which is used to create dynamic and interactive applications. A vertical scroll view is a view group which is used to display large amounts of data within a single view. It allows users to scroll vertically through the list of items while providing the ability to interact with individual items within the list. In this article we will take ... Read More

Advertisements