Category : background

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" ..

Read more

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 ..

Read more

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" /> ..

Read more

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 ..

Read more