Android Dynamic Gridview Example

In instantiateItem method we inflate our view from xml file and add it to ViewGroup parameter which is the reference of the ViewPager. It’s true we have looked at several searchview examples previously. Same as previous Android – ListView articles, we are going to create […]. This tutorial will show you how to create an android spinner dropdown from static and dynamic data and how to invoke OnItemSelectedListener after selecting an item. Select the package name com. Previously I had written an article regarding how to make a gallery-like image grid using Ionic Framework, but what if we wanted to accomplish the same using the native Android SDK? In this tutorial we'll see how to make use of the Android GridView with an image adapter to display remote images. Being a subclass of View the TextView component can be used in your Android app's GUI inside a ViewGroup, or as the content view of an activity. As name suggests, GridView helps you to populate data in two-dimensional. The framework includes following three important components to. setVisibility (int) function you can show and hide the view by appropriate value. Same as previous Android - ListView articles, we are going to create […]. The main purpose of this post is to give demo for creating nicely laid GridView and also to make GridView more fancy. Example of ListView and GridView ListView The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view that's placed into the list. net in c#, vb. In this post we will create an Android Custom GridView Example Application. Summary: Margins and paddings help to arrange layout elements. Android SQLite Database Tutorial. In this article, based on a technique presented in Android UI, the author discusses expanding the ListViews’ functionality so a basic list can be made into a really useful list. Dynamically Create View Elements - Android Example. Android Login Screen Example Login Activity. Android devices are computers, with file systems that can be accessed using many of the same methods as for standard computers (see Transferring Files). Android LayoutInflater - Dynamically Add and Remove Views using Java code How to manipulate Android screen using predefined XML layouts? This can be done with the help of LayoutInflater. how to create gridview dynamically using java code for developing android application i am using Relative Layout please help me asap Posted 3-Jan-14 1:41am izharcse. Yes of course. How to create a list grid view. Android GridView can be defined as below - GridView is, a subclass of ViewGroup, a widget that are used to display items in 2-dimensional scrollable grid like view. GridView - Android Widgets สำหรับ GridViewเป็น Widget ที่ใช้สำหรับการแสดงข้อมูลหรือรายการต่าง ๆ ที่อยู่ในรูปแบบของ Array , ArrayList หรือจาก Database ของ SQLite มาแสดงในหน้า Android Activity Form โด. Join For Free. Web API to get the data and; Volley library to fetch the data from Web API; After the completion our gridview will look like this. Android Pagination Example | Dynamic Horizontal Paging demo in Android | Listview paging in android Hello Friends, Some time if you have more data in list and want to show them using pagination, one by one then follow my this post. In this Android CardView example we will discuss how this view can be implemented in a RecyclerView list. Make sure that the Source Language is set to Kotlin. Android Studio SQLite Database Example by Tan Woon How · Published April 9, 2014 · Updated June 23, 2016 SQLiteDatabase is a class that allowed us to perform C reate, R etrieve , U pdate, and D elete data (CRUD) operation. You will have to use your custom adapter. The GridView is subclasses of AdapterView. Create a new android project with empty activity template, name it as Android GridLayout Example. Grid View Example. Then double click app / res / layout / activity_main. In this example, two activities are used, a MainActivity and ImageDisplayActivity. You can scroll the grid if there are too many items to fit on the screen. Generally, the adapter pulls data from a sources such as an array or database and converts each item into a result view and that's placed into the list. Drag and drop GridView for Android. What is GridView in android? GridView is a layout used in android to display items in a grid. Algorithm: 1. java, a DataModel. When we want show data in grid layout like displaying images. - Smoke realistic in the exhaust - Automatic and manual gearbox - Adjust the driver's position in the cabin - Simulation of the main functions of trucks, for example: two types of differential lock, motor brake, autopilot, arrows, alert, cleaners, high light, low light etc. Dynamic GridView Dynamic GridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. In some scenario it is necessary to create dynamic GridView with BoundField instead of static one. Problem: Simple GridView example Description: What do you say, is this simple GridView example?, I think it is not 🙂 :). A GridView is a two dimensional array of views which can be scrolled only in horizontal direction and number of rows is fixed. 0) means which was only supported in the device that have running android 3. 1 onward devices. These views provide a high level of functionality to display images in a user interface so that we can concentrate on the images we want to display rather than taking care of rendering. First page on Google Search. You can scroll the grid if there are too many items to fit on the screen. Example of ListView and GridView ListView The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view that's placed into the list. On my this tutorial i am showing images on GridView using string images hold url array and with the use of list adapter inserting the images into grid view format. It is a ViewGroup. ListView is implemented by importing android. ListViews are a fundamental component in Android UIs and are used extensively. Design Activity. Give Name To your application. So here is the complete step by step tutorial for Android GridView Example Tutorial. net using c#, vb. find submissions from "example. 0 (aka Ice Cream Sandwich). In this example making a grid view with very basic example. Display characters from A to Z in GridView layout. NET Posted on August 23, 2012 by Venu Gopal in ASP. Android GridView example. Android devices are computers, with file systems that can be accessed using many of the same methods as for standard computers (see Transferring Files). So we will be using. Then we simply set the gridview’s adapter to be a new ButtonAdapter and it will automatically do the rest for us. Let’s get started! To make it simple, we will only focus on three android views: Status bar, Action bar and View. This Android example explains how to create custom ListView layout with ImageView and two TextView and populate its items using custom ArrayAdapter. If you have any doubt regarding create a new project Click Here. In this article I am going to explain how to display data in GridView in an Android application. You might have seen image gallery in Android mobiles, it is created using GridView layout. Added in API Level 1. Skip to content. You're saying that you have JSON data, so first store it in an Array and then you can use setAdapeter() method of gridview to populate the data within it. Speed up development by using our sample code snippets in your app. This example shows grid of small and capital English alphabets. GridView Tutorial With Examples In Android. To get LinearLayout to operate in a second dimension it is necessary to nest, for example, a horizontal LinearLayout inside a vertical LinearLayout. QR Codes are a proven and easy-to-understand technology to bridge the gap between the physical (aka meatspace) and the digital world. java, an adapter class : RecyclerViewAdapter. The example is trivial, but nicely represents how easy this kind of thing is to achieve with a little bit of work extending the Xamarin. Fragments - Add Fragments Dynamically At Runtime. uwp tutorials. When we want show data in grid layout like displaying images. Net In this article we will see how to create dynamic Jquery repeater using database in Asp. Sign in Sign up. An adapter actually bridges between UI components and the data source that fill data into UI Component. ! 11! Custom GridView Example For this part you can create a new Android Project if you want, but I'm going to use the old one. Android Pagination Example | Dynamic Horizontal Paging demo in Android | Listview paging in android Hello Friends, Some time if you have more data in list and want to show them using pagination, one by one then follow my this post. Simple RecyclerView example in Android Get link Dynamically change ListView to GridView and Vice Versa using RecyclerView Here is the simple example of using. This tutorial will demonstrate adapter implementations for ListView and GridView, where each cell contains a single ImageView. Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially. Android phones feature large, high-resolution displays that are perfect for displaying images in your application. You have also seen examples of how to make use of these widgets in Material Design apps. GridView is a very important control in asp. Dynamic GridView contains image and title as list items. 1 days, this would've meant using the ListBox or the LongListSelector. GridView is a ViewGroup just like ListView that allows us to display items in a two-dimensional scrolling grid. Below is the example of Dynamic RelativeLayout aka programmatically. Android GridView. So here is the complete step by step tutorial for Add items to gridview dynamically in android using EditText,Add button. Add GridView in layout xml file. This is a basic example where an image and text combination will be displayed, and this entire unit will raise a Toast when you click on it. 0, Android now contains a hidden file manager. A Grid View is a View Layout where the items (such as pictures, files etc. Your votes will be used in our system to get more good examples. Example: GridView item. Today we are going to learn how to enable single choice/radio button in ListView, GridView and in RecyclerView using RadioButton, you’ll configure the ListView to display a radioButton next to each item. Have a look at our functional examples to see how easy it is to implement map features with the Maps SDK. I create a Dynamic GridView with ArrayList Items and I want to create the Controls for shapes Some thing like this GridView GridView Example and This Is my Code This ArrayList ArrayList<String. A GridView is a ViewGroup. Speed up development by using our sample code snippets in your app. Sample rate conversion is the process of changing a stream of discrete samples from one sample rate to another stream at a different sample rate. In this example, two activities are used, a MainActivity and ImageDisplayActivity. //Otherwise it only for setOnItemLongClickListener. Unlike Eclipse, Android Studio and the Gradle build system require a default folder layout for the build system to work out of the box. In November 2018, BRINK spoke to Gary Gereffi, director of the Global Value Chains Center at Duke University, about what impact the U. When the Add Fragment button is pushed, a simple Fragment containing only a TextView (background in orange) displaying the current time in milliseconds is. ListView is implemented by importing android. In this tutorial, you have learned how to use the CardView and RecyclerView widgets that were introduced in Android Lollipop. As mentioned earlier GridView can be use directly or with the use of custom adapter. Create Tab Layout In Android Without ViewPager Add it into the grid view. In case if you are not aware of creating an app in android studio check this article Android Hello World App. MainActivity. Building Dynamic GridView control in C# and ASP. Add Fragment To Activity Dynamically Example. GridView view mode is one of the view modes for a ListView control. We have prepared android tutorial with kotlin and java both. Being a subclass of View the TextView component can be used in your Android app's GUI inside a ViewGroup, or as the content view of an activity. You can scroll the grid if there are too many items to fit on the screen. Tutorial about android gridview layout. Android Options Menu Example. Grid View that displays items in a two-dimensional, scrollable grid layout. The following are Jave code examples for showing how to use setMultiChoiceModeListener() of the android. Android Pagination Example | Dynamic Horizontal Paging demo in Android | Listview paging in android Hello Friends, Some time if you have more data in list and want to show them using pagination, one by one then follow my this post. Tutorial on each android topic has been designed in such a way that beginners as well as professional get benefited from it. Then, check Include Kotlin Support and click next button. Create a new android application using android studio and give names as TableLayout. RecyclerView GridView Android Example. This results in a ListView that acts very much like the WPF ListBox, with some subtle differences. For terminology related to sample rate conversion, see Terminology. 3 or lower you would hit the menu button to pull up the options menu, and it would appear at the bottom of the screen. Android Custom Gridview Example with Image and Text Hey Developers! In this tutorial, we will learn how to make an Android Custom GridView with Image and Text. In a table layout, as the name suggests, all the controls are arranged into rows and columns. GridView - Android Widgets สำหรับ GridViewเป็น Widget ที่ใช้สำหรับการแสดงข้อมูลหรือรายการต่าง ๆ ที่อยู่ในรูปแบบของ Array , ArrayList หรือจาก Database ของ SQLite มาแสดงในหน้า Android Activity Form โด. The rank is based on the output with 1 or 2 keywords The pages listed in the table all appear on the 1st page of google search. then second activity content a form value for example student name,mark1,mark2,mark3 input from user on submit button and send back their value to main activity to display listview. Must reference to drawable resource. The only difference is that GridView is used to display grid of View objects. When Gridview of a row contains large amount of images about 2000, app crashed giving *OutOfMemoryError*. How to Create Custom Calendar in Android Android does not provide any calender view ,so its a very big draw back for developer but we can create our own custom calender using grid-view. This is a basic example where an image and text combination will be displayed, and this entire unit will raise a Toast when you click on it. When we want show data in grid layout like displaying images. Few years back I wrote a series of blog posts demonstrating how to add dynamic TextBox, dynamic DropDownList and a combination of both controls in GridView control. Download source and step by step guide at http://seotoolzz. This blog shows an example of capturing, handling, displaying, and sharing images in an Android app. net c# examples. Using Hyperlink columns in GridView Tutorial in Category ASP. 0 and latest version. In a table layout, as the name suggests, all the controls are arranged into rows and columns. We also pass in the the Android application Context. By combining Glide Library and Android Palette, we can make our app look more interesting. net if you add some dynamic control (button, linkbutton, textbox, checkbox etc) according to some condition and want to retain data, handle their event during postback then you should aware about asp. React Native Simple Custom GridView Layout Example Android. android app actionbar layoutparams cannot be cast to android widget linearlayout layoutparams as per my opinion your trying to modify LayoutParams of child view (which is your GridView) which have parent layout like Linear or Relative or Something else. In some scenario it is necessary to create dynamic GridView with BoundField instead of static one. so let me write here to implement multi columnr listview by using ListView itself. 6 android:stretchMode Defines how columns should stretch to fill the available empty space, if any. All gists Back to GitHub. Below is the example of Dynamic RelativeLayout aka programmatically. In the pre-Windows Phone 8. Example: GridView item. You can generate a GridView dynamically. CollapsingToolbarLayout is the newly introduced in Lollipop. All rights reserved. NET Posted on August 23, 2012 by Venu Gopal in ASP. In this tutorial, I'll provide a brief intro into the concept of themes in Android, before showing you how to put themes to work by creating a project where the user can change the app's theme dynamically at runtime, simply by clicking a button. In this tutorial, I am going to create Custom Grid View in Android with Image and Text. Here I want to show all the DB table records in the grid view and I can edit the records from the grid view. This page will cover Android AssetManager example to load image from assets folder. In this post we will create an Android Custom GridView Example Application. The TableLayout is a view group to display data in a table format. Gallery displays the images and videos in a gridview with rows and columns. Android Showing and Hiding the views. Fill the forms and click "Finish" button. GridView is an Android ViewGroup that can show items in a 2-dimensional, scrollable grid. Android GridLayoutManager Example Project Structure. java class and a custom GridLayoutManager class AutoFitGridLayoutManager. The first two tutorials in this Glide series have shown how to load a single image into an ImageView from either an Internet URL or other sources. Create the ViewHolder to provide a reference to the views for each data item. GridView example: load images to GridView from SD Card in background Recall from the " old exercise of GridView ", loading images to GridView from SD Card in onCreate() method running in main thread. Android Design In order to create any android application there we have different frame works to create rich android application. The objective of this tutorial is to get data from SQLite database by extending the SimpleCursorAdapter and then attach that to the Listview. This is a view which is not only used alone, but is also used along with other Views as well, like when you are creating a form, where you have EditText view, CheckBox view etc, then to mention the labels and other information, we will have to use the TextView alongside. I needed to replace fragment in an Android application when I was using Tab bar and I needed to change fragment when tab bar is changed. Here Mudassar Ahmed Khan has explained with an example, how to dynamically show hide TemplateField (ItemTemplate) column in ASP. We can format the gridview's nearly all parts as example header, row, alternate row, pager etc. It lets you show stuff in a two-dimensional grid. You don't normally need to use these with GridLayout, for reasons that are described in the API doc for GridLayout. Both are very different. This tutorial explains how to create simple custom grid view in react native application. The GridView is subclasses of AdapterView. Android GridView Vs GridLayout Example Tutorial In this tutorial we are going to learn by example how to use GridView versus GridLayout in android. The full source code for this example is available on Github so if you want more detail feel free to dig in. In android GridView is a view group that display items in two dimensional scrolling grid (rows and columns), the grid items are not necessarily predetermined but they are automatically inserted to the layout using a ListAdapter. In this project we are using Retrofit library. Dynamic BoundField and TemplateField columns will be created and then added to GridView after that the GridView will be populated from database. It sounds a lot like TableLayout. Today we are going to learn how to enable single choice/radio button in ListView, GridView and in RecyclerView using RadioButton, you’ll configure the ListView to display a radioButton next to each item. Custom GridView with ImageView and TextView In Android. The full Eclipse project of the demo is available here. This is the main activity layout xml file. GitHub Gist: instantly share code, notes, and snippets. GridView give flexibility to arrange components in a two-dimensional scrolling grid. Let's implement RecyclerView using a GridLayoutManager in a new Android Studio project. You can generate a GridView dynamically. In case if you are not aware of creating an app in android studio check this article Android Hello World App. Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. 6 android:stretchMode Defines how columns should stretch to fill the available empty space, if any. In this tutorial, I am going to create Custom Grid View in Android with Image and Text. - Realistic graphics, with configuration options to run on weaker phones!. You can scroll the grid if there are too many items to fit on the screen. The grid items automatically inserted to the layout using a ListAdapter. Set up Firebase and the Dynamic Links SDK. In this example we created dynamic view's (ImageView and Button) programmatically in Java class. Gridview is mainly useful when we want show data in grid layout like displaying images or icons. In this example you can swipe left or right to view image. Android drag/drop framework allows your users to move data from one View to another View in the current layout using a graphical drag and drop gesture. The user interface for the first fragment will contain a toolbar of sorts consisting of an EditText view, a SeekBar and a Button, all contained within a RelativeLayout view. In Android, GridView let you arranges components in a two-dimensional scrolling grid. In this tutorial, you will learn how to implement a ViewPager into GridView in your Android application. This code worked fine in Android 1. The full source code for this example is available on Github so if you want more detail feel free to dig in. The intersection of row and column is known as a grid cell, and it is the place where child views are placed. Download source and step by step guide at http://seotoolzz. You can think of Grid View as a List View with more than one column. Some of these views are the ImageView and the ImageSwitcher. Problem: Simple GridView example Description: What do you say, is this simple GridView example?, I think it is not 🙂 :). Here Mudassar Ahmed Khan has explained, how to dynamically add BoundField and TemplateField column to GridView in ASP. Images are an important way of conveying information to your users without explicitly stating it. Androidplot is a library for creating dynamic and static charts in your Android app. RecyclerView GridView Android Example. In a table layout, as the name suggests, all the controls are arranged into rows and columns. In the pre-Windows Phone 8. net gridview with dynamically created table in c#, vb. Grid Views | DynamicGrid by Alex Askerov (askerov) DynamicGrid. GridView Tutorial With Examples In Android. This tutorial will show you how to create an android spinner dropdown from static and dynamic data and how to invoke OnItemSelectedListener after selecting an item. GitHub Gist: instantly share code, notes, and snippets. We will create a GridView and show images that are stored on an SD Card folder and on the. Design Activity. Android Pagination Example | Dynamic Horizontal Paging demo in Android | Listview paging in android Hello Friends, Some time if you have more data in list and want to show them using pagination, one by one then follow my this post. Obviously, you could just limit the items you add to the ListView in the first place, but often you would need to filter the ListView dynamically, in runtime, usually based on a user entered. NET , C# , Dotnet In this article, I am going to create an example to add columns to GridView dynamically at runtime. android:scrollbarThumbVertical: Defines the vertical scrollbar thumb drawable. How To Implement GridView In Android With Example || Android GridView Example. net Best Login Page Design in HTML, CSS with Source Code. In Android a Spinner renders as a dropdown. Then, check Include Kotlin Support and click next button. Below is the example of Dynamic RelativeLayout aka programmatically. Click on a button to choose list view or grid view. This works great. In it's getView method, populate the ImageView and TextView. ListView filtering We've already done several different things with the ListView, like grouping and sorting, but another very useful ability is filtering. In android image slider with slideshow using Viewpager example, you will learn how to create image slider in the Android app. Select the package name com. Android TextView and setText Dynamically example in Kotlin Posted July 18, 2018 June 10, 2019 by Rohit Android TextView is a user interface element show text (label) to users in the application. I've posted another couple of posts about how to delete rows for dynamically created rows and how to save them all at once. setVisibility (int) function you can show and hide the view by appropriate value. Set up Firebase and the Dynamic Links SDK. When I showed it to my friend he swiped to get to the next image, but that did not do anything because I was just using a plain old ImageView. Each grid in our example will display an image and a text tile. Handling and Displaying Images in Android. Here is the example of Custom GridView in which I have used two TextViews. Yes of course. You might have seen image gallery in Android mobiles, it is created using GridView layout. In this example making a grid view with very basic example. If you have any doubt regarding create a new project Click Here. Dynamic add and remove item on listview in android or android studio, Programmtically add item on list in android Dynamic add and remove item on listview in android or android studio - PrAndroid Latest Code. This is the main activity layout xml file. NET GridView control and how to implement Insert, Edit, Update, Delete, Paging and Sorting functions in ASP. For example, here is how I currently populate a grid in EF6:. I already have a set of examples, for using EF6 in a more manual mode without this new control, that work just fine – what I miss is the quick method we had before. and training. The RecyclerView creates only as many view holders as are needed to display the on-screen portion of the dynamic content, plus a few extra. In this example, two activities are used, a MainActivity and ImageDisplayActivity. Home>>Main Posts>>Android Horizontal and Vertical GridView Tutorial Posted on November 17, 2013 May 17, 2017 by HoverDroid1 This tutorial demonstrates how to install Jess Anders' two-way-gridview library in Eclipse along with my test application that uses the library for a horizontally scrolling gridview and a vertically scrolling gridview. Android devices are computers, with file systems that can be accessed using many of the same methods as for standard computers (see Transferring Files). All rights reserved. GridView give flexibility to arrange components in a two-dimensional scrolling grid. Speed up development by using our sample code snippets in your app. Let's see how we can bind Android GridView from SQLite Database. In this tutorial, you will learn how to display images on a GridView that are stored on your device SD Card. See the examples of JSON and Gridview :. In this example i will show you how to add contents to GridView, make changes to the content and update GridView after each change. You can control the look of the grid either dynamically or in xml. (Row and Column) This grid view items are vertically scrollable but not horizontally. Simple RecyclerView example in Android Get link Dynamically change ListView to GridView and Vice Versa using RecyclerView Here is the simple example of using. Using the Picasso Library to load images into a GridView. In this tutorial, we're gonna create an Android App that can show List of Items on a Grid using GridView. We will create a test app MyContacts where user can enter different mobile numbers for a particular contract. Android Pagination Example | Dynamic Horizontal Paging demo in Android | Listview paging in android Hello Friends, Some time if you have more data in list and want to show them using pagination, one by one then follow my this post. Grid Layout - Android Example. In some scenario it is necessary to create dynamic GridView with BoundField instead of static one. Fill the forms and click "Finish" button. To get data, the Android app will invoke a remote service to get contact information in JSON format. Android Options Menu Example. Android Studio SQLite Database Example by Tan Woon How · Published April 9, 2014 · Updated June 23, 2016 SQLiteDatabase is a class that allowed us to perform C reate, R etrieve , U pdate, and D elete data (CRUD) operation. An adapter actually bridges between UI components and the data source that fill data into UI Component. each column in a gridview is represented by a DataControlField object. Give Name To your application. -China trade dispute was having on global supply chains. In android, Grid View is a ViewGroup which is used to display items in a two dimensional, scrollable grid and grid items are automatically inserted to the gridview layout using a list adapter. The RecyclerView creates only as many view holders as are needed to display the on-screen portion of the dynamic content, plus a few extra. If you have any doubt regarding create a new project Click Here. net Catagory: Asp. Give Name To your application. net gridview. One option for this is a ListView (as discussed in this tutorial). Android, GridView, Custom GridView, Custom Grid View Example in Android , Image and Text in GridView in Android , Gridview demo in Android,Android Developer, Mobile, How to, CustomView,Androidhub4you Android Hub 4 you : the free android programming tutorial: Android Custom Grid View Example | Image and Text in GridView in Android | Gridview. Let us begin by adding a ListView control to our Windows Forms. This tutorial explains and implement android dynamic GridView with mssql server using jdbc. com/android/android-dyn. I have a dynamic content because I add the items from a db (code below) which is everytime an other length. 8 « Prev Page. Understanding Grid Layout in android We are going to learn about Grid layout and how it can be used in android application development. Display characters from A to Z in GridView layout. Creating New Project in Kotlin. In a table layout, as the name suggests, all the controls are arranged into rows and columns. What is important to know about these layouts is that the Views are dynamic and created at runtime. It can be used in many ways to display cards in android. This example is an improved version of my previous example Android GridView Example. Instead, get onto our grid—our Android GridView tutorial, that is! Today you'll learn how to tame this widely-used. GridView just works like ListView, about which we learned in details in the last tutorial. In this example making a grid view with very basic example. In this android tutorial you will learn about android simple and custom gridview example. For example, if your list shows music collection, each view holder might represent a single album. 3 so it shows the action bar; in Android 2. Android データがなければInsert、あればUpdate; Android GridView CheckBox付きの画像を表示. Here is the simple example of using timer in Android Dynamically change ListView to GridView and Vice V 2017 15. so let me write here to implement multi columnr listview by using ListView itself. Why Table layout? [pgsubscribe] Table layouts can be used for displaying tabular data or neatly aligning screen contents in a way similar to an HTML table on a web page. This blog shows an example of capturing, handling, displaying, and sharing images in an Android app. This array will be used as the sub items in our grid - the heading under the images, in other words. Net, GridView, CheckBox. The grid items are automatically inserted to the layout using a ListAdapter or arrays.