Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
97 views

I want to add bottom padding to the scrolling content in my WebView so that it is not hidden behind the navigation bar. I also want the navigation bar to be transparent while scrolling. WebView ...
Score of 0
1 answer
88 views

I’m migrating from an interface-based fragment communication pattern (via Activity) to Navigation Component + shared ViewModel + StateFlow. Legacy approach (interface callback) From FilterFragment ...
Score of 0
1 answer
38 views

Problem description When in Main Activity, the top bar and insets display correctly, but when I navigate to the store screen, the content overlaps the top bar (see image, the button obscures the back ...
  • reputation score 181
Score of 0
1 answer
238 views

I'm trying to disable an Android component from my system app's service class using the code below. It's working fine in A13 and earlier versions, but it is not disabling the component in A14. I also ...
Score of 0
2 answers
427 views

Trying to access components via findByViewId and get null The problem is in this line: (I cannot connect my viewxml to the class) // HERE I GET NULL **_addButton = context.findViewById(R.id....
Score of 1
1 answer
510 views

My screen is divided into 3 main parts, currently (I guess that probably there is a better approach): First part is showing data. It's divided into 9 almost identical items which to show different ...
Score of 2
1 answer
1974 views

I have two questions about registerForActivityResult call back in android. is it necessary to un register this call back when the activity is going to destroy? or this call back is lifeCycle aware and ...
Score of 2
1 answer
264 views

I have implemented a periodic work request using android work manager, the work is getting repeated if app is in foreground or background. But when the app is cleared from recents, the work manager ...
Score of 1
0 answers
70 views

I set a minimum date to the DatePicker (#setMinDate) and though dates before the minDate are not displayed, there's a bug that if i change the year to past year (with same date as current day), and ...
Score of 1
2 answers
2928 views

I have an activity with a toolbar from a default layout in Android Studio and I can easily change the title in the toolbar through the following method: Bundle bundle = new Bundle(); bundle....
  • reputation score 4909
Score of 1
4 answers
3072 views

I am wondering if there is a good pattern/method for hiding the action bar for splash/loading screens?? I understand the pattern isn't great, but we are retrofitting an existing app that uses ...
Score of -2
1 answer
363 views

Can I take an app that I like and inspect it to see which components it is build off? Take for example the menu structure of Androids "Developer Options" settings. Say that I want to see if it uses ...
Score of 1
1 answer
1276 views

FragmentA is used in nav_graph_first and all the respective action methods/navigations are created in FragmentADirections but when FragmentA is used in nav_graph_second additional navigations are not ...
Score of 1
1 answer
520 views

I'm trying to compare between button background to resource file. For exmaple, I have button BUTTON <Button android:id="@+id/btnGenre" android:layout_width="110dp" ...
  • reputation score 583
Score of 0
3 answers
1664 views

I've implemented BottomNavigationView with navigation graph. while setting a solid colour in navigationView as a background, it's working fine but when I set background colour with opacity it's not ...

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /