How to make phantom item in itemize
environment? I want to 'animate' items in my beamer slides, so when I go from one slide to another new item pop up in a right place.
I have workaround for one item but it does not work for two items:
\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\usecolortheme{whale}
\usepackage{tikz}
\tikzset{sequencestyle/.style={minimum size=0.5cm, draw=gray, line width=1pt, inner sep = 2pt}}{}
\begin{document}
\begin{frame}{first slide}
\begin{itemize}
\item This is first item.
\item[]
\item[]
\end{itemize}
\begin{tikzpicture}
\node [sequencestyle, fill=red, anchor=west, xshift=-\pgflinewidth] (node1) {A};
\node [sequencestyle, fill=blue, anchor=west, xshift=-\pgflinewidth] at (node1.east) (node1) {B};
\end{tikzpicture}
\end{frame}
\begin{frame}{second slide}
\begin{itemize}
\item This is first item.
\item This is second item.
\item[]
\end{itemize}
\begin{tikzpicture}
\node [sequencestyle, fill=red, anchor=west, xshift=-\pgflinewidth] (node1) {A};
\node [sequencestyle, fill=blue, anchor=west, xshift=-\pgflinewidth] at (node1.east) (node1) {C};
\end{tikzpicture}
\end{frame}
\end{document}
I bet this question is answered somewhere, but I could not find.
EDIT: I updated the code. Besides of adding bullets I update some graphics elements. I added few things as an example.
\begin{frame}{first slide} \begin{itemize}[<+->] \item This is first item. \item This is second item. \item This is third item. \end{itemize} \end{frame}