
Search In
This blog is about how to create StaggeredGridLayout with Recycler view in Android.
Recyler View is advanced version of ListView/GridView.
Here we start how to Create StaggeredGridLayout with Recyler View.
1. Create Project.
2. Create A
Step1: permission needed to read contacts
<uses-permission android:name="android.permission.READ_CONTACTS"/>
Step2: ContentResolver provides access to the content provider. Its main work is to read the user's query and redirecting them t
The PackageManager class is used to get the information of application packages that are currently installed on android device. You can get an instance of PackageManager class using getPackageManager().
Below example will show you how to imp
In below example I have written Python script to Include the default begin date in OpenERP. You can directly use the below sales module in your addons and run in Odoo server.
from openerp.osv import fields, osv
from openerp.tools.tr
In the below example code I have created blur background image function. In activity_main.xml layout I have added a Button and ImageView.
Now see programming area, here I have used Bitmap class. When a user clicks on button background image wi
If you want to create Share Action Provider function check my below example. Here I have created frist main.xml. After creating main.xml I have added attribute to the menu item. In MainActivity created onCreateOptionsMenu method I sets the share acti
Hi guys,
So many times people search for how to create animated burger icon used for menu, that changes to cross on click.
Here I have written code for that using html, css and a very little javascript. where the 3 horizontal lines gets converted i
In OpenERP first we create user's in user's form. Then the access of user's models res_users and pass the ids of the user's. After passing ids of the user's then user's selection will active and Return a tuple.
Use this funct
We have a search edit text and a list in layout , activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
As technology becomes more and more ingrained in our lives, it's important for kids to learn how to code at an early age. Coding helps children develop problem-solving skills, teaches them how to think creatively, and prepares them for future car
