Questions tagged as 'android-layout'

2
answers

What is the difference between ListView and RecyclerView?

What is the difference between ListView and RecyclerView on Android? From what APi RecyclerView is available? Is it valid to use RecyclerView and not ListView ?     
asked by 19.10.2016 / 20:56
4
answers

What is the difference between match_parent and fill_parent?

When editing the xml layout I always get confused when choosing between match_parent and fill_parent , and I end up always thinking that I'm doing everything wrong because I do not know what each one is or if they are the same ....
asked by 22.06.2016 / 20:03
2
answers

Adding new fields dynamically

I'm creating an app that calculates credits from a school report. DUVIDA : How to add a new EditText when the user clicks the next "+" button and sums the values of each EditText .     
asked by 11.09.2016 / 05:17
3
answers

Doubt two player game, half screen upside down

I am creating a program to practice what I have learned so far and to learn more, but I have reached a stalemate. The question is: I'm creating a question and answer game for two players, each one stands on one side of the phone to play, the...
asked by 09.06.2016 / 02:16
3
answers

How to put caption in an ImageView

I would like to know if it is possible to put caption in a ImageView similar to the image below, if possible an explanation or study material.     
asked by 25.04.2014 / 14:56
3
answers

Import eclipse project into the latest Android Studio API

I did the project import from an eclipse app to Android Studio. The import occurred smoothly and the gradle was created. However, I notice that the visual components like EditText, ProgressBar, AppBar, Button are with an outdated look, of versio...
asked by 03.05.2016 / 18:18
2
answers

Error rendering - class could not be found: android.support.v7.internal.app.WindowDecorActionBar

In my project Android Studio is giving a rendering problem in xml, giving the following error:    Rendering Problems The following classes could not be found:       - android.support.v7.internal.app.WindowDecorActionBar (Fix Build Path, Creat...
asked by 25.11.2015 / 19:22
1
answer

Change ActionBar menu icon

I want to change the menu icon of ActionBar , those 3 points that have the default option "Settings". I've already tried Style by creating a custom theme and there putting the new icon but it did not work. <style name="CustomActivit...
asked by 07.05.2015 / 19:13
1
answer

Divide the application screen into two layouts

I want to split the screen in half. I have two LinearLayout of the same size, but it seems that the only way to do this is to place the size in the android:layout_height=<tamanho> property? <LinearLayout xmlns:android...
asked by 19.12.2014 / 13:27
2
answers

Why does not my image appear when I run the app?

I have the following xml code in Android Studio: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android = "http://schemas.android.com/apk/res/android" xmlns:app = "http://schemas.android.com/apk/res-auto"...
asked by 27.10.2016 / 02:38