Tecnologia do Blogger.
RSS

[androidbrasil-dev] Fragmentos ActionBarSherlock

Boa noite a todos,


estou tentando utilizar o seguinte exemplo para criar fragmentos com actionbarsherlock


mas eu nao consigo chamar o meu layout. O que estou fazendo de errado?

package br.com.loadti.fragmentos;


import java.util.zip.Inflater;

import android.R;
import android.os.Bundle;
import android.sax.RootElement;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.actionbarsherlock.app.SherlockFragment;

public class FragmentoInformacao extends SherlockFragment{
  /** Método executado para inflar o layout do nosso Fragment */
    @Override
   public View onCreateView (LayoutInflater inflater, ViewGroup group, Bundle saved) {
   
    View view;    
    view = inflater.inflate(R.layout. root)
   
    return view;
   
   
    }


}



--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário