id tag

1618 questions


1 answers
133 views
0
When you make buttons on Android. Is there a button to write text and images together?

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 ...

2 years ago

1 answers
138 views
0
How to change int to hex

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 ...

2 years ago

1 answers
45 views
0
What exactly are minSdkVersion and targetSdkVersion?

I'm developing an Android app. I wonder the difference between minSdkVersion and targetSdkVersion.

2 years ago

1 answers
107 views
0
I don't want to make the wallpaper blurry when I sing the dialog.

<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...

2 years ago

1 answers
96 views
0
Send Object from Activity to Another Activity

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 ...


1 answers
149 views
0
I'm trying to restart my activities on Android

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...


1 answers
133 views
0
What is the most effective way to store user information in an app?

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...


1 answers
143 views
0
How do I change the font of TextView on Android?

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 ...


1 answers
108 views
0
I want to put the button in the middle of Linear layout, what should I do?

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 ...

2 years ago

1 answers
87 views
0
How to get the language set on your device.

Is there a way to get the currently selected language from the Android device?

2 years ago
« - 54 - »

© 2024 OneMinuteCode. All rights reserved.