
Search In
In Android development if we want to set custom font to any Button or TextView then we need to do this programmatically.
There is some tricks to set fonts from xml i.e custom Views.
There are steps to do that.
1. Create class with na
Hello reader's in this blog we are making a css3 dropdown menu with custom html. We dont use <select> element for creating it. I have used list <li> element for making the dropdown of the menu.
HTML:-
In the html file i hav
Step 1. Create an empty GameObject with Line Renderer attached to it.
Step 2. Create an child GameObject to above with BoxCollider attached to it.
Step 3. Attach the below script to mainCamera
using UnityEngine;
using System
When we develop a game sometimes we need gameobject move randomly without any user input. In this script a sprite randomly move in 2D and also rotate in moving direction.
using UnityEngine;
using System.Collections;
public class move : MonoBehavio
Sass stands for "Syntactically Awesome Style Sheets". It is compatible with all CSS versions available.
If your CSS is getting complex, harder to maintain, here you can take the help of preprocessor. Sass allows you to create variabl
Hey all!
This blog post is about creating simple chatbox speech bubbles. There are 4 separate classes. One for the chatbox conversation, second for the speech bubble, third and fourth for the two persons interacting respectively. The speech bu
If we want to fadeIn the selected cell of collection view then use the following code-
Sometimes we need to show the selected cell . For example - If we have list of songs and we want to display which song is currrently playing then FadeIn method ca
Hi Readers,
Paint related apps are usually used to clear content what have been drawn. One can achieve it by using Core Graphics framework provided by iOS.
With touch delegate methods will be called so following code snippet will give proper idea a
Hey there!
So this is a really interesting topic I came across yesterday. And immediately thought of sharing it with you all.
In CSS, we are giving colors in RGB format or hexadecimal format. But what if you came to know that HTML accepts any rando
Hi, Android 7 i.e nougat supports multi window mode that means at the same time two or more screens can be open like to open email on right side and gallery on left side.
So to create multi-window screen we have to use a flag in manifest named resiz
