Questions tagged as 'android-layout'

1
answer

Use a layout folder for more than one size

I have a Tablet (7 ") and a smatphone (5"). My layout folders are: layout > It has almost all layouts layout-large > One of the screens (Screen A) will behave differently for wide layout-normal-land > One of the screen...
asked by 30.03.2016 / 21:54
2
answers

Hide the WebView address bar

As I needed to develop an application of type WebApp , I followed a tutorial and I was successful (the tutorial used IDE Android Studio 1.0.2). The application works satisfactorily, but there is one detail I know this type of application s...
asked by 05.11.2015 / 22:03
1
answer

How to put border on a selected item in the ListView?

How to put a border on a ListView item when the user selects that item in the android application?     
asked by 17.12.2015 / 19:27
1
answer

Android - Align Layout above keyboard

I have the following layout: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/view_login" android:layout_width="match_parent" andr...
asked by 10.09.2015 / 12:56
1
answer

AlertDialog.Builder with undue space

I have a space in the bottom of my custom AlertDialog. I do not know why it's happening, knowing that I did not set any margins or padding at the end of my view. If anyone can help. Here is a real print of what is happening Andhere'smyuse...
asked by 14.09.2015 / 20:52
1
answer

Android Layout (Box Dialog)

I'm trying to build a boxdialog for a listview. I'm having a hard time finding an example to build on and develop my solution. Does anyone know of any material to tell me? Here is a photo of the expected dialog (above the "i")     
asked by 19.07.2015 / 00:31
1
answer

How to create layout similar to APP clock

Good morning, everyone. Could someone give me an help on how to create a layout similar to the Android APP clock? I would like to do something very similar to these screens. If you can help me with XML code or links from blogs and websites I'll...
asked by 29.06.2015 / 15:29
2
answers

How to get the coordinates (X and Y) of a click on an imageview?

I'm making an application that has an image that occupies all ImageView , and when the user clicks somewhere on that image, the X and Y coordinates corresponding to the image are drawn, and a circle with a center is drawn at that point. Si...
asked by 16.08.2015 / 06:58
1
answer

Using View Animation

I would like to know how you would use View Animation to simulate a GIF. For example: I have a photo of a sword, this sword is up, so do something like that to go right, clockwise, going around and going back to its original position....
asked by 06.08.2015 / 15:20
2
answers

VideoView overlaying another videoView on TabActivity Android

I have TabActivity with two Tabs , in both it has a VideoView (Man | Woman). When I start one of the Tabs and then switch to the other, the video of the first still runs under the other video. How can I resolve this?...
asked by 22.01.2015 / 13:45