Questions tagged as 'android-layout'

0
answers

Swipe activity or Sliding Tabs for capture screen (Camera)

I'm making an application similar to instagram. The home of my application has 3 screens: feed, profile and camera. I want to slide my finger to the side and change the screen. I would like to know how best to do this, when I go to the captur...
asked by 10.10.2018 / 07:58
1
answer

Data from a Selected RecyclerView

Good afternoon, I need when someone clicks on an AnimeActivity data and is passed to the StartReport screen, could anyone help me? insert the image description here     
asked by 03.10.2018 / 20:36
0
answers

Toolbar hidden behind RecyclerView

I have my activity where it is defined as ConstraintLayout, inside it I have a toolbar and a recyclerView but the toolbar is hidden behind the cards that the recyclerView has, how can I fix this?     
asked by 19.09.2018 / 07:26
2
answers

How to eliminate the space left by invisible views on the screen?

I'm working on an android application and my question is: When the user logs into the application, it checks the permissions of the application. How can I make this button invisible and organize to not leave blank the space that this button occu...
asked by 24.11.2016 / 18:47
2
answers

Component ID does not appear in MainActivity

The problem is this: I add a component in my ActivityMain, a button for example, but when I go to do the findviewById (ID) of the component, its ID does not appear in MainActivity, it was working normal before, add a new button and its ID no lon...
asked by 29.08.2018 / 02:50
2
answers

Android - EditText does not return typed value

I'm trying to retrieve a value to generate a random password, however the field   "size" is not returning what you typed. The error occurs in the following block: int tamanho = Integer.parseInt(findViewById(R.id.tamanho).toString()); F...
asked by 27.08.2018 / 01:56
0
answers

How to leave a button as if it were a list

I do not know if it is possible but I would like to make a button that when clicking, there are three more options. Clickingcommunicationshouldpresentthreemoreoptions.Thiswayitispresentedbelow.<?xmlversion="1.0" encoding="utf-8"?>  ...
asked by 20.08.2018 / 19:36
0
answers

Error opening project Android app

While opening the Android app project for a friend of mine on my PC, I came across these errors. How do I resolve this? screenshots: Grandle'scode(moduloapp): apply plugin: 'com.android.application' android { compileSdkVers...
asked by 25.08.2018 / 01:52
1
answer

Align child layouts

I have an android project that basically deals with an application for downloading and watching videos online, I was using a custom code from a video controller for the player I got on the internet, but I decided to create my own to be able to d...
asked by 03.08.2018 / 16:09
1
answer

Define width of a TextView by the maximum number of characters

I'm creating a layout_item for my ListView, but I want all elements to be aligned, but some TextView may have size variation (they assume the value of a numeral that can range from 0 to 1000) so I'm assigning fixed values for the width of them....
asked by 30.07.2018 / 17:33