1618 questions
I'm trying to dynamically change the image of the button image. There's text above the image.At this time, if you use ImageButton, you can't add text, and if you use Button, android:drawableBottom in ...
int_value = -13516;There's a value like this, but I want to change it to a hexadecimal value.hex_value = Integer.toHexString(int_value);I did it like above, but the value comes out ffffcb34But what I ...
I'm developing an Android app. I wonder the difference between minSdkVersion and targetSdkVersion.
<LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical xmlns:android=http://schemas.android.com/apk/res/andr...
I want to send the object of the customer class to another activity. So I want to show you in other activitiesWhat should I do?public class Customer { private String firstName, lastName, Address; int ...
public static void restartActivity(Activity act){ Intent intent=new Intent(); intent.setClass(act, act.getClass()); act.startActivity(intent); act.finish();}This is the restart method that I creat...
I'm making an app. When I log in to the server, I use the user's name and password, but it's annoying to enter the password every time, so I made a password as an option.I tried to use SharedPreferenc...
I'd like to change android:fontFamily on Android. I've never seen a predefined font on Android, so how do I choose one of the predefined fonts? I don't need to define my font, but I want to change it ...
It outputs the screen to linear layout. I want to print a button in the middle of the screenBut it's not as easy as you think No matter how you do it, the top is aligned in the middle...The bottom is ...
Is there a way to get the currently selected language from the Android device?
« | - 54 - | » |
© 2024 OneMinuteCode. All rights reserved.