All Questions
Tagged with android visibility
622
questions
0
votes
0
answers
8
views
the softkeyboard makes view disappear when it pops up
I have this situation
when i get the focus on the inputText, therefore triggering the softkeyboard to show up, the second text and the second button disappear.
I tried to examine with the debbugger, ...
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 ...
8
votes
1
answer
179
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 ...
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 ...
0
votes
2
answers
124
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 ...
0
votes
1
answer
384
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 ...
0
votes
1
answer
240
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....
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 ?
1
vote
1
answer
338
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 ...
0
votes
1
answer
542
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 ...
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 ...
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 ...
1
vote
1
answer
133
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:...
1
vote
1
answer
169
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 ...
0
votes
1
answer
262
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.