[Library][API 4+] SwipeRevealLayout - swipe to show other layout. - IDEs, Libraries, & Programming Tools

I was looking for library that I can swipe a layout to show other layout, like swipe a row in RecyclerView to show delete button, but I couldn't find one that work properly. Eventually I ended up writing a new library and I'd like to share it.
Github name: SwipeRevealLayout
I can't post link yet so just search the name on Github.
Demo
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
Flexible, easy to use with RecyclerView, ListView or any view that requires view binding.
Four drag edges (left, right, top, bottom).
Two drag modes:
Normal (the secondary view is underneath the main view).
Same level (the secondary view sticks to the edge of the main view).
Able to open one row at a time.
Minimum api level 4.

Related

[Q] Control multiple SeekBars with a single swipe

hi there, I have an issue. I have implemented a set of Horizontal seekbars to be used as an equalizer for an my Android Application. The SeekBars are all populated programatically as different devices have different specs. I would like the user to swipe the screen from left to right and for each position of the finger over a SeekBar, the SeekBar under the finger would take the position of the finger and Call the specific setOnSeekBarChangeListener for that seekBar. I have an idea of using a Gesture Layer, but have little experience with Gestures. If anyone can help me id be grateful.
The SeekBars are show below, and need to all be controlled without lifting the finger from the screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] Highlight image portion thats being clicked and get its information

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have images of the book. and Each image has different lines (one complete sentence.) Some lines are in one line, some are in 2 and some are in 3 lines. Please view the attached image. If user clicks on line 4, then this complete line should be highlighted (draw some overlay over the line with opacity low, so it displays as if the line is highlighted.)
How should i do this?
How should i get which line is selected. As android has different devices screen, and different resolution. Some big some ,small etc etc.
Is this possible ?
Note: We have images, not text.

S5 dialer theming.. icon & attribute names

Not having a lot of luck trying to identify some of the items in the S5 dialer.. which makes it harder to change /mod /theme them. Can anyone tell me or guess at what value might control the sub action bar menu background color? It's circled near the top and black in this picture. It's not any of the values in /res/values/colors.xml.
And maybe the names for the two circled icons at the bottom? Normally you could just look at the images in the xxdpi folder.. but most of the pkm files won't decompile with mali or any of the other texture compression tools that I've tried, making it harder to confirm.
.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[APP] Virtual Desktop Manager

I wrote a little program that will show you what virtual desktop you are currently on with a tray icon, adds another hotkey (Ctrl-Alt-Left/Right), and will let you 'cycle' through your desktops (so if you are on your last virtual desktop #6, you don't have to Ctrl-Win-LEFT 5 times to get back to your first desktop. Just hit Ctrl-Alt-Right and you'll be there).
Here's a little gif of it in action:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My repo is here, PRs are more than welcome since there are a few little issues to wrangle out still.
Obviously only works on Windows 10.
Looks good! Is there any chance to implement scroll on icon to cycle desktop? I'm not sure about Win32 limitation tho.
I'll look into that. That would be a cool idea.
Cool ! i'll loking for that
can you make it so the normal hotkey will allow you to round-robin? i have 2 buttons on my mouse that i have set to move between the desktops. would be nice to have that ability through the default.

OmniSwitch app-preview removal?

Does anyone know how to remove the app previews from OmniSwitch?
I like the icon view on the left side of this pic.
But want it in vertical view.
The problem with vertical view (right side of pic) is it gives you the icon but also a huge app preview.
I want to get rid of the app preview. Does anyone know how to do that?
It takes up a lot of space and I recognize the app icon more than I do whatever small preview screen shows up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In this configuration, what you can only do is change the size of thumbnails to small. This option is just below the Style option. Give it a try !

Categories

Resources