B4A Library 20 LoadingViews

Similar threads

B4A Library IPCamView
B4A Library msEmoji V1.0.0
B4A Library PDFium - Pdfview2
B4A Library CreditsRollView V1.0.0
B4A Library SnakeView

DonManfred

Expert
Licensed User
This is a wrap for this github project.



LoadingViews
Author:
DonManfred (wrapper)
Version: 1.2
  • LVBattery
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • BatteryOrientation As BatteryOrientation [write only]
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • ShowNum As Boolean [write only]
    • Tag As Object
    • Top As Int
    • Value As Int [write only]
    • Visible As Boolean
    • Width As Int
  • LVBlock
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVChromeLogo
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVCircular
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVCircularCD
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVCircularJump
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVCircularRing
    Fields:
    • ba As BA
    Methods:
    • startAnim
    • stopAnim
    Properties:
    • Background As Drawable
    • Color As Int [write only]
    • Enabled As Boolean
    • Height As Int
    • Left As Int
    • Parent As Object [read only]
    • Tag As Object
    • Top As Int
    • Visible As Boolean
    • Width As Int
  • LVCircularSmile
    Fields:
    • ba As BA
    Methods:
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVCircularZoom
Fields:

  • ba As BA
Methods:
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVEatBeans
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVFinePoiStar
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVFunnyBar
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVGears
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVGearsTwo
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVGhost
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVLineWithText
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Value As Int [write only]
  • Visible As Boolean
  • Width As Int
[*]LVNews
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVPlayBall
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVRingProgress
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[*]LVWifi
Fields:

  • ba As BA
Methods:
  • BringToFront
  • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
  • Initialize (EventName As String)
  • Invalidate
  • Invalidate2 (arg0 As Rect)
  • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • IsInitialized As Boolean
  • RemoveView
  • RequestFocus As Boolean
  • SendToBack
  • SetBackgroundImage (arg0 As Bitmap)
  • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
  • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
  • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
  • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
  • startAnim
  • stopAnim
Properties:
  • Background As Drawable
  • Color As Int [write only]
  • Enabled As Boolean
  • Height As Int
  • Left As Int
  • Parent As Object [read only]
  • Tag As Object
  • Top As Int
  • Visible As Boolean
  • Width As Int
[/list]
 

Attachments

Last edited:

aaronk

Well-Known Member
Licensed User
Hi,

I have 2 questions..

1. Is there a Minimum Android version this is supported on ?

2. I noticed that the icons are white when you run the app. I changed the background to white, how can I make the icon black instead ?

I tried the following code but the icon is still white:

B4X:
LVCircularZoom1.SetColorAnimated(0,0,0)
LVCircularZoom1.startAnim
 

Rusty

Well-Known Member
Licensed User
I'm trying to use the LVChrome loading view and when used as a custom view, the TEXT property is exposed, but in the environment, it is not.
Can this be exposed as well?
Thanks Rusty
 

DonManfred

Expert
Licensed User
Can this be exposed as well?
Where do you see it exposed? In the github code there is no text in this component...

B4X:
package com.github;

import android.animation.ArgbEvaluator;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.graphics.Shader;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation.LinearInterpolator;
import android.view.animation.RotateAnimation;

/**
* Created by lumingmin on 16/6/24.
*/

public class LVChromeLogo extends View {

    private Paint mPaintRed, mPaintYellow, mPaintGreen, mPaintBulue, mPaintWhite, mPaintLine;

    private float mWidth = 0f;
    private float mPadding = 0f;


    ArgbEvaluator evaluator;
    private int endColor = Color.rgb(0, 0, 0);
    private int startYellowColor = Color.argb(100, 253, 197, 53);

    private int startGreenColor = Color.argb(100, 27, 147, 76);
    private int startRedColor = Color.argb(100, 211, 57, 53);


    private int lineColor;
    RotateAnimation mProgerssRotateAnim;

    public LVChromeLogo(Context context) {
        this(context, null);
    }

    public LVChromeLogo(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public LVChromeLogo(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initPaint();
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);

        if (getMeasuredWidth() > getHeight())
            mWidth = getMeasuredHeight();
        else
            mWidth = getMeasuredWidth();


        mPadding = dip2px(1);


    }


