Remove intel select on story list.

This commit is contained in:
ojiikun 2013-05-17 17:35:42 +00:00
parent 74d6301df3
commit a9d97ce734
2 changed files with 2 additions and 25 deletions

View file

@ -5,31 +5,10 @@
android:background="@drawable/activity_background"
android:orientation="vertical" >
<fragment
android:id="@+id/fragment_feedintelligenceselector"
android:name="com.newsblur.fragment.FeedIntelligenceSelectorFragment"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:tag="feedIntelligenceSelector" />
<LinearLayout
android:id="@+id/activity_itemlist_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/fragment_feedintelligenceselector"
android:layout_alignParentTop="true" />
<View
android:layout_width="fill_parent"
android:layout_height="8dip"
android:layout_alignParentTop="true"
android:background="@drawable/orangeline_shadow" />
<View
android:layout_width="fill_parent"
android:layout_height="8dip"
android:layout_above="@id/fragment_feedintelligenceselector"
android:background="@drawable/inverted_orangeline_shadow" />
</RelativeLayout>
</RelativeLayout>

View file

@ -26,7 +26,6 @@ public abstract class ItemsList extends NbFragmentActivity implements SyncUpdate
protected ItemListFragment itemListFragment;
protected FragmentManager fragmentManager;
protected SyncUpdateFragment syncFragment;
private FeedIntelligenceSelectorFragment intelligenceSelectorFragment;
protected String TAG = "ItemsList";
protected int currentState;
private Menu menu;
@ -41,11 +40,10 @@ public abstract class ItemsList extends NbFragmentActivity implements SyncUpdate
setContentView(R.layout.activity_itemslist);
fragmentManager = getSupportFragmentManager();
// our intel state is entirely determined by the state of the Main view
currentState = getIntent().getIntExtra(EXTRA_STATE, 0);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
intelligenceSelectorFragment = (FeedIntelligenceSelectorFragment) fragmentManager.findFragmentByTag(FeedIntelligenceSelectorFragment.FRAGMENT_TAG);
intelligenceSelectorFragment.setState(currentState);
}