Questions tagged [android-tabbed-activity]
112 questions
-1
votes
2 answers
Android Tabbed Activity on clickbutton not work
Can someone tell me how to set a button in tabbed fragment layout to open a new activity? If I set a button in a tab then it shows error.
-2
votes
1 answer
Send Data Between two Tab - android
I have create Tabbed activity with two tab
fragment a Contain edittext and fragment b Contain listview ,and I want to send data from fragment a to fragment b ,Please add the code in full,
please help me.
Note : I do not want pass data to textview…

monzer ax
- 13
- 6
-2
votes
2 answers
How to open a new Activity from a tab?
My project has three tabs.
I want to open a new Activity from one tab
My Java current tab Activity
package com.example.muhsin.tabstes;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import…

Muhsin
- 47
- 3
- 11
-2
votes
1 answer
Tabbed activity(fragment) to activity navigation using onClick
I have a Tabbed activity with 3 tabs and each tab has its own fragment.
there's a button inside the first tab which i want to click and navigate to another Tabbed activity (or any activity which has a fragment). How do I accomplish this ? I am…

CompsGeek
- 1
- 2
-3
votes
1 answer
Setonitemclicklistener inside fragment of tabbed activity
I'm new in android and I want to make a project, but I have a problem with inserting a list view inside fragment of tabbed activity which can pass to another activity when clicked. Before I asked here, I already tried to search the solution but it…

Naviel M Haikal
- 1
- 1
-3
votes
1 answer
Android Studio Tabbed Activity: Where to put code for each tab?
So I followed a tutorial online about creating a TabbedLayout in Android Studio. Everything went well and I did end of getting the TabbedLayout.
Above is my files. I have a java class and fragment for each tab, along with the MainActivity of…
user6158791
-3
votes
1 answer
How to pass a String from an activity to fragment of a tabbed activity in android
Before asking i have been through the similar questions and tried them but no success and every time it all ends with a null pointer exception.
All i want to do is pass the username which is in string from one activity to another fragment of my…

Shubhendra
- 117
- 1
- 13