    private void drawSector(Canvas canvas)
    {
        RectF rectF = new RectF(mPadding, mPadding,
                mWidth - mPadding, mWidth - mPadding);
        canvas.drawArc(rectF, -30, 120
                , true, mPaintYellow);
        canvas.drawArc(rectF, 90, 120
                , true, mPaintGreen);
        canvas.drawArc(rectF, 210, 120
                , true, mPaintRed);
    }


    private void drawTriangle(Canvas canvas) {
        Point point1 = getPoint((mWidth / 2 - mPadding) / 2, 90);
        Point point2 = getPoint((mWidth / 2 - mPadding), 150);
        Point point3 = getPoint((mWidth / 2 - mPadding) / 2, 210);
        Point point4 = getPoint((mWidth / 2 - mPadding), 270);
        Point point5 = getPoint((mWidth / 2 - mPadding) / 2, 330);
        Point point6 = getPoint((mWidth / 2 - mPadding), 30);
        Path pathYellow = new Path();
        pathYellow.moveTo(mWidth / 2 - point1.x, mWidth / 2 - point1.y);
        pathYellow.lineTo(mWidth / 2 - point2.x, mWidth / 2 - point2.y);
        pathYellow.lineTo(mWidth / 2 - point3.x, mWidth / 2 - point3.y);
        pathYellow.close();
        Path pathGreen = new Path();
        pathGreen.moveTo(mWidth / 2 - point3.x, mWidth / 2 - point3.y);
        pathGreen.lineTo(mWidth / 2 - point4.x, mWidth / 2 - point4.y);
        pathGreen.lineTo(mWidth / 2 - point5.x, mWidth / 2 - point5.y);
        pathGreen.close();
        Path pathRed = new Path();
        pathRed.moveTo(mWidth / 2 - point5.x, mWidth / 2 - point5.y);
        pathRed.lineTo(mWidth / 2 - point6.x, mWidth / 2 - point6.y);
        pathRed.lineTo(mWidth / 2 - point1.x, mWidth / 2 - point1.y);
        pathRed.close();
        canvas.drawPath(pathGreen, mPaintGreen);
        canvas.drawPath(pathRed, mPaintRed);
        canvas.drawPath(pathYellow, mPaintYellow);

        for (int i = 0; i < Math.abs(mWidth / 2 - point2.y) / 2f; i++) {

            int fraction = 35 - i;
            if (fraction > 0) {
                lineColor = (Integer) evaluator.evaluate(fraction / 100f, startYellowColor, endColor);
                mPaintLine.setColor(lineColor);
            } else {
                mPaintLine.setColor(Color.argb(0, 0, 0, 0));
            }

            canvas.drawLine(mWidth / 2, point2.y + i,
                    mWidth / 2 - point2.x * 8f / 10f, mWidth / 2 - point2.y
                    , mPaintLine);

        }


        for (int i = 0; i < Math.abs(point3.x) / 2f; i++) {
            int fraction = 35 - i;
            if (fraction > 0) {
                lineColor = (Integer) evaluator.evaluate(fraction / 100f, startGreenColor, endColor);
                mPaintLine.setColor(lineColor);
            } else

                mPaintLine.setColor(Color.argb(0, 0, 0, 0));

            canvas.drawLine(mWidth / 2 - point3.x - i, mWidth / 2 - point3.y,
                    mWidth / 2 - point4.x, mWidth / 2 - point4.y
                    , mPaintLine);


        }


        for (int i = 0; i < Math.abs(mWidth / 2 - point5.x) / 2f; i++) {
            int fraction = 30 - i;
            if (fraction > 0) {
                lineColor = (Integer) evaluator.evaluate(fraction / 100f, startRedColor, endColor);
                mPaintLine.setColor(lineColor);
            } else

                mPaintLine.setColor(Color.argb(0, 0, 0, 0));
            canvas.drawLine(mWidth / 2 - point5.x + i, mWidth / 2 - point5.y,
                    mWidth / 2 - point6.x, mWidth / 2 - point6.y
                    , mPaintLine);

        }

    }


    private void drawCircle(Canvas canvas) {
        canvas.drawCircle(mWidth / 2, mWidth / 2, (mWidth / 2 - mPadding) / 2, mPaintWhite);
        canvas.drawCircle(mWidth / 2, mWidth / 2, (mWidth / 2 - mPadding) / 2 / 6 * 5, mPaintBulue);
    }


    @SuppressLint("NewApi")
    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        setLayerType(LAYER_TYPE_SOFTWARE, null);
        canvas.save();

