Questions tagged [android-tabbed-activity]
112 questions
0
votes
1 answer
Design swipe activity android
I need to make a layout similar to that Image.
I wish it were shown all the registered images and their attributes and a button to add the user would select an image and define the attributes of it. I do not want a complete example that ordered but…

Caroline Santos
- 31
- 4
0
votes
1 answer
How to pin an object in a tabbed layout?
I'm want a text to stay bellow my page and don't swipe and move with the sections in tabbed layout and container.
I am using Android Studio and its default tabbed activity
as shown in this picture that the red marked part is pinned and not moving…

user6586445
- 21
- 1
- 5
0
votes
1 answer
Reusing fragment and get tab position in android studio
I have a tabbedapplication. The layout in all the tabs are same. But the content will be different according to the json response. So I am trying to create single fragment and reuse in all the views. But I dont know how to get the tab position. So…

iOSMAn
- 46
- 1
- 14
0
votes
1 answer
Tabbed Activity template Android 2.1.2
I apologise in advance if this question is NOT as interesting as others might expect. Firstly there are not that many answers to questions about the most recent version of Android Studio (that is version 2.1.2). Also I have noticed people seldom use…

user3650467
- 173
- 1
- 1
- 9
0
votes
1 answer
Android: Toast in tabbed application & Next page onclick in tabbed application
I am trying to create a Toast from inside my fragment. I have been searching for hours on the internet and all I come across doesn't seem to work.
information.setOnClickListener(new View.OnClickListener() {
public void onClick(View…

Meindert Stijfhals
- 355
- 1
- 3
- 12
0
votes
1 answer
Sending Data to a Fragment from a Fragment in a Tabbed Activity
I have a tabbed activity with four tabs. Each tab has its own unique fragment. I want to collect data from the first three tabs, analyze it, and send the analyzed data to a TextView in the fourth tab. How would I do this?

gtvario
- 11
- 1
0
votes
1 answer
Navigation drawer with swipe views
I'm developing a custom layout in Android, I have to implement a navigation drawer with swipe views.
I need to use the code that is generated from Android Studio by default, and implement the swipe views.
I need that in a single page is it available…
user6309010
0
votes
0 answers
Android TabbedActivity (FragmentActvity, TabHost) onTabChanged throws IllegalStateException: No host, cannot reproduce
I've fixed a lot of old bugs and crashes in a new update of our Android App and it's looking good so far BUT there is now a new crash logged when changing tabs on our "MainActivity" for the productive version. I tried to reproduce this crash on…

byemute
- 643
- 7
- 15
0
votes
1 answer
tab activity in toolbars? or should i say, drawer + tabbed activity in a tool bar. How can i achieve this?
so i am trying to create like a social media kind of tool bar, check this out. This is like the toolbar that includes a navigation drawer slider and when you swipe around, it becomes just like a tabbed activity.
(sorry for only 1 picture, stackover…

Bowie Chang
- 126
- 12
0
votes
1 answer
How to show Views of inflated layout in Tabbed Activity?
I made a default tabbed activity in android studio.
and I tried to show 2 views using tab1 and tab2.
They inherit LinearLayout.
Following is their code(Tab1).
public class Tab1 extends LinearLayout {
View rootView;
public Tab1(Context…

eyeballs
- 169
- 1
- 3
- 15
0
votes
2 answers
Add and replace fragments within a tabbed activity
I have created a sample tabbed activity in Android Studio, and I would like now to display some of my own fragments in it, rather than the default placeholder text.
In other projects, I would create a blank fragment and just add it with this…

user1301428
- 1,743
- 3
- 25
- 57
-1
votes
1 answer
Using tabbed for changing fragment and toolbar
I used switch for creating tabbed and Fragment to change pages by tabbed on.
now I want to have statement to say if user clicks one for example position 0 like chats Fragment my toolbar changes .
what i don't know is that how can i put an if…

vivanred
- 13
- 5
-1
votes
1 answer
Tabbed Activity Android
I'm developing an android app where I have 3 tabs: order status, order details, order Info.
my problem is that I get an error message when I try to add Fragment to this app.
here is my code:
orderTabbedFraagment.java
package…

ROM
- 153
- 3
- 16
-1
votes
2 answers
Listview to the same activity with different text on tabbed activity
I'm new at Android programming and I need your help. Please.
What I want to do.
I created listview, from listview I created OnItemClickListener to TabbedActivity.
Now I want for each listview item to show different text on TabbedActivity.
This is…

A. Muamer
- 13
- 1
-1
votes
1 answer
ArrayAdapter showing Error: Tabbed Activity and ListView
I am trying to create a Tabbed Activity which contains a List. I have created the Tabbed Activity and I want to create the list in the fragment. Each List Item contains 2 ImageViews and 4 TextViews. Therefore, I created a custom Class and a Custom…

Suprad Parashar
- 39
- 2
- 11