Questions tagged as 'android-xml'

1
answer

wrap_content not working [closed]

I have an error with wrap_content on android in my ImageButton I set the image directly from a URL EXAMPLE: ImageButton img = (ImageButton) findViewById(R.id.imageButton); Picasso.with(getContext()).load("https://java.sogeti.nl/JavaBlog/w...
asked by 24.07.2017 / 14:27
1
answer

Navigation Activity

I would like some help when I open my Navigation Activity after I log in so: ButIwishitwasalreadycalledwithoneofthepagesmarkedlikethis: activity_main_drawer.xml<?xmlversion="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.a...
asked by 14.07.2017 / 15:35
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
0
answers

How to change the color of my SearchView course

For now it is white and I need to put it in black color, I found several tutorials, but I did not find one that works, how do I do this? Code: searchViewPesquisa = (SearchView) findViewById(R.id.searchViewPesquisa); EditText search...
asked by 16.11.2018 / 12:38
0
answers

Arrange the size of a Bitmap in a layer-list

I would like to be able to set a size for my image by having it fit into my reduced size menu. Expectancy: <?xmlversion="1.0" encoding="utf-8"?> <layer-list <item > <shape android:shape="rectangle" >...
asked by 18.10.2018 / 21:02
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
0
answers

Error in Manifest file

My manifest file in the \app\build\intermediates\manifests\full\debug\AndroidManifest.xml folder is giving the error:    "unknown element found" But in the Manifest of the default folder ( \app\src\main\AndroidManifest.xml...
asked by 10.06.2018 / 02:03
0
answers

After Lottie ProgressBar Circular

I created a circular ProgressBar bar in the "After" and I used "Lottie" to create the XML to run in "Android Studio" so far so good.  But I'm not able to populate the created bar in After, through a SeeckBar. What I need is to write the value in...
asked by 02.05.2018 / 15:58
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
0
answers

Prevent the user from cleaning App data (Android)

I have a native Android app and I need to prevent the user from doing manual cleanup ( Settings - > Applications - > - &> Clear Data ) already tried < android: allowClearUserData="false" AndroidManifest.xml Changed the button to "Man...
asked by 25.10.2017 / 22:29