        drawSector(canvas);
        drawTriangle(canvas);
        drawCircle(canvas);
        canvas.restore();
    }

    public void startAnim() {
        stopAnim();
        mProgerssRotateAnim.setDuration(1500);
        startAnimation(mProgerssRotateAnim);
    }

    public void stopAnim() {
        clearAnimation();
    }


    private class Point {
        private float x;
        private float y;

        private Point(float x, float y) {
            this.x = x;
            this.y = y;
        }


    }

    private Point getPoint(float radius, float angle) {
        float x = (float) ((radius) * Math.cos(angle * Math.PI / 180f));
        float y = (float) ((radius) * Math.sin(angle * Math.PI / 180f));
        Point p = new Point(x, y);
        return p;
    }

    private void initPaint() {
        evaluator = new ArgbEvaluator();

        mPaintRed = new Paint();
        mPaintRed.setAntiAlias(true);
        mPaintRed.setStyle(Paint.Style.FILL);
        mPaintRed.setColor(Color.rgb(211, 57, 53));


        mPaintYellow = new Paint();
        mPaintYellow.setAntiAlias(true);
        mPaintYellow.setStyle(Paint.Style.FILL);
        mPaintYellow.setColor(Color.rgb(253, 197, 53));


        mPaintGreen = new Paint();
        mPaintGreen.setAntiAlias(true);
        mPaintGreen.setStyle(Paint.Style.FILL);
        mPaintGreen.setColor(Color.rgb(27, 147, 76));


        mPaintBulue = new Paint();
        mPaintBulue.setAntiAlias(true);
        mPaintBulue.setStyle(Paint.Style.FILL);
        mPaintBulue.setColor(Color.rgb(61, 117, 242));

        mPaintWhite = new Paint();
        mPaintWhite.setAntiAlias(true);
        mPaintWhite.setStyle(Paint.Style.FILL);
        mPaintWhite.setColor(Color.WHITE);


        mPaintLine = new Paint();
        mPaintLine.setAntiAlias(true);
        mPaintLine.setStyle(Paint.Style.FILL);
        mPaintLine.setColor(Color.argb(30, 0, 0, 0));


        mProgerssRotateAnim = new RotateAnimation(0f, 360f, android.view.animation.Animation.RELATIVE_TO_SELF,
                0.5f, android.view.animation.Animation.RELATIVE_TO_SELF, 0.5f);
        mProgerssRotateAnim.setRepeatCount(-1);
        mProgerssRotateAnim.setInterpolator(new LinearInterpolator());
        mProgerssRotateAnim.setFillAfter(true);


    }

    public int dip2px(float dpValue) {
        final float scale = getContext().getResources().getDisplayMetrics().density;
        return (int) (dpValue * scale + 0.5f);
    }
}
And due to this the wrapper looks like

B4X:
package de.donmanfred;

import com.github.LVChromeLogo;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.util.DisplayMetrics;
import android.view.ViewGroup;
import android.view.WindowManager.LayoutParams;
import android.widget.CompoundButton;
import android.widget.Switch;
import android.widget.CompoundButton.OnCheckedChangeListener;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.DesignerProperties;
import anywheresoftware.b4a.BA.Hide;
import anywheresoftware.b4a.BA.Pixel;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.Property;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.keywords.Common.DesignerCustomView;
import anywheresoftware.b4a.objects.CustomViewWrapper;
import anywheresoftware.b4a.objects.LabelWrapper;
import anywheresoftware.b4a.objects.PanelWrapper;
import anywheresoftware.b4a.objects.ViewWrapper;
import anywheresoftware.b4a.objects.collections.Map;

@Version(1.11f)
@ShortName("LVChromeLogo")
@Author(value = "DonManfred (wrapper)")
//@Permissions(values={"android.permission.INTERNET", "android.permission.ACCESS_NETWORK_STATE"})
//@Events(values={"onSigned(sign As Object)"})
@DependsOn(values={"com.android.support:support-v4"})

/**
* com.android.support:support-v4
* com.android.support:appcompat-v7
* com.android.support:cardview-v7
* com.android.support:gridlayout-v7
* com.android.support:mediarouter-v7
* com.android.support:palette-v7
* com.android.support:recyclerview-v
* com.android.support:preference-v7
* com.android.support:support-v13
*/


