Skip to content

Commit

Permalink
remove overlay animation
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianWessel committed Oct 14, 2021
1 parent a44c938 commit 0874e69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,6 @@

</LinearLayout>

<!-- Overlay that dims the screen -->
<FrameLayout
android:id="@+id/overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#3f3f3f3f"
android:visibility="gone"/>

</RelativeLayout>
</LinearLayout>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public class CarSelectionActivity extends BaseInjectorActivity implements CarSel
protected Toolbar mExpToolbar;
@BindView(R.id.actvity_car_selection_layout_loading)
protected View loadingView;
@BindView(R.id.overlay)
protected View overlayView;

@BindView(R.id.activity_car_selection_new_car_fab)
protected FloatingActionButton mFab;
Expand Down Expand Up @@ -192,7 +190,6 @@ private boolean showAddCarFragment() {
LOG.info("addCarFragment is already visible.");
return false;
}
ECAnimationUtils.animateShowView(this, overlayView, R.anim.fade_in);
ECAnimationUtils.animateHideView(this, mFab, R.anim.fade_out);
this.addCarFragment = new CarSelectionAddCarFragment();
getSupportFragmentManager().beginTransaction()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ public void onComplete() {

public void closeThisFragment() {

ECAnimationUtils.animateHideView(getContext(),
((CarSelectionActivity) getActivity()).overlayView, R.anim.fade_out);
ECAnimationUtils.animateHideView(getContext(), R.anim
.translate_slide_out_top_fragment, toolbar, toolbarExp);
ECAnimationUtils.animateHideView(getContext(), mViewPager, R.anim
Expand Down

0 comments on commit 0874e69

Please sign in to comment.