Questions tagged as 'android-layout'

0
answers

How to open a full-screen ImageView using OnClickListener?

I have an application and would like to display a full screen image. The screenshot below shows an example application. How could I put it in full screen, using onClickListener? And how could I do the same thing using intents for a standar...
asked by 25.01.2018 / 23:38
0
answers

Searchview error layout

EverytimeIclicktosearchthesearchpushesthetabsdownI'dlikethetabstostayfixedandthesearchviewexpandwithoutpushingtheTabs. <?xmlversion="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://sch...
asked by 01.01.2018 / 22:55
1
answer

Adding admob after a ListView in a RelativeLayout

Good Night! I'm trying to add an admob to the end of a ListView in a RelativeLayout and the banner does not appear at all! I already tried to manipulate the layout in several ways to see if the ListView was not covering the admob, but it did...
asked by 18.12.2017 / 04:02
0
answers

Scrolling effect with recyclerView

I'm working on an application in which I have a fragment with a title and a recyclerView. This recycler view is divided into sessions (example, pizza, soda), each session has a header and the items that it belongs to. What I want to do on this l...
asked by 11.01.2018 / 11:28
0
answers

Working layout on Android

I'm just having trouble formatting the layout screens in Android Studio after version 3.0.0 or am I no longer knowing how to do it? My screens are mostly a ScrollView. To access the objects at the bottom, of course, I use the mouse scroll. I...
asked by 15.12.2017 / 16:33
1
answer

Android application = Unfortunately project_name has stopped

I'm a beginner on Android and have read some similar questions but could not solve my problem. Running my app gives the error:    Unfortunately project_name has stopped. MainActivity.java package br.com.xxxxxxx.chatxxxxxx; import an...
asked by 04.11.2017 / 19:51
0
answers

Leave activity "darkened" when I click and open a listview on top of the activity

I have an activity with items (recyclerView), when I click on an item, I make a listView appear on top using setVisible (VISIBLE). I want when the listview appears, the activity below becomes darker. This is exactly what happens when you schedul...
asked by 19.10.2017 / 18:34
1
answer

TableRow line division - Layout [closed]

I was looking over TableRow and developing a test app with this layout template and a question arose. I have a Table with 1 Line and 2 columns, whose situation is shown in the figure below. But in column 2 it is not completely filled by content,...
asked by 10.10.2017 / 06:07
0
answers

StatusBar - Change color with scrolling in a CollapsingToolbar

Currently I have an image on a profile screen and StatusBar is "transparent". Running right! Problem: The problem is with the scrolling of the screen, because in this case I have already been able to make the Color of the StatusBar in Prim...
asked by 28.10.2017 / 15:25
0
answers

Listview android

How can I separate the returned fields from a SQLite database into a listview ? I'm using: SimpleCursorAdapter adaptador = new SimpleCursorAdapter(this, R.layout.row_item, registros, from, to, 0); Eele returns the fields correctly, but t...
asked by 11.09.2017 / 20:20