diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2021-09-17 12:00:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 12:00:30 +0200 |
commit | d185381f7125a6512220cb61ddff93beaf78259f (patch) | |
tree | 9a139985ebc56e7dfd2cd8f467b042bbd8719237 /app/src/main/java/com/xc3fff0e/xmanager | |
parent | Add files via upload (diff) | |
download | xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar.gz xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar.bz2 xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar.lz xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar.xz xManager-d185381f7125a6512220cb61ddff93beaf78259f.tar.zst xManager-d185381f7125a6512220cb61ddff93beaf78259f.zip |
Diffstat (limited to 'app/src/main/java/com/xc3fff0e/xmanager')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/AJCode.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/AJCode.java b/app/src/main/java/com/xc3fff0e/xmanager/AJCode.java deleted file mode 100644 index 6860b0b..0000000 --- a/app/src/main/java/com/xc3fff0e/xmanager/AJCode.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.xc3fff0e.xmanager;
-
-import android.graphics.drawable.*;
-import android.view.*;
-import android.widget.*;
-import android.content.res.*;
-import android.graphics.*;
-import android.view.Gravity;
-
-public class AJCode{
-
-public static void setBackgroundGradient(View view, int color1, int color2){
-GradientDrawable gd = new GradientDrawable(GradientDrawable.Orientation.BL_TR, new int[] {color1,color2});
-view.setBackgroundDrawable(gd);
-}
-
-public static void setRoundedRipple(View v,int LT,int RT,int RB,int LB,int color1,int size,int color2,int color3){
-GradientDrawable shape = new GradientDrawable();
-shape.setColor(color1);
-shape.setCornerRadii(new float[]{(float)LT,(float)LT,(float)RT,(float)RT,(float)RB,(float)RB,(float)LB,(float)LB});
-shape.setStroke(size, color2);
-RippleDrawable ripdr = new RippleDrawable(new ColorStateList(new int[][]{new int[]{}}, new int[]{color3}), shape, null);
-v.setBackgroundDrawable(ripdr);
-}
-}
\ No newline at end of file |