view tag

215 questions


1 answers
91 views
0
How to change the image in ImageView

<ImageView android:id=@+id/articleImg style=@style/articleImgSmall_2 android:src=@drawable/default_m />I set the image of the image view in xml. What I need is to change the image from the code...


1 answers
68 views
0
Recyclerview spinner? It's a question.

If you look at a lot of screens on an app or on the web, I want to implement a function that shows data in a list view or a recycling view, and when you click on them, the view is pushed down and a de...


1 answers
100 views
0
I have a question for Android Adding ImageView from Fragment

I'm using Android Studio. I used tabbed activity. You are about to put an Imageview in the Fragment. I've already written the URL with Button. I want to add Imageview to it. I used rootView. The image...


1 answers
95 views
0
Django Wang novice's question! I can't print it out from the long-range db.

# index.html<tbody> {% {% for post in job_opening %} <tr> <td>{{ post.title }}</td> <td>{{ post.target }}</td> <td>{{ post.department }}</td> ...


1 answers
58 views
0
Can you give layout_weight to the text view with code?

I want to dynamically create TableRow in TableLayout. There are two items in Table Row: TextView and CheckBox. I'm going to give a weight of 1 for the text viewI don't know how to search the document.


1 answers
45 views
0
How do I change the contents when I click the list in Custom ListView?

_Set_Data_List = new List<string>() { { _HL_List[_HL_Default], _Ring_List[_Ring_Default], _VectTime_List[_VectTime_Default], _VectMode_List[_VectMode_Default], _WPT_List[_WPT_Default], _OS_List...

2 years ago

1 answers
135 views
0
How to create a round image view on Android

I want to make the image view round on Android, how do I do it?Bitmap circleBitmap = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), Bitmap.Config.ARGB_8888);BitmapShader shader = new Bitma...

2 years ago

1 answers
76 views
0
Style to apply the same bold italics are just as in the Text View.

Is there a way to apply bold or italic style to text view with java code instead of XML?Android:textStyle in xml.


1 answers
67 views
0
How to add a custom adapter to the ListView

I'd like to put a custom adapter in the list view, but I'm posting a question because I thought I could get related data.I'd appreciate it if you could show me an example.


1 answers
43 views
0
If no image is selected, save it to DB!

I'm a novice developer.cryingI save the image URI I chose from the gallery in DB! If you do not select an image...When I tried to save it, the app turned off! String str_image = mImageCaptureUri.toSt...

« - 20 - »

© 2024 OneMinuteCode. All rights reserved.