d tag

2228 questions


1 answers
28 views
0
What does LayoutInflator do on Android?

What does LayoutInflator do on Android?


1 answers
114 views
0
Can't I get "Search" into the keyboard enter button on Android?

In some apps, when you click EditText, the keyboard comes up and there is a search button instead of the Enter button. I also want to implement it like this, but how can I implement the search button ...


1 answers
106 views
0
What is the difference between the /res directory and the /assets directory on Android?

I understand that the files in the resource folder can be read in R.class, and in the Asset folder, they're written in a file system-like form.What is the exact use of the two?

2 years ago

1 answers
141 views
0
How do I change the startup activity of an application?

I'm making an app, but I'd like to add other activities such as a login screen. And I want to change it into a starting activityHow can we do that?


1 answers
104 views
0
How do I add a dividing line between items in RecyclerView?

<ListView android:id=@+id/activity_home_list_view android:layout_width=match_parent android:layout_height=match_parent android:divider=@android:color/transparent android:dividerHeight=8dp/>You ...


1 answers
136 views
0
Can I import the module again?

Without disrupting or restarting the Python serverThe module needs to be updated.If mymodule.py changes unimport mymoduleimport mymoduleOr If mymodule.py changes reimport mymoduleIs there a way to uni...


1 answers
104 views
0
Is getResources().getDrawable() deprecated in API22?

From Android API22, getResources().getDrawable() has been deprecated, so do I just need to use getDrawable()? What's changed?


1 answers
117 views
0
Can you make only the first letter in EditText capitalize?

I'm making an app that shows my personal to-do list. They're all making it well, but there's one small problem. When I try to add a list, I show EditText in the dialog, but the problem is that when I ...


1 answers
72 views
0
To set a bitmap with a resource

bm = BitmapFactory.decodeResource(null, R.id.image);Is this how I set the bitmap in the resource?

2 years ago

1 answers
156 views
0
How to get a bitmap from ImageView

ImageView image = R.findViewById(R.id.imageView);image.setImageBitmap(someBitmap);How do I get a bitmap from the image view when given like this?

« - 99 - »

© 2024 OneMinuteCode. All rights reserved.