Issue I’m a beginner in Android development and am trying to develop a program where the user can convert the text being displayed in the TextView (TextView is displaying a code 39 barcode font text which I’ve imported from assets)
Continue readingTag: button
Given button color not showing but showing a color in colors file in android studio
Issue I am currently working on a project in android studio. In that app there are buttons in all activities. In the MainActivity (It is main menu of app) there are 3 buttons. I created a drawable file named rounded.
Continue readingandroid button click event is not working for me
Issue I have an android application with relative layout where i have placed a button control like this <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”wrap_content” > <Button android:id=”@+id/btnCalc” style=”?android:attr/buttonStyleSmall” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_marginTop=”708dp” android:layout_marginLeft=”50dp” android:text=”@string/btncalc” /> </RelativeLayout> And For testing the event i
Continue readingAvoid AlertDialog auto dismissing when positive button is pressed
Issue I am attempting to prevent the automatic dismissal of a dialog in the else statement in siteListFragment.kt, but despite my efforts, the dialog dismisses on its own. Here is my code: siteListFragment.kt override fun showAddSiteDialog() { val view: View
Continue readingFlutter | Change the background color and icons on the button when pressed
Issue I have buttons with icons that act as indicators. They have a background color and an icon color. I want these buttons to change their background color and icon color when clicked and stay that way until the next
Continue readingHow can I repeatedly enumerate a buttons text in flutter?
Issue I want to numerate buttons automatically. In the picture thereĀ“s these icon buttons and their numerals showed like this ‘###’. I don’t know how to numerate automatically those buttons (1, 2, 3, etc.) in a way that I don’t
Continue readingAdd space between two buttons
Issue I have a LinearLayout with two Buttons in it. The Buttons are touching eachother in the middle of the Layout, i want to add some space between them. They are horizontal orientated and i would like to have the
Continue readingAndroid ViewPager Prev/Next Button
Issue Okay, so I’m developing an Android app that utilises a ViewPager to display pages. Within each page, I have a set of buttons to use for navigating between pages (in addition to the swiping between pages). These buttons are
Continue readingFlutter: ElevatedButton has different theme on Linux
Issue Problem I have a Flutter application that uses an ElevatedButton widget. When I run the application on Windows the button colors are fine, but when I run it on Linux, they are different. Here’s my code : ElevatedButton( onPressed:
Continue readingHow to add flutter_local_notification package to button notifications?
Issue I have added 2 buttons to my notification in the code below But I don’t know how to find out which button is pressed and do something based on that Future<void> zonedScheduleAlarmClockNotification({ required Duration duration, required String title, required
Continue reading