2013年8月9日星期五

Activity under the non-custom toast

Activity in the non-custom toast under the good way! Such as
getLayoutInflater?
findViewById
getApplicationContext ()
so!

------ Solution ------------------------------------ --------
I rub LZ all know and asked what
get context can freely customize the
------ Solution ---------------------------- ----------------

because non Activity under, getLayoutInflater?   
, findViewById be wrong.  

amount Inflater = LayoutInflater.from (context);
then used to populate the view Inflater
then use view.findViewById ........
------ For reference only --------------------- ------------------

because non Activity under, getLayoutInflater?
, findViewById be wrong.
------ For reference only -------------------------------------- -

because non Activity under, getLayoutInflater?     
, findViewById be wrong.    
  
  
amount Inflater = LayoutInflater.from (context);   
then used to populate the view Inflater   
reuse view.findViewById ........  


If created findViewById method should return what value
------ For reference only ------------------------ ---------------

because non Activity under, getLayoutInflater?       
, findViewById be wrong.      
    
    
amount Inflater = LayoutInflater.from (context);     
then used to populate the view Inflater     
reuse view.findViewById ........    
  
  
     
If created findViewById method, what value should be returned  

Well, put that into null; thank

没有评论:

发表评论