Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.novoda:bintray-release:0.3.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import android.view.Window;
import android.view.WindowManager;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.AccelerateInterpolator;
import android.widget.FrameLayout;
import android.widget.ImageView;

Expand Down Expand Up @@ -68,6 +67,10 @@ public class FlipProgressDialog extends DialogFragment {
private boolean canceledOnTouchOutside = true;


public FlipProgressDialog() {

}

public void setImage(ImageView image) {
this.image = image;
}
Expand Down Expand Up @@ -136,11 +139,6 @@ public void setCanceledOnTouchOutside(boolean canceledOnTouchOutside) {
this.canceledOnTouchOutside = canceledOnTouchOutside;
}

public FlipProgressDialog() {

}


@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down Expand Up @@ -200,7 +198,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
// Set Background color and shape
BackgroundView backgroundView = new BackgroundView();
backgroundColorWIthAlpha = backgroundView.createTransparentColor(backgroundColor, backgroundAlpha);
Drawable backgroundDrawable = backgroundView.setBackground(view,backgroundColorWIthAlpha,borderColor,cornerRadius,borderStroke);
Drawable backgroundDrawable = BackgroundView.setBackground(view, backgroundColorWIthAlpha, borderColor, cornerRadius, borderStroke);
getDialog().getWindow().setBackgroundDrawable(backgroundDrawable);

// Let's create the missing ImageView
Expand Down Expand Up @@ -289,4 +287,11 @@ public void fullRound(){
this.endAngle = endAngle*2;
}

@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {

Dialog dialog = super.onCreateDialog(savedInstanceState);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
return dialog;
}
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Tue May 16 10:51:43 IST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip