I made sliding panel using this repository: AndroidSlidingUpPanel-foursquare-map-demo
However, it contains one bug which is not covered anywhere.
When I touch anywhere to expand panel (listview) works well, but while I'm trying to expand it by holding a top of a list view (blue line on screen2) panel hide under the map (framelayout) (screen3)
How it's even possible that this blue line hiding panel under mapfragment and rest of listview expand it well?
Please give me just a hint how to fix it?
Please look at the screen:
Related
hi to all,
this is another annoying thing i have been trying to get rid of for a few months now.
it is regarding the grey horizontal line which sits right under the top bar.
to be more precise: i am not referring to today-plugin seperator lines in common, i mean just the top one, which seperates the top bar (containing the radio icons, etc and the start menu) from the first today plugin.
here are my findings so far:
- as it is somehow related directly to the os, you cannot make it transparent
- the reg-key hklm\software\microsoft\today\items\htchome\lock position = no does not solve the problem
- setting hklm\software\microsoft\color\6 (today screen horizontal bars) to the same color as the background does also not work as it only affects the other plugin seperator lines
is there any news to this topic? maybe there are more possibilities to tweak when you have 6.1 device?
many thanks
I have the same question.
i used to use vjtoggletoday to make the top bar smaller. the default size is 26 i believe. Set it to 24 and that should hide the seperator but keep the rest of the top bar visible.
it's not the exact fix you're looking for but it pretty much get's you the same look.
i have been using vjtoggletoday as well for hiding the buttom-bar and the top-bar separator line. but from time to time the buttom-bar and the top-bar were re-appearing - so i was hoping to find a more stable solution. i am using now dcinobar which only hides the buttom bar
did you ever find a resolution? I found this site...have not tried, but you may want to take a look. (http://www.codeproject.com/KB/mobile/PPCColorConfig.aspx)
egoist6 said:
i have been using vjtoggletoday as well for hiding the buttom-bar and the top-bar separator line. but from time to time the buttom-bar and the top-bar were re-appearing - so i was hoping to find a more stable solution. i am using now dcinobar which only hides the buttom bar
Click to expand...
Click to collapse
Can a smart person please expand the touch area for the tastmanager button in the title bar?
Since HTC already uses the enlarge title bar application to show all the icons enlarged, it would be great if the task manager app could just take a bit of the area to expand the area to touch. I usually have to hit the upper right conner more than twice to hit it correctly... it is just too small for my large fingers...
I'm developing an activity with a floating main window (e.g. windowIsFloating=true in the activity style). Unfortunately, within a floating window my layout (using fill_parent) is not expanded to the full screen size; fill_parent behaves like wrap_content instead. I suppose floating windows are not automatically sized to the regular/maximized window size.
To circumvent this problem, I use the following code to add the layout to my window:
View view = getLayoutInflater().inflate(R.layout.main, null);
setContentView(view, new LayoutParams(width, height));
This renders my layout correctly. However, how do I find out the correct width and height, taking into account decorations like the status bar? According to the documentation, floating windows automatically get the FLAG_LAYOUT_INSET_DECOR set, causing the WindowManager to report inset rectangle needed to ensure the content is not covered by screen decorations. However, I can't find any documentation on how I can retrieve this inset rectangle; does anyone know this?
I've tried many options (all called from my Activity onCreate method), but they all either return non-usefull information or the full screen size, not taking into account the status bar height:
WindowManager.LayoutParams lp = (WindowManager.LayoutParams)getWindow().getAttributes();
Rect rect = getWindow().getDecorView().getBackground().getBounds();
getWindow().getDecorView().getGlobalVisibleRect(rect);
getWindow().getDecorView().getHitRect(rect);
getWindow().getDecorView().getLocalVisibleRect(rect);
getWindow().getDecorView().getWindowVisibleDisplayFrame(rect);
I'm now using a work-around that simply substracts 38 from the height to account for the status bar, but of course that's not a real solution.
Also, does anyone know whether it is possible to hide or overlay the status bar when using a floating window? Setting windowFullScreen=false only works correctly for non-floating windows.
I believe you can set the theme in xml to remove the status bar in your app.
<activity android:name=".YourClassName" android:theme="@android:style/Theme.NoTitleBar"/>
And
<activity android:name=".YourClassName" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
From something awesome
O yea that is in the AndroidManifest.xml
From something awesome
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 all,
I'm really new into Android dev, but I got the basics for doing basic things.
I've got a question about ListViews, specially for horizontal lists for the moment. Is it possible to give different styles to the following item and the passed item?
I've got an Horizontal list that shows 3 elements in the screen (1 in the middle, and 1 in each side half-viewed). The middle item should look with the image and text below (accomplished), meanwhile the two from the sides should have the image with opacity and without text (haves the same style as the middle item).
Is it possible to do that in Android? If it's, must be have some methods to be implemented in the getView()?
I would post an image of what I want, but can't for the moment.
Thanks in advance.