public class LVChromeLogoWrapper extends ViewWrapper<LVChromeLogo> implements DesignerCustomView{
    private BA ba;
    private String eventName;

    @Override
    public void DesignerCreateView(PanelWrapper base, LabelWrapper lw, Map props) {
        //getObject().setChecked((Boolean)props.Get("Checked"));
        CustomViewWrapper.replaceBaseWithView(base, getObject());
    }
    public void Initialize(final BA ba, String EventName) {
        _initialize(ba, null, EventName);
    }

    @Hide
    @Override
    public void _initialize(final BA ba, Object activityClass, String EventName) {
        this.eventName = EventName.toLowerCase(BA.cul);
        this.ba = ba;

        final LVChromeLogo _obj = new LVChromeLogo(ba.context);
        final String eventName = EventName.toLowerCase(BA.cul);
        setObject(_obj);
        innerInitialize(ba, eventName, true);
    }
  public void startAnim() {
      getObject().startAnim();
  }
  public void stopAnim() {
      getObject().stopAnim();
  }

       
}
 

Rusty

Well-Known Member
Licensed User
upload_2016-8-8_5-17-31.png


See the yellow highlight.
The idea is to be able to put a label within the view, but if it isn't possible, I can overlay an actual label...I think.
Thanks Don
Rusty
 

Rusty

Well-Known Member
Licensed User
Thanks Don.
I'll add a label :), no problem.
Thanks for the wrapper
Rusty
 

kkkpe

