view tag

215 questions


1 answers
86 views
0
How to float Toast on Android.

How do I float Toast on Android?


1 answers
115 views
0
How to border ImageView on Android

I want to put the border in ImageView and color it, what can I do?

2 years ago

1 answers
102 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
148 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?


1 answers
92 views
0
Is there an easy way to enlarge the image?

Is there a way to allow users to zoom in and out of their image?

2 years ago

1 answers
93 views
0
How do I implement the onClick method in RecyclerView?

Does anyone know how to define an onClickListener in RecyclerView?I've thought about how to define onClick for each item in the Recycler View, and this seems too much of a hassleIs there any other way...


1 answers
138 views
0
How to round corners of a list view on Android

I want to make the corners of the list round, what can I do?


1 answers
134 views
0
RecyclerView Compatibility

RecyclerView is from Lollipop on Android By the way, is it compatible when you turn it on kitkat or jellybean?


1 answers
115 views
0
I'm trying to write a list view on Android, but there's an error.

I'm going to write a list view Compilation works wellYour content must have a ListView whose id attribute is 'android.R.id.list'If you get this kind of error, it will explode if you execute it.My sour...

2 years ago

1 answers
79 views
0
Is there a better code to comma all the strings on the list? (['a','b'] -> "a,b")

I'm going to attach the entire list element as a string to distinguish each element

2 years ago
« - 9 - »

© 2024 OneMinuteCode. All rights reserved.