Skip to content

Commit

Permalink
Merge pull request #845 from FabianWessel/fix/blackShadeScreen
Browse files Browse the repository at this point in the history
Fix/blackShadeSreen
  • Loading branch information
SebaDro authored Nov 2, 2021
2 parents 9d1c2a7 + 0874e69 commit 80b1271
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 80b1271

Please sign in to comment.