Member
Licensed User
using this library LoadingView with the library appcompat 3.3 gives me this error:
B4X:
B4A version: 6.00
Parsing code.    (0.05s)
Compiling code.    (0.19s)
   
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.01s)
Generating R file.    Error
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:28: error: Attribute "title" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:29: error: Attribute "height" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:31: error: Attribute "isLightTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:43: error: Attribute "windowActionBar" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:46: error: Attribute "windowNoTitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:51: error: Attribute "windowActionBarOverlay" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:55: error: Attribute "windowActionModeOverlay" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:60: error: Attribute "windowFixedWidthMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:64: error: Attribute "windowFixedHeightMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:69: error: Attribute "windowFixedWidthMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:73: error: Attribute "windowFixedHeightMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:79: error: Attribute "windowMinWidthMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:84: error: Attribute "windowMinWidthMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:94: error: Attribute "actionBarTabStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:95: error: Attribute "actionBarTabBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:96: error: Attribute "actionBarTabTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:97: error: Attribute "actionOverflowButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:98: error: Attribute "actionOverflowMenuStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:101: error: Attribute "actionBarPopupTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:103: error: Attribute "actionBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:108: error: Attribute "actionBarSplitStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:112: error: Attribute "actionBarTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:120: error: Attribute "actionBarWidgetTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:123: error: Attribute "actionBarSize" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:127: error: Attribute "actionBarDivider" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:129: error: Attribute "actionBarItemBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:132: error: Attribute "actionMenuTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:135: error: Attribute "actionMenuTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:142: error: Attribute "actionModeStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:143: error: Attribute "actionModeCloseButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:145: error: Attribute "actionModeBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:147: error: Attribute "actionModeSplitBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:149: error: Attribute "actionModeCloseDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:151: error: Attribute "actionModeCutDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:153: error: Attribute "actionModeCopyDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:155: error: Attribute "actionModePasteDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:157: error: Attribute "actionModeSelectAllDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:159: error: Attribute "actionModeShareDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:161: error: Attribute "actionModeFindDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:163: error: Attribute "actionModeWebSearchDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:166: error: Attribute "actionModePopupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:174: error: Attribute "textAppearanceLargePopupMenu" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:176: error: Attribute "textAppearanceSmallPopupMenu" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:185: error: Attribute "dialogTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:187: error: Attribute "dialogPreferredPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:189: error: Attribute "listDividerAlertDialog" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:197: error: Attribute "actionDropDownStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:199: error: Attribute "dropdownListPreferredItemHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:201: error: Attribute "spinnerDropDownItemStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:203: error: Attribute "homeAsUpIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:206: error: Attribute "actionButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:209: error: Attribute "buttonBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:211: error: Attribute "buttonBarButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:215: error: Attribute "selectableItemBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:217: error: Attribute "selectableItemBackgroundBorderless" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:219: error: Attribute "borderlessButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:221: error: Attribute "dividerVertical" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:223: error: Attribute "dividerHorizontal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:225: error: Attribute "activityChooserViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:228: error: Attribute "toolbarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:230: error: Attribute "toolbarNavigationButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:233: error: Attribute "popupMenuStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:235: error: Attribute "popupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:238: error: Attribute "editTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:240: error: Attribute "editTextBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:243: error: Attribute "imageButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:250: error: Attribute "textAppearanceSearchResultTitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:252: error: Attribute "textAppearanceSearchResultSubtitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:254: error: Attribute "textColorSearchUrl" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:256: error: Attribute "searchViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:264: error: Attribute "listPreferredItemHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:266: error: Attribute "listPreferredItemHeightSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:268: error: Attribute "listPreferredItemHeightLarge" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:271: error: Attribute "listPreferredItemPaddingLeft" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:273: error: Attribute "listPreferredItemPaddingRight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:276: error: Attribute "dropDownListViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:277: error: Attribute "listPopupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:280: error: Attribute "textAppearanceListItem" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:282: error: Attribute "textAppearanceListItemSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:291: error: Attribute "panelBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:293: error: Attribute "panelMenuListWidth" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:295: error: Attribute "panelMenuListTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:297: error: Attribute "listChoiceBackgroundIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:306: error: Attribute "colorPrimary" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:310: error: Attribute "colorPrimaryDark" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:314: error: Attribute "colorAccent" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:317: error: Attribute "colorControlNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:320: error: Attribute "colorControlActivated" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:323: error: Attribute "colorControlHighlight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:326: error: Attribute "colorButtonNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:329: error: Attribute "colorSwitchThumbNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:332: error: Attribute "controlBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:338: error: Attribute "alertDialogStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:339: error: Attribute "alertDialogButtonGroupStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:340: error: Attribute "alertDialogCenterButtons" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:342: error: Attribute "alertDialogTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:345: error: Attribute "textColorAlertDialogListItem" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:348: error: Attribute "buttonBarPositiveButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:351: error: Attribute "buttonBarNegativeButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:354: error: Attribute "buttonBarNeutralButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:362: error: Attribute "autoCompleteTextViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:364: error: Attribute "buttonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:366: error: Attribute "buttonStyleSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:368: error: Attribute "checkboxStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:370: error: Attribute "checkedTextViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:372: error: Attribute "editTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:374: error: Attribute "radioButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:376: error: Attribute "ratingBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:378: error: Attribute "ratingBarStyleIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:380: error: Attribute "ratingBarStyleSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:382: error: Attribute "seekBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:384: error: Attribute "spinnerStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:386: error: Attribute "switchStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:402: error: Attribute "navigationMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:411: error: Attribute "displayOptions" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:423: error: Attribute "subtitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:425: error: Attribute "titleTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:427: error: Attribute "subtitleTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:429: error: Attribute "icon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:431: error: Attribute "logo" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:433: error: Attribute "divider" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:435: error: Attribute "background" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:437: error: Attribute "backgroundStacked" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:439: error: Attribute "backgroundSplit" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:441: error: Attribute "customNavigationLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:445: error: Attribute "homeLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:447: error: Attribute "progressBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:449: error: Attribute "indeterminateProgressStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:451: error: Attribute "progressBarPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:456: error: Attribute "itemPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:458: error: Attribute "hideOnContentScroll" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:461: error: Attribute "contentInsetStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:464: error: Attribute "contentInsetEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:467: error: Attribute "contentInsetLeft" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:470: error: Attribute "contentInsetRight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:472: error: Attribute "elevation" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:475: error: Attribute "popupTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:499: error: Attribute "closeItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:504: error: Attribute "paddingStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:506: error: Attribute "paddingEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:515: error: Attribute "theme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:525: error: Attribute "backgroundTint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:528: error: Attribute "backgroundTintMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:562: error: Attribute "preserveIconSpacing" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:644: error: Attribute "showAsAction" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:669: error: Attribute "actionLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:674: error: Attribute "actionViewClass" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:680: error: Attribute "actionProviderClass" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:699: error: Attribute "layout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:702: error: Attribute "iconifiedByDefault" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:706: error: Attribute "queryHint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:709: error: Attribute "defaultQueryHint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:715: error: Attribute "closeIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:717: error: Attribute "goIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:719: error: Attribute "searchIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:721: error: Attribute "searchHintIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:723: error: Attribute "voiceIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:725: error: Attribute "commitIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:727: error: Attribute "suggestionRowLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:729: error: Attribute "queryBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:731: error: Attribute "submitBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:738: error: Attribute "initialActivityCount" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:745: error: Attribute "expandActivityOverflowButtonDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:750: error: Attribute "textAllCaps" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:777: error: Attribute "measureWithLargestChild" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:781: error: Attribute "showDividers" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:788: error: Attribute "dividerPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:799: error: Attribute "titleTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:800: error: Attribute "subtitleTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:804: error: Attribute "titleMargins" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:805: error: Attribute "titleMarginStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:806: error: Attribute "titleMarginEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:807: error: Attribute "titleMarginTop" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:808: error: Attribute "titleMarginBottom" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:813: error: Attribute "maxButtonHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:815: error: Attribute "collapseIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:817: error: Attribute "collapseContentDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:823: error: Attribute "navigationIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:826: error: Attribute "navigationContentDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:836: error: Attribute "logoDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:838: error: Attribute "titleTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:840: error: Attribute "subtitleTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:845: error: Attribute "state_above_anchor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:857: error: Attribute "overlapAnchor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:863: error: Attribute "color" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:865: error: Attribute "spinBars" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:867: error: Attribute "drawableSize" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:869: error: Attribute "gapBetweenBars" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:871: error: Attribute "arrowHeadLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:873: error: Attribute "arrowShaftLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:875: error: Attribute "barLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:877: error: Attribute "thickness" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:880: error: Attribute "drawerArrowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:895: error: Attribute "buttonTint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:898: error: Attribute "buttonTintMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:920: error: Attribute "track" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:926: error: Attribute "thumbTextPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:928: error: Attribute "switchTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:930: error: Attribute "switchMinWidth" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:932: error: Attribute "switchPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:934: error: Attribute "splitTrack" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:936: error: Attribute "showText" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:954: error: Attribute "buttonPanelSideLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:955: error: Attribute "listLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:956: error: Attribute "multiChoiceItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:957: error: Attribute "singleChoiceItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:958: error: Attribute "listItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:965: error: Attribute "allowStacking" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:971: error: Attribute "srcCompat" has already been defined
 

