You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'
.
Consider something like:
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
package com.betvictor.casino.presentation.views | |
/* | |
* Copyright 2019 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
import android.animation.AnimatorSet; | |
import android.animation.ObjectAnimator; | |
import android.animation.TimeInterpolator; | |
import android.graphics.Canvas; | |
import android.graphics.drawable.Drawable; | |
import android.os.Build; | |
import android.support.v7.graphics.drawable.DrawableWrapper; | |
import android.util.Property; | |
import android.view.animation.BounceInterpolator; | |
import android.view.animation.LinearInterpolator; |
import android.animation.Animator | |
import android.animation.AnimatorListenerAdapter | |
import android.annotation.SuppressLint | |
import android.annotation.TargetApi | |
import android.app.FragmentTransaction | |
import android.app.Activity | |
import android.app.AlertDialog | |
import android.app.Fragment | |
import android.app.NotificationManager | |
import android.app.ProgressDialog |
import android.content.Context | |
import android.util.AttributeSet | |
import android.view.View | |
import androidx.coordinatorlayout.widget.CoordinatorLayout | |
import androidx.core.view.NestedScrollingChild3 | |
import androidx.core.view.NestedScrollingChildHelper | |
class NestedCoordinatorLayout @JvmOverloads constructor( | |
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 | |
) : CoordinatorLayout(context, attrs, defStyleAttr), NestedScrollingChild3 { |
/* | |
* Copyright 2019 Google LLC | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import android.app.Dialog | |
import android.os.Bundle | |
import android.view.LayoutInflater | |
import android.view.View | |
import androidx.fragment.app.DialogFragment | |
import com.google.android.material.dialog.MaterialAlertDialogBuilder | |
open class MaterialDialogFragment : DialogFragment() { | |
private var dialogView: View? = null |
// ============================================================================================ | |
// Code | |
// | |
// Example showing how to set a View's background to a tiled bitmap. | |
// assumes: res/drawable/pattern01.png - The bitmap representing an individual tile | |
public void setViewTiledBackground(View view, Resources resources) { | |
Bitmap tile = BitmapFactory.decodeResource(resources, R.drawable.pattern02); | |
BitmapDrawable tiledBitmapDrawable = new BitmapDrawable(resources, tile); | |
tiledBitmapDrawable.setTileModeX(Shader.TileMode.REPEAT); |