RelativeLayout
LinearLayout
CustomGridView
GridView is used to display data in two dimension. In this tutorial we are going to show you how to implement custom GridView in Android with Images and Text. Creating a custom GridView with Text and Image is as easy as Using a Simple GridView. We need to just have a custom adapter and populate the GridView elements with custom adapter. It is similar to populating a ListView with Custom Adapter.
GridView
Android GridView shows items in two-dimensional scrolling grid (rows & columns) and the grid items are not necessarily predetermined but they automatically inserted to the layout using a ListAdapter. The ListView and GridView are subclasses of AdapterView and they can be populated by binding them to an Adapter, which retrieves data from an external source and creates a View that represents each data entry.
Fragment TabHost Example in android
In this tutorial, you will learn how to implement FragmentTabHost in your Android application. FragmentTabHost allows the use of fragment objects for its tab content. We will create fragment tabs with FragmentTabHost using on tab selection will show a selected fragment. A partir del nivel de API 13, TabHost ha sido declarado como obsoleto. Google ha reorientado su jerarquía de clases para introducir el concepto de fragment, de manera que en lugar de TabHost, propone utilizar FragmentTabHost. No obstante, podemos seguir utilizando TabHost sin ningún problema.
Custom Facebook Integration
Android allows your application to connect to facebook and share data or any kind of updates on facebook. This chapter is about integrating facebook into your application.
There are two ways through which you can integrate facebook and share something from your application. These ways are listed below −
- Facebook SDK
- Intent Share
Integrating Facebook SDK
This is the first way of connecting with facebook. You have to register your application and then receive some Application Id , and then you have to download the facebook SDK and add it to your project. The steps are listed below:
Step: 1
Step: 2
Step: 3
Step: 4
How To Use Facebook Integration in android
Android allows your application to connect to facebook and share data or any kind of updates on facebook. This chapter is about integrating facebook into your application.
There are two ways through which you can integrate facebook and share something from your application. These ways are listed below −
- Facebook SDK
- Intent Share
Integrating Facebook SDK
This is the first way of connecting with facebook. You have to register your application and then receive some Application Id , and then you have to download the facebook SDK and add it to your project. The steps are listed below:
Step: 1
Step: 2
Step:3
Step:4
Android ActionBar Example
The action bar is an important design element, usually at the top of each screen in an app, that provides a consistent familiar look between Android apps. It is used to provide better user interaction and experience by supporting easy navigation through tabs and drop-down lists. It also provides a space for the app or activity’s identity, thus enabling the user to know their location in the app, and easy access to the actions that can be performed.