Issue I tried much code for getting pdf path in android 11 or 12 but only working in android 10 or below devices. Can you please help me? I share my code of lines Intent calling like this Intent intent
Continue readingTag: android-layout
android:nextFocusForward is ignored in layout
Issue I have an android xml layout and i want to specify the focus order of the fields, when user presses next on the keyboard. Documentation says, that android:nextFocusForward=TARGET_ID should do that trick. But it is ignored on all our
Continue readingItems on a map in a RecyclerView are not fully displayed
Issue I have a RecyclerView and I want to display a list of items in it. I have created the layout for each individual element so far. The problem is that not everything is displayed. The data is all there,
Continue readingHow to add one section separator for Navigation Drawer in Android?
Issue I have a navigation drawer like this image. I want to add a section separator (like the line separating Neptune). It seems simple but I can’t find anything on the web that was useful for my case. Here is
Continue readingNewer versions of Android Studio add only two drawable directories – drawable and drawable-v21
Issue With older versions of Android Studio, all of the drawable bucket folders were created by default (i.e. drawable-mdpi, drawable-hdpi, etc.). In newer versions of Android Studio, it only provides drawable and drawable-v21. Why is that? Is there a reason
Continue readingJetpack Compose: How to avoid Button Text disappearing when Button size is small?
Issue I am trying to create a custom button that is small and can show a numerical value between 0 and 99 as Text. Depending on the fontsize the Text disappears from the Button when the size of the Button
Continue readingError: The layout "basic" in layout-land has no declaration in the base layout folder — but I really don't need it
Issue My application has layout-land/basic.xml and layout-port/basic.xml files. Why do I need one in layout/? Is there something I can do to make Android Studio not complain here? Solution Resources are an override system. You generally wouldn’t put one in
Continue readingOutlinedBox for TextInputEditText – attribute android:style not found
Issue Can not get working OutlinedBox for TextInputEditText. There is a similar question on Stackoverflow but none of solutions don’t work. As soon as I add android:style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" to the code, the form disappears from preview and when I try do
Continue readingDrawable is not getting displayed
Issue The drawable is not getting displayed circle_add.xml in drawable <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="oval"> <stroke android:width="5dp" android:color="#000000"/> </shape> </item> <item> <shape android:shape="line"> <stroke android:width="5dp" android:color="#000000" /> </shape> </item> <item> <rotate android:fromDegrees="90" android:pivotX="50%" android:pivotY="50%" android:toDegrees="-90"> <shape android:shape="line"> <stroke android:width="5dp" android:color="#000000"
Continue readingAny alternate way of setting splash screen?
Issue I have a logo image asset which I am using as splash screen.I am trying to achieve result like instagram , snapchat which shows their logo in splash screen I have a made a layout with black background and
Continue reading