R
R
RomanoO2012-02-21 00:03:10
Java
RomanoO, 2012-02-21 00:03:10

Deal with tabs in Android or replace TabActivity?

Good night everybody.
Decided to look into this issue. Google helped very quickly and I came across two tutorials:

  • TabActivity tutorial
  • Fragments tutorial

I chose the first one, because I'm interested in the version of Android 3.2. Eclipse, in response to my code, highlighted TabActivity in red and crossed out, explained this by saying that TabActivity is outdated. Google on this issue stubbornly insists on using Fragments, but this is not in the sdk for 3.2 and I don’t quite understand what to do. Help me understand this issue ...
PS Please do not downvote much if the topic has already been ridden ... I'm just learning.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anmipo, 2012-02-21
@RomanoO

You need to use the compatibility library:
stackoverflow.com/questions/7599816/tabactivity-is-deprecated

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question