• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

In Android Studio, after dragging elements from the palette to the layout, they fly somewhere

Here are some potential solutions to try:

  • Try cleaning and rebuilding your project by going to "Build" > "Clean Project" and then "Build" > "Rebuild Project" in Android Studio.
  • Check if there are any errors in your XML layout files. If there are, try fixing them and see if that resolves the issue.
  • Make sure that the elements you are trying to add to the layout have appropriate layout_width and layout_height values set.
  • Try invalidating caches and restarting Android Studio by going to "File" > "Invalidate Caches / Restart"
  • Check the constraints of the elements, it should be properly aligned, if not then adjust it.
  • The issue can also be caused by the version of the Android Studio you are using, and could potentially be fixed by updating to the latest version.
If none of the above solutions work, you may consider creating a new project and copying your code and resources over to it. This way you can rule out any issues with the project configuration as the cause of the problem.
Thank You! It was real usefull and full request. Next-after-problem day I opened those project and all normal working. By the way I've rebooted the computer and just restarted the studio all of that was useless just day before. The Shaitan mashine!

Help How to prevent a particular "harmful app" notification?

Wow, Cerburus - there's an app I haven't heard about in a long while. I do remember it being really handy back in the day... I guess that must have been around Android 4ish that I used it last?

As mentioned above, there are a number of security concerns regarding the Cerberus Anti-Theft app, and it having been removed from the Play Store for violating policies isn't a good look either. There are other anti-theft / "find device" apps still available through the Play Store so I don't think it's a case of Google simply trying to shut down competition for their Find My Device service (which doesn't make them any money anyway).

Personally, I would ditch Cerberus and go for another solution instead. Many could likely be augmented a bit with Tasker or a similar automation app to provide more capabilities while still preserving the Play Protect protection.


If you're insisting upon using a potentially insecure app, though, try going to Settings > Security & privacy > App security, tap the gear icon at the top of the screen, and disable Scan apps with Play Protect and Improve harmful app detection.

best phone cases for drop screen protection

Hey, I totally get it; protecting your new phone is a top priority. I just got a new phone myself, so I know the feeling. IMO, a hard plastic case with a raised edge around the front and camera is a good option for drop protection. However, you might also want to check out https://caseface.ie; they have a wide variety of designs, some of which are specifically designed for drop protection. But don't forget to also look for grip-style cases, as they can help you prevent dropping your phone. Good luck with your search!

Samsung Galaxy Z Fold 5

i also heard about the teardrop hinge. i really hope this is true. but tbh i rarely notice the crease.

Oh, I do! Especially if I turn the phone to landscape to watch a video or view photos, even the Fold 4 has a glaring horizontal line in the center of the screen. The crease isn't nearly as awful as previous Fold versions... but a teardrop hinge that gently curves the UTG without folding it & creasing it would be awesome.

As much as I'd love to see the S Pen back on the RIGHT edge of the phone, I've come to terms with the fact that Samsung values the camera module a lot more than it does convenient S Pen placement. Even if Samsung could park the S Pen silo on the right side of the fold, next to the hinge to the left of the USB-C port, I'd be happy. Adding a digitizer layer to the front panel wouldn't take up THAT much room... and new processors are so power-efficient that Samsung can afford to use slightly smaller batteries. How many of us really use our phone for more than 24 hours without charging it?

Activity!! Please help.

Hi I was wondering if anyone could help me. With google activity is the information provided correct? Anything to do with android is it correct times, dates and info? Can you tell what a person is doing on their phone while looking at the activity? Parent situation and I really need some help. Thanks.
why not just get a parental control app. these two are what my friends use for their kids:
https://play.google.com/store/apps/details?id=org.findmykids.app
https://play.google.com/store/apps/details?id=com.google.android.apps.kids.familylink&hl=en_US&gl=US

the find my kids have parental control over apps and you can use this to see their activities and the apps being used on their device.

and i am not sure i understand your question.why would google activities not have the correct information about the phone? those activities can't be altered. so yes time date and info should be correct.