MarcoRome

Expert
Licensed User
using this library LoadingView with the library appcompat 3.3 gives me this error:
B4X:
B4A version: 6.00
Parsing code.    (0.05s)
Compiling code.    (0.19s)
  
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.01s)
Generating R file.    Error
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:28: error: Attribute "title" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:29: error: Attribute "height" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:31: error: Attribute "isLightTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:43: error: Attribute "windowActionBar" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:46: error: Attribute "windowNoTitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:51: error: Attribute "windowActionBarOverlay" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:55: error: Attribute "windowActionModeOverlay" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:60: error: Attribute "windowFixedWidthMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:64: error: Attribute "windowFixedHeightMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:69: error: Attribute "windowFixedWidthMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:73: error: Attribute "windowFixedHeightMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:79: error: Attribute "windowMinWidthMajor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:84: error: Attribute "windowMinWidthMinor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:94: error: Attribute "actionBarTabStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:95: error: Attribute "actionBarTabBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:96: error: Attribute "actionBarTabTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:97: error: Attribute "actionOverflowButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:98: error: Attribute "actionOverflowMenuStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:101: error: Attribute "actionBarPopupTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:103: error: Attribute "actionBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:108: error: Attribute "actionBarSplitStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:112: error: Attribute "actionBarTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:120: error: Attribute "actionBarWidgetTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:123: error: Attribute "actionBarSize" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:127: error: Attribute "actionBarDivider" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:129: error: Attribute "actionBarItemBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:132: error: Attribute "actionMenuTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:135: error: Attribute "actionMenuTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:142: error: Attribute "actionModeStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:143: error: Attribute "actionModeCloseButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:145: error: Attribute "actionModeBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:147: error: Attribute "actionModeSplitBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:149: error: Attribute "actionModeCloseDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:151: error: Attribute "actionModeCutDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:153: error: Attribute "actionModeCopyDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:155: error: Attribute "actionModePasteDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:157: error: Attribute "actionModeSelectAllDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:159: error: Attribute "actionModeShareDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:161: error: Attribute "actionModeFindDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:163: error: Attribute "actionModeWebSearchDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:166: error: Attribute "actionModePopupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:174: error: Attribute "textAppearanceLargePopupMenu" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:176: error: Attribute "textAppearanceSmallPopupMenu" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:185: error: Attribute "dialogTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:187: error: Attribute "dialogPreferredPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:189: error: Attribute "listDividerAlertDialog" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:197: error: Attribute "actionDropDownStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:199: error: Attribute "dropdownListPreferredItemHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:201: error: Attribute "spinnerDropDownItemStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:203: error: Attribute "homeAsUpIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:206: error: Attribute "actionButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:209: error: Attribute "buttonBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:211: error: Attribute "buttonBarButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:215: error: Attribute "selectableItemBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:217: error: Attribute "selectableItemBackgroundBorderless" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:219: error: Attribute "borderlessButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:221: error: Attribute "dividerVertical" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:223: error: Attribute "dividerHorizontal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:225: error: Attribute "activityChooserViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:228: error: Attribute "toolbarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:230: error: Attribute "toolbarNavigationButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:233: error: Attribute "popupMenuStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:235: error: Attribute "popupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:238: error: Attribute "editTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:240: error: Attribute "editTextBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:243: error: Attribute "imageButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:250: error: Attribute "textAppearanceSearchResultTitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:252: error: Attribute "textAppearanceSearchResultSubtitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:254: error: Attribute "textColorSearchUrl" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:256: error: Attribute "searchViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:264: error: Attribute "listPreferredItemHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:266: error: Attribute "listPreferredItemHeightSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:268: error: Attribute "listPreferredItemHeightLarge" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:271: error: Attribute "listPreferredItemPaddingLeft" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:273: error: Attribute "listPreferredItemPaddingRight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:276: error: Attribute "dropDownListViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:277: error: Attribute "listPopupWindowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:280: error: Attribute "textAppearanceListItem" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:282: error: Attribute "textAppearanceListItemSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:291: error: Attribute "panelBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:293: error: Attribute "panelMenuListWidth" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:295: error: Attribute "panelMenuListTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:297: error: Attribute "listChoiceBackgroundIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:306: error: Attribute "colorPrimary" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:310: error: Attribute "colorPrimaryDark" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:314: error: Attribute "colorAccent" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:317: error: Attribute "colorControlNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:320: error: Attribute "colorControlActivated" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:323: error: Attribute "colorControlHighlight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:326: error: Attribute "colorButtonNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:329: error: Attribute "colorSwitchThumbNormal" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:332: error: Attribute "controlBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:338: error: Attribute "alertDialogStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:339: error: Attribute "alertDialogButtonGroupStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:340: error: Attribute "alertDialogCenterButtons" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:342: error: Attribute "alertDialogTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:345: error: Attribute "textColorAlertDialogListItem" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:348: error: Attribute "buttonBarPositiveButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:351: error: Attribute "buttonBarNegativeButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:354: error: Attribute "buttonBarNeutralButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:362: error: Attribute "autoCompleteTextViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:364: error: Attribute "buttonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:366: error: Attribute "buttonStyleSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:368: error: Attribute "checkboxStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:370: error: Attribute "checkedTextViewStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:372: error: Attribute "editTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:374: error: Attribute "radioButtonStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:376: error: Attribute "ratingBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:378: error: Attribute "ratingBarStyleIndicator" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:380: error: Attribute "ratingBarStyleSmall" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:382: error: Attribute "seekBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:384: error: Attribute "spinnerStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:386: error: Attribute "switchStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:402: error: Attribute "navigationMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:411: error: Attribute "displayOptions" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:423: error: Attribute "subtitle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:425: error: Attribute "titleTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:427: error: Attribute "subtitleTextStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:429: error: Attribute "icon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:431: error: Attribute "logo" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:433: error: Attribute "divider" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:435: error: Attribute "background" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:437: error: Attribute "backgroundStacked" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:439: error: Attribute "backgroundSplit" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:441: error: Attribute "customNavigationLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:445: error: Attribute "homeLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:447: error: Attribute "progressBarStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:449: error: Attribute "indeterminateProgressStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:451: error: Attribute "progressBarPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:456: error: Attribute "itemPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:458: error: Attribute "hideOnContentScroll" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:461: error: Attribute "contentInsetStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:464: error: Attribute "contentInsetEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:467: error: Attribute "contentInsetLeft" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:470: error: Attribute "contentInsetRight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:472: error: Attribute "elevation" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:475: error: Attribute "popupTheme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:499: error: Attribute "closeItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:504: error: Attribute "paddingStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:506: error: Attribute "paddingEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:515: error: Attribute "theme" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:525: error: Attribute "backgroundTint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:528: error: Attribute "backgroundTintMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:562: error: Attribute "preserveIconSpacing" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:644: error: Attribute "showAsAction" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:669: error: Attribute "actionLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:674: error: Attribute "actionViewClass" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:680: error: Attribute "actionProviderClass" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:699: error: Attribute "layout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:702: error: Attribute "iconifiedByDefault" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:706: error: Attribute "queryHint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:709: error: Attribute "defaultQueryHint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:715: error: Attribute "closeIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:717: error: Attribute "goIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:719: error: Attribute "searchIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:721: error: Attribute "searchHintIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:723: error: Attribute "voiceIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:725: error: Attribute "commitIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:727: error: Attribute "suggestionRowLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:729: error: Attribute "queryBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:731: error: Attribute "submitBackground" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:738: error: Attribute "initialActivityCount" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:745: error: Attribute "expandActivityOverflowButtonDrawable" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:750: error: Attribute "textAllCaps" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:777: error: Attribute "measureWithLargestChild" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:781: error: Attribute "showDividers" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:788: error: Attribute "dividerPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:799: error: Attribute "titleTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:800: error: Attribute "subtitleTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:804: error: Attribute "titleMargins" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:805: error: Attribute "titleMarginStart" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:806: error: Attribute "titleMarginEnd" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:807: error: Attribute "titleMarginTop" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:808: error: Attribute "titleMarginBottom" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:813: error: Attribute "maxButtonHeight" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:815: error: Attribute "collapseIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:817: error: Attribute "collapseContentDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:823: error: Attribute "navigationIcon" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:826: error: Attribute "navigationContentDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:836: error: Attribute "logoDescription" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:838: error: Attribute "titleTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:840: error: Attribute "subtitleTextColor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:845: error: Attribute "state_above_anchor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:857: error: Attribute "overlapAnchor" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:863: error: Attribute "color" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:865: error: Attribute "spinBars" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:867: error: Attribute "drawableSize" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:869: error: Attribute "gapBetweenBars" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:871: error: Attribute "arrowHeadLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:873: error: Attribute "arrowShaftLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:875: error: Attribute "barLength" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:877: error: Attribute "thickness" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:880: error: Attribute "drawerArrowStyle" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:895: error: Attribute "buttonTint" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:898: error: Attribute "buttonTintMode" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:920: error: Attribute "track" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:926: error: Attribute "thumbTextPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:928: error: Attribute "switchTextAppearance" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:930: error: Attribute "switchMinWidth" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:932: error: Attribute "switchPadding" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:934: error: Attribute "splitTrack" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:936: error: Attribute "showText" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:954: error: Attribute "buttonPanelSideLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:955: error: Attribute "listLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:956: error: Attribute "multiChoiceItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:957: error: Attribute "singleChoiceItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:958: error: Attribute "listItemLayout" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:965: error: Attribute "allowStacking" has already been defined
c:\android\extras\android\support\v7\appcompat\res\values\attrs.xml:971: error: Attribute "srcCompat" has already been defined
Maybe because you have again ( with 3.3 isnt necessary ) in your code line:

#AdditionalRes: ......\b4a_appcompat, de.amberhome.objects.appcompat
#AdditionalRes: .....\ANDROID\extras\android\support\v7\appcompat\res, android.support.v7.appcompat
You try comment this line and all work
 

MarcoRome

Expert
Licensed User
Hi Don.

if i want Orientation Battery i see this:

upload_2016-9-18_18-38-32.png


in original code is:
B4X:
LVBattery.setBatteryOrientation(LVBattery.BatteryOrientation.VERTICAL);//LVBattery.BatteryOrientation.HORIZONTAL
but i dont see this properties "setBatteryOrientation"

Thank you
Marco
 

Ohanian

Active Member
Licensed User
Hi,

@DonManfred

I think you missed some methods like setViewColor , setBarColor , setRoundColor, ... !!
 
Top