I am attempting to code a display page like a blog where an image can be placed anywhere and text anywhere aswell. Some pages may only have 1 image and another has 2 images.
However, I do not want to hard code this. I want to achieve something like this as seen below.
I am currently using firebase and android studio for my application so far.
Related
So i got a lot of solutions online but none of them were simple and complete. First i tried using imageview and adding external libraries for zooming etc. but i couldn't find one which had all the functionality we see in a gallery app without being extremely slow. I read something about canvas though don't know what it is. I also found "zooming a view" in android official tutorial but it was just a single tap zoom. So which is the best solution (in terms of functionality and speed) for this: I want an activity to show just a single image such that the user can zoom/rotate/pan it as its gonna contain text that the user needs to be able to read. So basically just like a gallery app. Is it possible to call on the gallery app activity to display this image? Why doesnt android have better support to do this? What is the best way you would suggest.
Hi i have a app contain 3 page. and i want to set one page as background like android home screen. I search in google and i found this and this
tutorial's but i couldn't use it for my target can anyone show me another better example thanks.
i mean How can i create app like android home screen which have one picture for 5 pages background (in my phone).
at last i found my answer and that was so simpler that i think.
that was not a live wallpaper that was simple trick using scroolview for background of main layout and listen to onPageScrollStateChanged.
that's it.
i am trying to build a UI that is similar to that of the Google image search,
basically a bottomless grid of pictures that are dynamically fetched once the user scrolls down.
i cant use the choose image intent because the pictures are not on the users device.
my current thinking is using a grid-layout and adding more items each time the user scrolls all the way down, does something like this already exists?
or is the grid-layout design is the way to go?
You can use existing libraries that make use of GridView. Check out the following article.
Just in case this article disappear I will post links to mentioned libraries here:
https://github.com/etsy/AndroidStaggeredGrid
https://github.com/maurycyw/StaggeredGridView
There are probably more libraries out there.
I am posting this question because I never worked on this and I am not aware which component is used to implement such functionality.
See this screen-shot. This is an sample image. It is not my work, this is taken from Google Images:
Now on application startup I am reading Android sd card and updating my database. In the meantime, I am using ProgressDialog like this
Now what I want is to show 5 image slides. Not Image slide I want a single colour backgroung and the text should have to be change every two seconds on the same backgroung with five small circles I downside.
Now I am not able to get what is it. A image slide show or other native component. I asked in chat rooms they asked me to post here.
If it can happen without image it will be better because there is a lot of complexities with different device sizes.
How can I implement this?
Try with android smartimageview or with Viewflow
When I visit a web page using Android browser I can capture the visible part of the web page making a screenshot of the whole screen, but I need capture the whole web page, including the part of the web page that is outside the screen, I mean, not just the visible part of the page.
What I want is something like the option "Capture Entire Page" of Awesome Screenshot plugin. Pls, exclude all the programming method for do this, I want a already made tool easy to use for a newbie Android. The idea is allow common users reports layout bugs easily. So, what tool can I use to accomplish that?
A VALID REPLY IS SUCH TOOL NOT EXIST, but pls, put some reference.
You can use the Dolphin browser and Screen Cut add-on to capture full webpages on an Android phone. You do not need root access.
You cannot use any standard android method to get screenshot of entire screen (including non visible portion). But if you have root access, you can read the framebuffer to get the entire contents using this method
https://play.google.com/store/apps/details?id=com.leavjenn.longshot
This does exactly what you want. I have tested it.