Skip to content

Commit

Permalink
Removes toolbar from box office page.
Browse files Browse the repository at this point in the history
  • Loading branch information
MRezaNasirloo committed Jul 14, 2018
1 parent 02e97db commit c11b7c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 34 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ android {
applicationId "com.mrezanasirloo.slick.movies"
minSdkVersion 21
targetSdkVersion 27
versionCode 21
versionName "0.21 beta ${SHA}"
versionCode 30
versionName "0.3.0 beta ${SHA}"
testInstrumentationRunner "com.github.pedramrn.slick.parent.utils.di.TestRunnerDagger"
vectorDrawables.useSupportLibrary = true
dataBinding.enabled = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable final ViewG
PresenterBoxOffice_Slick.bind(this);
final ControllerBoxOfficeBinding binding = inflate(inflater, container, false);

binding.toolbar.setTitle("Box Office");
setToolbar(binding.toolbar);
// binding.toolbar.setTitle("Box Office");
// setToolbar(binding.toolbar);

adapter = new GroupAdapter();
updatingGroup = new UpdatingGroup();
Expand Down
35 changes: 5 additions & 30 deletions app/src/main/res/layout/controller_box_office.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,12 @@
xmlns:tools="http://schemas.android.com/tools"
>

<android.support.design.widget.CoordinatorLayout
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
>

<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
>

<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
/>

</android.support.design.widget.AppBarLayout>


<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/row_box_office"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
/>

</android.support.design.widget.CoordinatorLayout>

app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:listitem="@layout/row_box_office"
/>

</layout>

0 comments on commit c11b7c5

Please sign in to comment.