Skip to main content

All Questions

Tagged with
0 votes
2 answers
2k views

Flutter, how do I display Bluetooth device names in a Flutter app?

I'm currently working on a Flutter application that requires connecting to Bluetooth devices. I'm using the flutter_blue package to handle the connection. My issue is that I'm unable to display the ...
KABORE Nematou's user avatar
8 votes
1 answer
178 views

Calendar View show/gone inside Recyclerview ViewHolder Issue on Android 8, 9 only

I have a recyclerview with 2 or more viewholders, 1st Viewholder is just top heading banner 2nd vlewholder is for booking widget which has 3 dropdowns/detail menus including CalendarView -- All in ...
Nadeem Iqbal's user avatar
  • 2,366
0 votes
0 answers
41 views

Android - Why this TextView is moving its position after changing its visibility programmatically?

Initially both TextViews are visible and aligned correctly: After clicking the Button, I set both TextViews visibility to GONE. Second time I click on the Button, I set the visibility again to ...
xerez's user avatar
  • 69
0 votes
2 answers
122 views

Dynamically added Views not visible

I am trying to add TextViews to a LinearLayout wrapped in a ScrollView during runtime, but the visibility of the TextViews will eventually not display on screen even though their visibility flags are ...
brutal11's user avatar
0 votes
1 answer
361 views

Icon does not become invisible in jetpack compose

I have simple viewpager and toolbar in my code : @Composable fun DefaultAppBar( mainViewModel: MainViewModel ) { CompositionLocalProvider(LocalLayoutDirection provides ...
A.G's user avatar
  • 97
0 votes
1 answer
228 views

'void android.widget.LinearLayout.setVisibility(int)' on a null object reference when i want to display a LinearLayout

I have a problem with a button that modifies the visibility of a LinearLayout I always get the error java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.LinearLayout....
11itachikun's user avatar
0 votes
2 answers
59 views

How to change location of Textview

I have a Linear Layout inside of Constraint Layout. The cardview visibility changes depending on the data. How to align start textview1 and textview2 if cardview visibility is invisible ?
k.kbr's user avatar
  • 45
1 vote
1 answer
335 views

Identify first visible view inside viewgroup

I have several TextViews inside ConstraintLayout. The visibility of those TextViews are set at runtime based upon the data availability. I need to bold the text of the first visible TextView. I have ...
skafle's user avatar
  • 905
0 votes
1 answer
537 views

Android app widget's visibility is not updated

I reduced a bigger portion of code to this easy to test AppWidgetProvider class and I still have this problem. Basically, I have a simple navigation part with a prev and next button. If the index is 0 ...
alexmro's user avatar
  • 623
3 votes
2 answers
1k views

QUERY_ALL_PACKAGES warning from the play store even if that permission do not appears in the AndroidManifest.xml merged file

I am coding this android app and I was using the CometChat library to add chat functionality to my app. When I did that with newest or oldest version I had that permission that was automatically added ...
Xavier MAXIMIN's user avatar
2 votes
4 answers
2k views

Android: View Visibility set to View.VISIBLE but View is not Visible

In my app (general construction described below), I have a timer, which the user can start by clicking an in-app button. When the timer starts, a notification is shown. In the notification, there's a ...
Nitzan Daloomy's user avatar
1 vote
1 answer
130 views

Android "visibility" doesn't change if next instruction take long time

I have following situation in my fragment. @SuppressLint("ClickableViewAccessibility") override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState:...
Claudio Merli's user avatar
1 vote
1 answer
168 views

Android: Changing Views visibility on Activity start | Hide Notification panel on Notification Button click

My app has a Notification that holds a Button. When the user clicks the Button, the app should open (if it was closed) and show a custom dialog, which I've created by a bunch of views. Showing the ...
Nitzan Daloomy's user avatar
0 votes
1 answer
259 views

Android 11 Restrict specific app from Getting My App's Package Name

I have Noticed some other apps who are getting my app's package name. So I want to prevent them from getting my app's package name and name.
KIM JONG YUNG's user avatar
-1 votes
1 answer
33 views

How to invisible a Linier layout from other activity without using Intent?

I have given here details about my project and I want that when I will click on the Button it will go to the second activity and also it disappears from the second activity layout. Button btnClick; @...
Mhs Shohrawardy's user avatar

15 30 50 per page
1
2 3 4 5
42