Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,145 members, 7,829,091 topics. Date: Wednesday, 15 May 2024 at 07:01 PM

Android Tab With Swipe Views In Android Studio - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Android Tab With Swipe Views In Android Studio (5562 Views)

First Successful Project In Android Studio / Help Fix This Android Studio Error Dhtml18 And Otherd / Is There Any Alternative To Android Studio For Making Andriod Apps (2) (3) (4)

(1) (Reply)

Android Tab With Swipe Views In Android Studio by nollyj: 3:37pm On Jun 16, 2015
In this tutorial we are going to learn how to develop Android Tab with Swipe Views, ViewPager, FragmentPagerAdapter in Android Studio. We are going to use Android Studio in this tutorial since it contains a template for creating ActionBar Tabs with ViewPager.

Android Tab is a top navigation design pattern in android and it can be used in application like News App where news articles are place in categories.

You can learn more about android Tab and where it can be use in android application development in android developers guide.

I wrote another article that covers using android Tab with android Toolbar. If you are using the new Android ToolBar and want to use a Tab, I will suggest you read this tutorial on Android Tab with ToolBar.

We will go further to modify the Android Tab with Swipe Views so that it will suit what we want to achieve. We are going to create a Music Application that categorizes music genre into three different Tabs (RnB, Reggae and Rap.)

Now lets briefly show case what we will like to achieve in this android tutorial. The screen shot below represent the user interface.



Before we start, the first thing I will do is to list the environment and tools I used in this android tutorial but feel free to use whatever environment or tools you are familiar with.

Windows 7

Android Studio

Sony Xperia ZL

Min SDK 14

Target SDK 19

To create a new android application project, following the steps as stipulated below.

Go to File menu

Click on New menu

Click on Android Application

Enter Project name: AndroidTabWithSwipe

Package: com.inducesmile.androidtabwithswipe

In the add Activity to mobile window pop-up, select Tab Activity and click continue



http://inducesmile.com/blog/

1 Like

Re: Android Tab With Swipe Views In Android Studio by Okamiye(m): 9:51am On Sep 03, 2015
Would be awesome if you can continue this tutorial, I think it's a brilliant idea. If you need assistance in starting a series as well, I'd be willing to help. Cheers

(1) (Reply)

Help On Php Code For A Dice Game / Female Programmer Here: Please Help (c Language) / Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.