In the Android docs, I saw the setAlpha 1 API. I have a view that I am trying to use setAlpha (float) in the view, but the compiler says that such a method does not exist. Did I miss something?
As far as I can tell, http://developer.android.com/reference/android/view/View.html#setAlpha(float ) is supported only from API level 11 (not 1).
If you want to use this, you need to add something like
<uses-sdk android:minSdkVersion="11"/>
Set the presentation background to color using the ARGB scheme.
android:background=#77777777 sets it to a dull translucent gray
android:background=#77777777
This does not work with ListView items, which is an exception.
Source: https://habr.com/ru/post/1390372/More articles:java.lang.SecurityException: permission denied: start execution - androidpreload the package into memory without attaching it - rHow to run the ping command and get the total number of ping hosts? - javaDjango - Unitest or Doctest? - pythonSplitting SQL on a non-corporate server? - sqlHow to recalculate your preferred JComponent size? - javaThe basics of compiling binary files without dependencies using gnu toolchain - cHow to create group membership in TFS? - tfsCompatibility between MS Office Excel 2007 and 2010 Add to - c #Using Facebook, Twitter, or GMail to Login to My App - iosAll Articles