The situation: I’m a recently graduated IoT dev (c/cpp) that got hired to work on a small company’s mobile application (among other things). This app is being developed only by me, being the only local dev, and written in kotlin. So my skills are limited as is my understanding of the dept of Object Oriented ..
Category : background
First time poster here, any tips or thoughts are welcome. The situation: I’m a recently graduated IoT dev (c/cpp) that got hired to work on a small company’s mobile application (among other things). This app is being developed only by me, being the only local dev, and written in kotlin. So my skills are limited ..
I have created a rectangle with a border rectangle_border.XML and no solid color. <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="50dp" /> <size android:width="50dp" android:height="20dp" /> <stroke android:width="2dp" android:color="@color/White_Flight" /> and I have a button in which I set the background to rectangle_border: <com.google.android.material.button.MaterialButton android:id="@+id/loginPage" android:layout_width="87dp" android:layout_height="27dp" android:layout_marginBottom="10dp" android:background="@drawable/rectangle_border" android:text="@string/login" android:textColor="@color/dark_blue" android:textSize="8sp" app:backgroundTint="@color/White_Flight" app:layout_constraintBottom_toBottomOf="@id/home_background" app:layout_constraintLeft_toLeftOf="parent" ..
I am new to react-native & facing a hard time to keep the socket connection alive in the background/killed app. I have started a foreground service to track the user’s location and sending the location every time the location changes through client socket in react-native. When the app is in foreground, every thing works fine ..
Can I on android create a switch similar to a SwitchListTile on a flutter widget? I have tried to make the switches look similar but can’t have a ripple effect on the entire wrapper container. This is my xml: <Switch style="@style/TextContent.Body" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="48dp" android:paddingVertical="8dp" android:paddingHorizontal="16dp" android:clickable="true" android:focusable="true" android:background="?attr/selectableItemBackground" android:switchPadding="16dp" android:checked="false" android:text="Auto Generate" tools:ignore="UseSwitchCompatOrMaterialXml" /> ..
I just started learning android and faced this issue. Watched a couple of tutorials but couldn’t find the solution. So basically I want to add a button inside a grid layout. And I want Button color to be white. So I added android:background="#ffffff" in button attributes. But its still showing the default color, i.e., blue. ..
I have seen a lot of posts on this topic with all solutions being based on Java and not Kotlin. Is there a solution similiar to the one using Java but in Kotlin? Source: Android..
I want to let the user choose the image of background or game characters. I have searched about it for hours and I cannot find any similar questions at all. But it’s a very common thing on many different apps. Could you tell me how we call the function and what kind of code to ..
My question is more like client side. I am using Janus AudioBridge Room to make audio call. Android app works fine in foreground and background mode if device is not on Batter saver mode. But when device is in Battery saver mode. App gets hold while getting into background. When we gets back to the ..
I want to push notification when app is swipe out from recent task First try I push notification using postman but notification not show. second try I push notification using firebase console, and notification is show, then I try push using postman and it working. my question why if I only push using postman it’s ..
Recent Comments