In Java, it was like:
layoutParams.setGravity(Gravity.END|Gravity.BOTTOM);
How to do it in Kotlin?
This operator is called "bitwise" or "has an analog in Kotlin." Use it like this:
layoutParams.gravity = Gravity.END or Gravity.BOTTOM
Source: https://habr.com/ru/post/1660685/More articles:Caching external resources using sw-precache - progressive-web-appsUnit tests (Quick / Nimble) - (no tests found) - iospandas error when comparing two data with sorting - pythonhow to install python3-tk in centos? - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1660684/phplaravel-repository-pattern-proper-logic-in-creating-complex-objects&usg=ALkJrhj1-L275v9zS05sKF-Oig8RX0CchwAngular2 - не смотреть в 'node_modules' для конкретного модуля - angular, column имеет тип jsonb, но выражение имеет тип text [] - arraysTensorflow: Do TFRecords generated files always have a larger file size than the original data? - pythonAdd value to list - immutable.jsHow to get a list of files to commit using JGit - javaAll Articles