Questions tagged as 'android-layout'

3
answers

Error in Android Studio

I am developing an application in Android Studio but at the time of executing it by the emulator I am getting the following error:    Error: can not find symbol variable fab FloatingActionButton fab = (FloatingActionButton) findViewById(...
asked by 11.03.2017 / 14:53
2
answers

How to use windowSoftInputMode="adjustNothing"

Good, I have a layout for an activity in which when I'm going to use the android keyboard it hides some views, I've been looking and they tell me that to solve it we should use the following attribute: android:windowSoftInputMode="adjustPan"...
asked by 21.11.2016 / 17:38
1
answer

How can I make an imageButton between two layouts?

Good day. How could I achieve this in my xml layout? I mean having a button between the main bar and the content. Thank you in advance.     
asked by 23.01.2017 / 16:00
2
answers

assign a theme to the application in android studio

good, I have an application that has a theme created by default in android. I was compiling it with an api 23 but the cell phones where the application will run have an api 19. I downloaded the api 19, but when selecting the api 19 in the upper...
asked by 31.05.2016 / 22:06
2
answers

Why does not the layout_weight property appear in the properties palette? [closed]

The layout_weight property does not appear in the properties palette, my android version is 2.2.3 Is this property no longer supported to place the weight on the layout?     
asked by 22.02.2017 / 18:34
1
answer

Type password in android EditText

When entering the password, I want them to leave *, periods or something so that it is not visible. I have the following editText <EditText android:id="@+id/edit1" android:layout_width="match_parent" android:layout_height="wrap_...
asked by 27.09.2018 / 17:52
1
answer

Problem with Android Studio

Download today on my android studio PC and I have a rendering error. It does not let me visualize any component. This is the mistake I have: Failed to find style 'coordinatorLayoutStyle' in current theme     
asked by 16.08.2018 / 00:53
2
answers

ScrollView does not work: ScrollView can host only one direct child

Good afternoon, I'm trying to add a ScrollView but it's not working, the xml file is: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://...
asked by 29.01.2018 / 21:48
3
answers

My class does not find my layouts or activities android

My application is connected to a firebase server, and I have created a class to check if the data has been changed and, if so, go to a specific layout or activity: package com.example.gerard.presentacio; import com.example.gerard.presentacio.R...
asked by 05.12.2017 / 23:22
1
answer

How to change the color of the Toolbar menu icon on Android? [duplicate]

By default it appears white, what I need is to put the background in White and the icon in orange, how could the color of the icon change?     
asked by 21.12.2017 / 03:28