I am running an android project. My toolbar and status bar are all green in my activity_main layout. If i change toolbar color to other color the status bar wil
I have created one service and broadcast receiver to get telephony state. Below is my code : @Override public int onStartCommand(Intent intent, int fla
I want to change the ellipsis string from ... to custom string, such as ...[more]. But in TextUtil, the ellipsis string is fixed: private static final St
My objective is removing the orange bar thar has the label "App name". Currently I have a top_app_bar and bottom_nav_bar. As far as I know the orange bar is gen
This is how it is supposed to look: https://i.stack.imgur.com/4bLy5.png This is how it looks: https://i.stack.imgur.com/oSUjF.png Strange white space appears
I want to be able to to be able to set padding values if a boolean is true. The problem is that Android studio cannot parse the layout because it thinks 2dp is
I have an SDK that registers an Activity to handle a custom scheme, at some point the SDK would open a http url to my website, upon clicking a button in the web
I want to display an alert dialog. And this alert dialog is created in one activity. But Problem is i want to display this dialog on top of any activity in an a
Hi Guys I am using this tutorial to build ghostscript-9.19 to be able to use in my android application to convert eps document to pdf. It fails while configure.
I am developing an interface that contains a component TextInputLayout. Here is my layout code: <com.google.android.material.textfield.TextInputLayout
I've implemented in-app purchases in my app by using the Google Play billing library. I've implemented it as per the guidance here. This just a basic one-time p
Here is what the button looks like after changing the color Here is what it looks like with "show layout bounds" on I have an "add note" button which shows a
We are working on a react native app, in which we have some features where we can do some actions using silent push notifications. we are using react-native-fir
When running on Android 12 and targeting SDK 31 scheduled alarms stopped working for me. I schedule the alarm by AlarmManager alarmMgr = (AlarmManager)context.g
I have created a function to calculate diagonal screen size based on the resolution and pixel density. viz- def find_display_size(d): width=float(720); he
I know that a normal bottom sheet can be setup like this rememberModalBottomSheetState( initialValue = ModalBottomSheetValue.Hidden, confirmStateChange = {
I'm working on an android app, it uses Firebase Authentication, Database and Storage. It was all working fine until this error message started to show up in log
I need to sync my Android mobile app with a multi-tenant database in the cloud. I thought the best way to do this was using a UUID for the Primary Key of my tab
I am trying to use webView to show a URL in android app. If I try with this URL- http://stackoverflow.com I am getting this- But if I am trying with th
I did @Override public void onClick(View v) { switch (v.getId()){ //если выбрали