Issue I want to make my button smaller, but when i do it text dissapear. Also i can’t change size of other buttons. For example CLEAR button. I can’t make it smaller. It seems like it adapts to size/lenght of
Continue readingTag: xml
Admob native ads in Jetpack Compose?
Issue I am trying to implement a basic Native ad from adMob to fit the design of my app in Jetpack Compose, but I don’t understand how the onClick is supposed to be handled. I know that it is possible
Continue readingCenter a button in a Linear layout
Issue I am using a linear layout to display a pretty light initial screen. It has 1 button that is supposed to centre in the screen both horizontally and vertically. However no matter what I try to do the button
Continue readingshow layout as view while performing api request
Issue im trying to show view layout which it’s xml layout while performing api request and remove it after the request is done the layout contains TextView and animation and after the layout is showing i need to set TextView
Continue readingMaterial3 carousel not Showing
Issue I’m making a library app and I wanted to add a carousel showing the covers of the books, I’m new to kotlin and android development. the problem is that the recyclerview doesn’t show the carousel. MainPageFragment.kt: package vistas import
Continue readingMaterial3 carousel not Showing
Issue I’m making a library app and I wanted to add a carousel showing the covers of the books, I’m new to kotlin and android development. the problem is that the recyclerview doesn’t show the carousel. MainPageFragment.kt: package vistas import
Continue readingPlaceholder in string-array in strings.xml
Issue I’m trying to have placeholder(same value will be used in every item) in a string array. <string-array name="distance_rating_labels"> <item>< 5 %s</item> <item>< 10 %s</item> <item>< 15 %s</item> </string-array> Here I want to return < 5 km or < 5
Continue readingMAUI password field broke after Android update
Issue I have a MAUI app with a simple screen like this: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="gfMobile.MainPage"> <ScrollView> <VerticalStackLayout Spacing="25" Padding="30,0" VerticalOptions="Center"> <Label Text="Enter password" SemanticProperties.HeadingLevel="Level2" FontSize="18" HorizontalOptions="Center" /> <Entry IsPassword="true" x:Name="password" Text="" SemanticProperties.HeadingLevel="Level2" SemanticProperties.Description="" FontSize="18" HorizontalOptions="Center"
Continue readingHow to use a viewpager inside another fragment and not get any lifecycle issues?
Issue This is my profile fragment where I am using a viewpager : @Suppress("DEPRECATION") class ProfileFragment : Fragment() { private lateinit var viewPagerAdaptor: ViewPagerAdaptor private val binding: FragmentProfileBinding by lazy { FragmentProfileBinding.inflate(layoutInflater) } private lateinit var currentUserId: String override fun
Continue readingElevation in material card not showing
Issue I created a project in Android Studio implementing view binding and data binding. I don’t know why material cards don’t show elevation. I already added the declaration android:hardwareAccelerated="true" in my manifest file. The material card is inside my fragment
Continue reading