Hello there!
I've got a little problem. When i filter my listview with my EditText field, the list what is showing is not scrolling. I don't know what i have to do to add scroll after "search".
Does your normal listview scroll?
Yes, of course .
Related
Hi, how do you change the font for the navigation drawer through XML? I've tried android:fontFamily and android:typeface but neither of them work (value: sans-serif-condensed).
XxPixX said:
Hi, how do you change the font for the navigation drawer through XML? I've tried android:fontFamily and android:typeface but neither of them work (value: sans-serif-condensed).
Click to expand...
Click to collapse
The navigation drawer itself doesn't draw any text, only its child view. So if you are using a ListView there are plenty of solutions here and here. Just create a custom simple list item and set the font on the textview if you want the fastest way.
Hi,
My S5 (SM-G900i) was provided by Vodafone Australia and is running 4.4.2
The phone/contacts Favourites are displayed in Grid View and I cannot find a way to change it to List View.
(the "Frequently Contacted" list, which is on the same page, is showing in List View).
This is really annoying as you cannot swipe left/right to phone/message from the Favourites list.
Is anyone aware of a way or a hack to fix this?
Y.
So there is no known way of changingthe Favourites to List View?
I want to add a layer when list item's pressed. The layer will overlap any object in list item (imageview, textbox, layout background, ...). It's exactly like Google apps (Play, Youtube,...), when you press or hold an item, you can see it. My app has some complex list items, so using background seletor is not good enough.
Thank you.
Looking at the play en youtube app, it seems like they only change the backgroundcolor and don't add an overlay.
If you have created your own row layouts and added them to the list, you can get the most outer viewgroup from this layout in your onItemClicked method.
Just change the background of this viewgroup.
Code:
onItemClicked(View v) {
[INDENT]v.setBackground(your background);[/INDENT]
}
If you do want an overlay instead of another background, you can wrap your row layout in a frame layout with an invisible overlay. Then just change the visibility in the onItemClicked method.
Code:
onItemClicked(View v) {
[INDENT]View overlay = (View) v.findViewById(R.id.overlay);
overlay.setVisibility(View.VISIBLE);[/INDENT]
}
Hi,
I have a custom view and i wanted to do some change on the view if any other view comes on top of it like opening a dialog box or any other view.
How can i know if anything is overlapping on my custom view ?
How much part ( in %) of my view is actually hidden because of overlapped view?
Thanks
Hi Guys!
So, i have a little bug on my actual rom, which is that i get FC when i try to access settings by the shortcut on notifications panel.
i'm attaching 2 images showing it.
When i open it by the icon on the drawer, it opens okay. i think the problem is related to the settings view by tabs, cause when i open the settings by drawer and then choose to change to tabs, it fc. so i think the shortcut is trying to open settings with tabs, not list.
anyway, is it possible to change by any way the config of the shortcut to open it to the list view, not tabs?
or possibly fix tab view?