How do i "bring" an selected view centered in "front"? - android

Im currently trying to achieve the following :
Once one of the four card views in the background is selected it should appear in the middle of the screen... in other words ... it should come in front of everything else.
Is there an easy way to achieve this ?

Related

how to make a button fold down two EditTexts below on click

I'm a beginner with short knowledge of programming, I've just started learning android development. I'm making an app and at one of the pages I have to make a certain kind of design that I cannot figure out how to or can't even find them in the internet. Basically, as you can see in the images below, next to the first textview, there's a little arrow. Whenever the user clicks on that arrow, two edittexts should appear below that texview just like in the second image and kind of drag the rest of the textviews down. I'd be really grateful if you guys could help me do this or at least provide me with some information on where to search this kind of problem solution. Thanks.
Just create your desired layout in xml with 2 edittext below each textview. But make sure You take these 2 edittexts in a single container. Lets say LinearLayout.
Then you would be easily able to show/hide these lineralayout based on the TextView click.
Or If You are using recyclerView, then it would be more easy. In this case, You have to show the 2 edittexts for currently clicked item only and will need to hide for all others

How do viewpager images as app "Mercado Livre" and others

I would like to ask your help on how to do this layout that neither the "Mercado Livre" (Name from app in portuguese Brazil) and other app out there, how real "Viva Real Imoveis" (Name from app in portuguese Brazil). The layout I need is equal to this I'm putting down, it would be a toolbar in the same way and just under one view pager with those balls that pass the images and clicking on the images they're in fullscreen and continue with indicator balls. Below view pager pictures I put the rest of my layout. The main part of you that need help that would be it, the slide images with drag finger counter with balls and fullscreen too. Design material.
Could help me?
Here you have mate. Maybe you'll need customize a little the drawables.

Suggestion for implementing layout

I am working on a android app. Requirement of app is to support multiple screen sizes. When I was going through tablet layout of app, I found something like this:
Here, as you can see, there are two fragments. Left side contains a listview and right side fragment contains detailed content of selected listveiew item. now problem is: How do I move the arrow (selected with red mark) up and down accordance to item selected in listView??
Check out this answer. You could make the arrow part of the list view fragment but make it visually blend with the content view.

Android Animation of TextViews

I basically have 5 text views that fill in one on top of the other. Rather then just all showing up like they do now, I want them to all come in with some animation, one after the other. Anyone have a link to a tutorial on how to animate TextView objects? only one I saw in the android docs involved using images as well as needing an image in the background.
Animating a TextView is basically like animating any other view. If you want it to show up one after one, you can implement an AnimationListener and start the corresponding TextView when the previous has finished.

android appwidget invalidate

I have a home screen widget that tries to mimic a list of items, basically it's just 4 views in a vertical linear layout and there's 2 arrow buttons to "scroll" through list.
I'm able to scroll just fine querying the provider using limit offset, count.
The problem is that i'm using a transparent background and when i switch to the next set of results, the text of the item draws over the previous ones. It's like that view doesn't get invalidated.
Has anyone experience something like this? I tried using an opaque background and of course it works but i wanted a transparent one. I tried searching, but haven't found nothing like this.
Thanks,

Categories

Resources