colour

  1. R

    Android Question Get contrast color for (partially) transparent label

    Using the code in this thread: https://www.b4x.com/android/forum/threads/achieving-a-contrast-between-label-color-and-label-textcolor.120593/post-753992 Trying to get the contrasting text colour for a (partially) transparent label where the parent is a non-transparent panel. In the great...
  2. R

    Android Question swap colours of bitmap

    Using .png images for ACToolbar icons. Produce the bitmapdrawables with this code: Sub BitmapDrawableFromFile(strFolder As String, strFile As String) As BitmapDrawable Dim bmp As Bitmap Dim bmpd As BitmapDrawable bmp = LoadBitmap(strFolder, strFile) bmpd.Initialize(bmp) Return bmpd End...
Top