listview tag

54 questions


1 answers
152 views
0
When you scroll through the list view, the background is black

I made a scrolling list view. Each list has an image on the left and text on the right.The root layout is <LinearLayoutxmlns:android=http://schemas.android.com/apk/res/androidandroid:orientation=ve...

2 years ago

1 answers
129 views
0
How do I change the color of the separation line in the list view of Android?

How do I change the color of the separation line in the list view of Android? Please teach me.


1 answers
147 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
130 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
87 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

1 answers
118 views
0
I want to show you an empty view when the list view is empty.

<RelativeLayout android:id=@+id/LinearLayoutAR android:layout_height=fill_parent android:layout_width=fill_parent> <ListView android:id=@+id/ARListView android:layout_width=fill_parent andr...


1 answers
148 views
0
I got to know about the concept of View Holder in ListView, so please check if I understand correctly!

While searching for keywords related to ListView, I found out about ViewHolder, so I'm going to read related blogs and write down what I understood, so please check if it's right. I would appreciate i...

2 years ago

1 answers
155 views
0
I have a question for Android listview

@Override public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = inf.inflate(R.layout.li...

2 years ago

1 answers
96 views
0
The cell height of the ListView cannot be adjusted.

The cell height of the ListView cannot be adjusted. Give android:layout_height=70dp and it should come out at the height of the cell 70dp It's coming out too big. I've tried minheight, shortened it, a...


3 answers
103 views
0
I implemented a listview in one of the fragments. How do I make another activity appear when I click?(Beginner)

I implemented a listview in one of the fragments. How do I code to make another activity appear when I click? I'm a beginner. Please help me.listview.setOnItemClickListener(new AdapterView.OnItemClick...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.