public void onCreate(Bundle bundle)
 {
     super.onCreate(bundle);
     setupActionBar(Boolean.valueOf(false), Boolean.valueOf(true), 0x7f0e00de, Boolean.valueOf(false));
     bundle = getSupportActionBar();
     if (bundle != null)
     {
         bundle.setDisplayShowCustomEnabled(true);
         bundle.setCustomView(0x7f03008a);
         bundle = bundle.getCustomView();
         bundle.setVisibility(8);
         EditText edittext = (EditText)bundle.findViewById(0x7f0a01a9);
         ViewUtil.reduceTextSizeViaFontScaleIfNeeded(this, 1.1F, 12F, new TextView[] {
             edittext
         });
         edittext.setOnEditorActionListener(this);
         edittext.addTextChangedListener(this);
         edittext.setInputType(0x80000);
         mQuery = edittext;
         bundle = (ImageButton)bundle.findViewById(0x7f0a01e9);
         bundle.setOnClickListener(this);
         mClear = bundle;
     }
     mAppSessionListener = new FindFriendsNUXListener();
     bundle = mTabHost;
     mScrollBar.setRange(2);
     mViewPager.setOffscreenPageLimit(1);
     mTabsAdapter = new TabsAdapter(this, bundle, mViewPager, mScrollBar);
     Intent intent = getIntent();
     if (intent != null)
     {
         mIsTwitterReg = intent.getBooleanExtra("is_twitter_reg", false);
     }
     bundle.setOnTabChangedListener(this);
     bundle.setOnTabClickedListener(this);
     if (mIsTwitterReg)
     {
         addTwitterTab();
         addContactsTab();
     } else
     {
         addContactsTab();
         addTwitterTab();
     }
     mUserIdsToFollow = new HashSet();
 }
示例#2
0
 protected void onCreate(Bundle bundle)
 {
     super.onCreate(bundle);
     setContentView(0x7f03003b);
     bundle = (ash)findViewById(0x7f0d009c);
     bundle.setTitle(0x7f060081);
     bundle.findViewById(0x7f0d0100).setOnClickListener(this);
     if (android.os.Build.VERSION.SDK_INT >= 21)
     {
         bundle.setElevation(0.0F);
     }
     brp = getResources().getColor(0x7f0c0097);
     brs = getResources().getColor(0x7f0c0081);
     brr = getResources().getColor(0x7f0c0037);
     brh = (EditText)findViewById(0x7f0d00bd);
     brh.addTextChangedListener(brB);
     brn = (ImageView)findViewById(0x7f0d00d2);
     bro = (ImageView)findViewById(0x7f0d00cf);
     bri = (EditText)findViewById(0x7f0d00d0);
     brj = (TextView)findViewById(0x7f0d00d5);
     brj.setVisibility(0);
     brm = (Button)findViewById(0x7f0d00d6);
     brm.setOnClickListener(this);
     brk = (TextView)findViewById(0x7f0d00d3);
     brk.setVisibility(4);
     brl = (TextView)findViewById(0x7f0d00d1);
     brl.setVisibility(4);
     brq = getResources().getColor(0x7f0c00b7);
     brt = getResources().getDimensionPixelOffset(0x7f0900b4);
     findViewById(0x7f0d00cd).setOnClickListener(this);
     Object obj = (arx)findViewById(0x7f0d00cc);
     Object obj1 = (apk)findViewById(0x7f0d00a9);
     if (super.bdr != null)
     {
         bundle = super.bdr;
     } else
     {
         bundle = new qe();
     }
     brA = new apn(new aob(((arx) (obj)), ((apk) (obj1)), bundle), findViewById(0x7f0d00d7));
     bundle = getIntent();
     if (bundle != null)
     {
         bundle = bundle.getExtras();
         if (bundle != null)
         {
             obj = (PsUser)bundle.getParcelable("e_user");
             obj1 = bundle.getString("e_suggested");
             brh.setText(((CharSequence) (obj1)));
             bri.setText(((PsUser) (obj)).displayName);
             beU = (ImageView)findViewById(0x7f0d0075);
             obj1 = _cls1D3C._mth02CA(this);
             obj = ((PsUser) (obj)).getProfileUrlLarge();
             ((_cls1D27)((_cls1D5A) (obj1))._mth02CA(java/lang/String).FF70(obj))._mth02CA(beU);
             bry = bundle.getString("e_session_key");
             brz = bundle.getString("e_session_secret");
         }
     }
     bri.addTextChangedListener(brC);
     bundle = (TextView)findViewById(0x7f0d00d4);
     obj = new akz(this);
     obj1 = new alb(this);
     aos._mth02CA(bundle, getString(0x7f060162), getResources().getColor(0x7f0c0035), new android.view.View.OnClickListener[] {
         obj, obj1
     });
     brv = true;
     bundle = ql._mth043E();
     bundle.PM = false;
     mLocalEventBus = new ql(bundle);
     mLocalEventBus._mth02CA(this, false, 0);
 }