Questions tagged as 'android-layout'

1
answer

Android: Improper layout change due to animation

I have a problem here and I already posted in the international stackoverflow, but no one answered me, so I'm posting here to see if there is any charitable soul to help me. Come on !! I just wanted to do a listing of "tasks" so I used the fo...
asked by 26.06.2014 / 21:01
1
answer

Different layout for portraint and landscape

I have the following: package carcleo.com.cadastro; import android.app.Activity; import android.content.res.Configuration; import android.os.Bundle; public class Principal extends Activity { @Override protected void onCreate(Bundle...
asked by 19.11.2018 / 23:41
1
answer

Responsiveness - Android studio

I'm having a layout mismatch with other versions of android. In my android 8.0.0 the layout stays that way Onanothermobilewithandroid4.4.2 I'musingrecyclerview,grid,cardviewdependencies{implementationfileTree(include:['*.jar'],dir:'libs')...
asked by 17.05.2018 / 16:19
1
answer

Change color of a Button that already has an Assigned Background

Hello, in my application there is a table (Alert Dialog) that will be used to select the color of a component. In this table there are several equal buttons with the background already defined so that they have a round style. For this, I used an...
asked by 02.11.2017 / 17:47
1
answer

Component on another Android

I'm developing an application using android studio 2.2.2 and would like my application to look like this: ButwhenIputtextViewontheimageViewitisunderneaththeimage,ItriedtousetheframeLayoutandthelinearLayoutbutIwasnotableto <?xmlversion="1....
asked by 18.08.2017 / 06:26
1
answer

Change color icons dynamically

I have the following question: I have several icons in my project, some white and some black. Is it possible to change the color of the icon without having to import an icon already in the specific color? Ex: Leave it Red, Yellow, etc ......
asked by 15.09.2017 / 14:15
1
answer

What is the reason for the "This view is not constrained ..." error in ConstraintLayout?

What is the reason for this error?    This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints XML <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.Co...
asked by 22.06.2017 / 00:05
1
answer

Pick view position on screen and apply to another view

I'm trying to make a transition effect when I open a DialogFragment but for this I need the photo ( CircleImageView ) of DialogFragment to be in the same place as the photo of Activity that opens it. If it is not clear...
asked by 25.08.2016 / 21:34
1
answer

Error inflating class android.support.design.widget.NavigationView

This is working correctly on most devices, however on other devices the following error is occurring:   android.view.InflateException: Binary XML file line # 16: Error inflating class android.support.design.widget.NavigationView I've alre...
asked by 15.06.2016 / 04:01
3
answers

How to use ScrollView + Listview

I'm creating a profile system for users using ListView and RecyclerView and I'm not able to make scroll work. Currently it works like this: WhenIdonotuseScrollView,itjustdoesthescrollofLisViewandthetoppartislocked.WhenIu...
asked by 04.05.2016 / 03:37