Working activity without bottom navigation
This commit is contained in:
parent
d4aa5b5261
commit
f5edf67c15
@ -173,10 +173,10 @@ public abstract class BaseActivity
|
||||
setFragment(sharingFragment);
|
||||
|
||||
} else if (itemId == R.id.nav_user_list) {
|
||||
//removeFragment(sharingFragment);
|
||||
removeFragment(sharingFragment);
|
||||
startActivity(new Intent(this, UsersListActivity.class));
|
||||
}
|
||||
finish();
|
||||
//finish();
|
||||
}, 300);
|
||||
|
||||
return true;
|
||||
|
@ -219,17 +219,17 @@ public class UsersListActivity extends BaseActivity {
|
||||
disposable.dispose();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
protected int getContentViewId() {
|
||||
return R.layout.users_list;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
protected int getNavigationMenuItemId() {
|
||||
return R.id.nav_user_list;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
}
|
||||
|
@ -5,12 +5,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".activity.UsersListActivity">
|
||||
<!--
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
-->
|
||||
|
||||
|
||||
<include layout="@layout/users_list_main" />
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
tools:context=".activity.UsersListActivity"
|
||||
tools:showIn="@layout/users_list_main">
|
||||
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user