Questions tagged [android-tabactivity]

TabActivity is an Activity class that contains and runs multiple embedded activities or views.

The TabActivity is an Android Activity subclass that can be used to show content in the form of tabs(with either Views or other child Activities). With the introduction of Fragments the TabActivity is deprecated and shouldn't be used in new written code(in favor of the more robust Fragment framework).

260 questions
0
votes
2 answers

How to disable a tab bar item in android?

I am making my first android app. I want to disable a tab bat item in my android app. I searched and found the following way to do that: tabHost = (TabHost)findViewById(R.id.tabhost); …
0
votes
2 answers

Android TabActivity pass parcelable across tabs

I'm trying to pass data from tab n to tab n+1 activities, based on TabActivity in the MainContainerActivity, using parcelables but can't succeed as I can not apply "getExtras" method on the tab n+1 intent. I can pass my parcelable object from one…
hornetbzz
  • 9,188
  • 5
  • 36
  • 53
0
votes
2 answers

Google analytics does not work on android

I want to import google analytics on my android application and my codes is private GoogleAnalyticsTracker tracker; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
ali
  • 161
  • 3
  • 10
0
votes
2 answers

How can I convert tabActivity to fragment

I used Tab-activity in my application,but this class is depreciated now,how can I replace this with fragment.I have implemented sub tabs also for each tabs.Can any one help me by providing sample code to implement this changes?
AbiAndroid
  • 89
  • 2
  • 4
  • 14
0
votes
2 answers

Pass data with event between Activities in Tabs - Android

I have a TabActivity with 4 Tabs (Activities) in it. Now I want to pass data between these 4 Tabs. I know how to pass it to the parent (TabActivity), but how do I pass it to one of the running Tabs' Activities? With putExtra I can pass it some data,…
Kevin Suppan
  • 232
  • 2
  • 18
0
votes
1 answer

Normal Activity and Tab Activity

I am developing an app. Its first page is a login screen. When successfully logged in I want to take the user to a tabbed activity. How can I do this in android? Thanks
Zach
  • 9,989
  • 19
  • 70
  • 107
0
votes
1 answer

Is it smart to publish tab-activity-based app to Android 4.0+ devices?

I have a TabActivity-based project which I want to publish to Android 4.0+ devices as well. When I load it with SDK 4.0+ library, I receive a warning "android.app.TabActivity" is deprecated. We all know that this is due to the fact that fragments…
0
votes
2 answers

Android tab layout error

I created an app with 2 tabs using TabLayout... I need to integrate that application with another application.But while i reach the tab page,its ending up with an error java.lang.RuntimeException: Unable to start activity…
0
votes
1 answer

EditText not getting focus Mono Android

I'm using TabActivity with Custom Title. TabControl.xml contains android:focusable="true" android:focusableInTouchMode="true" When activity gets launched, default tab is Tab0. in .xml of…
GAMA
  • 5,958
  • 14
  • 79
  • 126
0
votes
1 answer

TabActivity with Custom Title giving NullPointerException

I have a launcher activity which contains two tabs which corresponds to two separate activities HeatMap and LiveMkt. As I read somewhere one can not use following statement in child activities: Window.RequestFeature(WindowFeatures.CustomTitle); So…
-1
votes
2 answers

How to fix Tab Activity action bar up color in Android?

Above action bar, white color is displaying. I want to fix that one. Please check attached image file. Thanks in Advance Image Here
user3359125
  • 141
  • 1
  • 1
  • 6
-1
votes
1 answer

How I place an Image in Tab Activity TABS in android?

I want to Place an Image instead of an Text which is Shown in return Statement @Override public CharSequence getPageTitle(int position) { switch (position) { case 0: return…
-1
votes
1 answer

Customize fragment tab host look/appearance

Is it possible to change the look of my Fragment Tab Host into something like this?
-1
votes
2 answers

Android change Fragment page

you can download my zip here ok so i made an app with Swipe+Tab View i want each tab to show a diffrent .xml page if u click above you can download my workspace to edit it .. i really need help please be spicific to if u want i can setup teamviwer…
-1
votes
5 answers

How to hide only soft keyboard android

In my application i am using tab activity and activity group. In one of the activity i have edit texts. When the user click on the edit text, soft keyboard appears. But when the user click on the back button the soft key board dismisses and the…
1 2 3
17
18