
Search In
In the example below, I have built a navigation menu. Here I am using Angular directives to set menu button, when I will click on menu button It will display just below navigation menu bar.
<div id="main" ng-app>
<!-- The navigation men
We will have to remove .py file, rename the class and its attributes to something like
below code.
from osv import osv, fields
class travel_hostel(osv.osv):
_name = ’travel.hostel’
_inherit = ’res.partner’
_columns = {
’rooms_id’: fields.one2many(’
return statement in C#
Example to demonstrate return statement:
static int SimpleReturn()
{
return 1;
return 2;
return 3;
}
static void Main(string[] args)
{
Console.WriteLine(SimpleReturn());
Console.WriteLine(SimpleRetu
You have to add a theme attribute in the Android manifest file under activity section. So that only that particular activity will become transparent.
After the above step, add background attribute to your layout file as shown below:
<linearla
In the below example code I have created Custom Notification in android. Here first I have added ImageView and TextView in activity_main.xml layout. Then I have used NotificationManager class and NotificationService in MainActivity. You can s
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use jQuery clone () Method ?
The clone () Method is used for making a copy of matched element.This Method makes the
duplicate of the matched elements.
clone () Method also ma
In the below example I have created Static JSON Parsing program in android. First I have added two TextView within RelativeLayout. In MainActivity I have used JSON object and JSON array JSON object within curly bracket ({) and JSON
SEO keywords range from single words to complex phrases and are used in web copy to attract relevant search traffic.
However, keyword integration is just the beginning. When used properly, targeted SEO keywords should be used to inspire all page con
When multiple developers are working on the same project and we have a single storyboard, we might face conflicts in the storyboard file. And the conflicts of storyboard are difficult to resolve.
Xcode 7 provides a new feature of storyboard referenc
How to swap two variables in one line in Java?
// Java program to swap two variables in single line
class Demo
{
public static void main (String[] args)
{
int a = 6, b = 11;
a = a ^ b ^ (b = a);
System.out.println("After Swa