as far as google activity.....
When you use Google sites, apps, and services, some of your activity is saved in your Google Account. You can find and delete this activity in My Activity, and you can stop saving most activity at any time.
https://support.google.com/accounts/answer/7028918?hl=en&co=GENIE.Platform=Android

How many still have their S9+ ?

Well folks, I had a s9+ and it broke. The face and back came loose. I went to Samsung and ordered a S22 with the S9 as a trade. What a mistake. I got next to nothing for the trade and paid a fortune for the S22 which didn't have the features of the S9+. I ended up purchasing a used S9+ on eBay for way less than the S22 and sold the S22 for about 1/2 of what I paid for it. I'm now happy back with my S9+ and getting some of the money back for the S22.

FYI the S22 was about $600 with the trade in and I sold it for $282 so I got about 1/2 of the cost back. The used S9+ was $170 including tax and shipping.

Samsung is going to have to do a lot better with any new releases (S23?) to get me to move aways from the S9+.

Help Stop auto-update from Android v12 to v13? or Will a factory reset take me back?

It was an uninformed decision of panic.

i thought it would delay rooting (long story, which i will not go into here)
Thanks for all the replys

This (Post) to me is now irrelevant. Hope others will get some use from it.
well i always say that you should never update if you plan on rooting a phone. most of the security patches that comes with the update can close loopholes that are used in rooting.

Phone shutting down

https://play.google.com/store/apps/details?id=com.foxfi&hl=en_US&gl=US
Looking at its Play Store page, the FoxFi app has not been updated since Dec. 2017, apparently it's been abandoned so it's not surprising it is becoming gradually less and less able to function. The cellular networks our carriers are based on do progress at a snail's pace, but continuously.

Which carrier do you use? A lot of carriers now include hotspotting as a free service (with prerequisites). Any chance you switching carriers is doable?
Just as examples:
T-Mobile
https://www.t-mobile.com/support/plans-features/mobile-internet-plans-for-hotspots
AT&T
https://www.att.com/support/article/wireless/KM1009376/
Verizon
https://www.verizon.com/support/mobile-hotspot-faqs/
Also, your Galaxy S6 is eight years old, archaic as far as smartphones. It's old and out-of-date.
https://www.gsmarena.com/samsung_galaxy_s6-6849.php
That could also be a factor when it involves online interactivity.
https://play.google.com/store/apps/details?id=com.foxfi&hl=en_US&gl=US
Looking at its Play Store page, the FoxFi app has not been updated since Dec. 2017, apparently it's been abandoned so it's not surprising it is becoming gradually less and less able to function. The cellular networks our carriers are based on do progress at a snail's pace, but continuously.

Which carrier do you use? A lot of carriers now include hotspotting as a free service (with prerequisites). Any chance you switching carriers is doable?
Just as examples:
T-Mobile
https://www.t-mobile.com/support/plans-features/mobile-internet-plans-for-hotspots
AT&T
https://www.att.com/support/article/wireless/KM1009376/
Verizon
https://www.verizon.com/support/mobile-hotspot-faqs/
Also, your Galaxy S6 is eight years old, archaic as far as smartphones. It's old and out-of-date.
https://www.gsmarena.com/samsung_galaxy_s6-6849.php
That could also be a factor when it involves online interactivity.
I have Verizon I replaced the battery Sunday morning done a factory data reset afterwards foxfi stopped working right after it was working just fine before. So I'm guessing Verizon finally figured out a way to shut the app down after all these years I've used it almost 10 years without much issues. So I'm going to have to finally get home internet/wifi and probably go with straight talk instead I'm paying almost $100 a month with Verizon just for my phone service.

Help Cannot disable notification sound when charging Sony Xperia 5 IV

Sorry for double posting, I created a second account because I couldn't remember my password, or my email address (hehe) but now I'm back. Anyway, here is an update to my first post above: I realized that the annoying charging notification was not due to the charging itself, but due to the "Optimized battery charging" -setting. Apparently, that notification has its own rules, and I cannot find a way to silence it. Does anybody know?
In the meantime, I have disabled optimized battery charging. I guess I'll just have to keep an eye on the charging status.

Filter

Back
Top Bottom