Questions tagged [jetpack]

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

445 questions
3
votes
2 answers

How to create watermark text effect in jetpack compose

I would like to create a watermark effect in my app using text as shown in the picture below. I achieved this by using canvas and bitmap, is there any other reliable way to do this? Here is my composable function @Composable fun WaterMark( …
Sultan
  • 119
  • 1
  • 12
3
votes
3 answers

How to fix preview for Jetpack Compose?

I try to use Jetpack Compose in my existing project the problem is if I include @Preview annotation it doesn't show me anything, just this There is my code @Preview @Composable fun test() { Text(text = "HELLO") } What am I missing here? UPD I…
Sirop4ik
  • 4,543
  • 2
  • 54
  • 121
3
votes
0 answers

Wordpress MYSQL Deadlock every couple days

I have a WordPress site running on an Amazon EC2 instance, and for the past couple weeks the site has been crashing early in the morning about every 3-4 days. I took a look at Apache and MYSQL logs and it looks like I am having a recurring…
Peter Milionis
  • 103
  • 1
  • 6
3
votes
1 answer

Wordpress - Jetpack infinite scroll "post-load" event not firing

I recently started playing around with the infinite scroll feature of the wordpress jetpack plugin. It seems to work ok, but I'm trying to integrate with Masonry, so I need to use the post-load event that's supposed to fire when Jetpack loads more…
aek
  • 825
  • 1
  • 9
  • 17
3
votes
3 answers

How to get list of categories of a wordpress blog using wordpress REST api

First of all i know it is a theoretical question and it contains no code but actually this time i don't have code, i need your suggestion on this issue. Question: Is it possible to fetch the name of all categories from a wordpress.com blog or a…
Peeyush
  • 4,728
  • 16
  • 64
  • 92
2
votes
0 answers

Error while adding accompanist-navigation-animation library

An issue was found when checking AAR metadata: Dependency 'androidx.emoji2:emoji2:1.4.0-rc01' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against…
2
votes
2 answers

Font resources doesn't change after changing locale in Jetpack Compose

I'm using Compose in Fragment and here's my fragment code: override fun onViewCreated(view: View, savedInstanceState: Bundle?) { binding.composeView.apply { …
2
votes
0 answers

How to load html in AccompanistWebViewClient using jetpack compose

How to load html in AccompanistWebViewClient using jetpack compose val webViewClient = remember { object : AccompanistWebViewClient() { } } val chromeViewClient = remember { object : AccompanistWebChromeClient() { …
Slava
  • 443
  • 4
  • 12
2
votes
1 answer

How to set bitrate and FPS in Media3 Transformer

I want to compress videos for sharing in my Android app. These are my preferred settings: Resolution: 1280x720 Container: MP4 Video codec: H.264 Video bitrate: 3 Mbit/s Video FPS: 30 Audio codec: AAC Audio sampling rate: 44100 Audio bitrate:…
ShahiM
  • 3,179
  • 1
  • 33
  • 58
2
votes
2 answers

How to detect TextField cursor lies on which line in Android Jetpack compose

How to detect TextField cursor lies on which line in Android Jetpack compose.
2
votes
1 answer

Building ROOM without ViewModel in Jetpack Compose has problems

I built a very simple ROOM in Jetpack Compose, not using ViewModel for study. The app stops. The codes are as follows. Thanks in advance any suggestions. First, I built the ROOM database as follows, following the standard method: @Entity(tableName =…
gnoejh
  • 325
  • 4
  • 16
2
votes
1 answer

How to change status bar default text color in Android

How to change the status bar default text color in Android - Jetpack composes, Change the status bar text color from White to Black (Time, Wifi and network icon, etc...)
2
votes
1 answer

Android Compose Test Slider Functionality

var sliderValue by remember { mutableStateOf(value = 0f) } Slider( value = sliderValue, valueRange = 0f..100f, onValueChange = { sliderValue = it }, ) I have this slider code, now I'm writing ScreenShot…
2
votes
2 answers

Jetpack Compose - Should modifier parameter be applied to the outer / top most view only?

In jetpack compose, when passing a modifier into my composable, should the modifier be applied only to the outer most view, or all of the subviews as well? Here's a quick example: fun SomeComposable(modifier: Modifier = Modifier) { …
SomeKoder
  • 575
  • 4
  • 14
2
votes
1 answer

Jetpack Compose Box filled the whole screen

I am newbie in learning Android Jetpack Compose. And I am currently creating a Box, set the modifier height and width to be 100 dp, but when I put the Box outside of the Column, it fills the whole layout instead of being kept at the size of 100 x…
1 2
3
29 30