yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Helveticus99:
Hi everyone

Unfortunately my post count is still too low to post to the developer section, that's why I'm posting here (perhaps an admin can move it to the developer section).

I have a radio group with 2 radio buttons without text. In the following, I will describe everything in very detail and show everything I have tried. The layout looks as follows:

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
tools:ignore="RtlHardcoded">

<RadioButton
android:id="@+id/radioButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="50dp"
android:scaleX="2"
android:scaleY="2" />

<RadioButton
android:id="@+id/radioButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="55dp"
android:layout_marginRight="50dp"
android:scaleX="2"
android:scaleY="2" />
</RadioGroup>
</android.support.constraint.ConstraintLayout>

As can be seen, the hit (clickable) area covers exactly the buttons (shown as blue rectangle).

Now I would like to increase the size of the clickable area. When I add

android:paddingTop="30dp"
android:paddingBottom="30dp"

to each button I'm getting the following layout:

This is nice, now the clickable area is enlarged at the top and bottom. But I would also like to expand the clickable area to the left and right. So I add

android:paddingLeft="30dp"

to each button. The result is the following:

That is bad because the clickable area (blue rectangles) is now no more centered around the button. When I add

android:paddingRight="30dp"

to each button (which is equivalend to substituting all above paddings with just android: padding="30dp") it gets even worse:

I have tried everything but I'm not able to get the clickable area centered around the button. So I have tried to move the clickable area at runtime using

RadioButton radioButton= findViewById(R.id.radioButton1);
final View parent = (View) radioButton.getParent();
parent.post(new Runnable() {
public void run() {
final Rect rect = new Rect();
radioButton.getHitRect(rect);
rect.left -= 100;
rect.right -= 100;
parent.setTouchDelegate(new TouchDelegate(rect, radioButton));
}
});

This does also not work, the clickable area somehow does not change at all.

Is there any way to get the clickable area centered around the buttons? Any help is highly appreciated.
[Motorola One Guides, News, & Discussion] borksek:
Hello! I've recently gotten disable force-encrypt line on the fstab.qcom. So if you'd like to try it out, you have to have unlocked bootloader [duh] and TWRP: https://xdaforums.com/motorola-one/how-to/twrp-similar-device-t3873875

Put fstab in the folder you run adb "aka where you boot twrp"

When you are in TWRP you will have to go to mount and mount the Vendor partition.

Next, execute this line in ADB: adb push fstab.qcom /vendor/etc/fstab.qcom

After that, Reboot and your phone should be decrypted. Please tell me results. I don't wanna risk my phone since i barely got it and i was almost getting a heart attack when it was stuck on boot for like 3 minutes.
[Motorola One Guides, News, & Discussion] borksek:
Link: https://drive.google.com/open?id=189NeVlJmyEHpv3PGe_5ZeSIZZhW2HYK1
[Motorola One Guides, News, & Discussion] borksek:
Oh! And don't forget to format data. Go to Wipe, Press data And then press format.
[Motorola One Guides, News, & Discussion] lucasdeeiroz:
Didn't work. No effects whatsoever
[Motorola One Guides, News, & Discussion] borksek:
Yep. I know. This is old
[Motorola One Guides, News, & Discussion] skia16:
is there any other method? I need to execute zip file on twrp and with encryption I can't
[Motorola One Guides, News, & Discussion] baj24:
It works but from what I understand it doesn't survive a reboot.
[Motorola One Guides, News, & Discussion] skia16:
What did you mean?
[Motorola One Guides, News, & Discussion] borksek:
It doesn't brick your phone and it doesn't make it un-force-encrypted. It just does.. nothing.
[Moto Z2 Force  Questions & Answers] jed_99:
a Z2 Force 64gb with a 128gb sd card. Sprint phone (XT1789-03) and I hadn't used it as a phone yet, was still learning the OS (moved from Windows platform, and currently using a iphone) and setting up apps. Phone is only about 3mos old, had an eBay seller unlock it remotely. Still using stock OS.

Worked fine except that every time the phone started it wanted to update Magisk, which I understand was used to unlock the phone. I did check that it was working after the unlock as I threw my sim in it to verify. I would just press, Ask Later, and continue on.

I believe my daughter did the Magisk update for me, and the phone immediately did the error message in the dropbox photos:

dropbox.com/s/12iuq18yimovmx9/image1001.jpg

dropbox.com/s/nmlfublbasli9n5/image1002.jpg

dropbox.com/s/tp2ztijg7bl8jnz/image1003.jpg

"Start up Failed

Your device didn't start up successfully

Use the Software Repair Assistant on computer to repair your device

Connect your device to your computer to get the Software Repair Assistant.

AP Fast Boot Flash Mode (Secure)

No Bootable A/B Slot"

I removed the SD Card, as I had read that could make a difference. It did not. I also tried the Volume Down and Power, with no difference.

I did download the USB drivers and the phone is seen by the pc. Beyond that, I'm not sure where I should be heading.

Appreciate the help!
[Moto Z2 Force  Questions & Answers] jed_99:
Please delete
[Moto Z2 Force  Questions & Answers] hfadhl:
Hi Jed, how did you fix? thx
[Xiaomi Redmi Note 5 Pro Questions & Answers] AhmedAlaa01:
what is the best kernel for note 5 aosp roms and what is differnce between them ?
[Xiaomi Redmi Note 5 Pro Questions & Answers] rasik107:
try No-Name kernel. (overclocked upto 2.2 ghz)

I used it with

1) MIUI Dev rom (Medium settings in pubg)

2) Pixel Exp ! (smooth exp , good battery life :good:)

slightly better performance than stock kernel ;)
[Xiaomi Redmi Note 5 Pro Questions & Answers] jokerpappu:
there is no such thing as best .everyone has their own preferences

if you are a gamer try noname kernel v2.3. its overclocked so good for games.

if you dont game and just want to watch videos browse web etc then insigniux and derp is the best choice.
[Xiaomi Redmi Note 5 Pro Questions & Answers] mdzaibsk:
how did you overclock ? i want to overclock my note 5 pro :fingers-crossed::fingers-crossed:
[Xiaomi Redmi Note 5 Pro Questions & Answers] AhmedAlaa01:
i want to save battry and in gaming time good performance in cpu and gpu , i use pixel experience rom and there is no option for it's kernel
[Xiaomi Redmi Note 5 Pro Questions & Answers] AhmedAlaa01:
is it over clock gpu also ?

and did you try insigniux what is difference between them
[Xiaomi Redmi Note 5 Pro Questions & Answers] jokerpappu:
insigniux and derp both are good. try both and see which one is good for you

---------- Post added at 04:14 PM ---------- Previous post was at 04:12 PM ----------

gpu on our device vant be overclocked for some reason. so only cpu overclock. the latest noname r2.4 is underclocked as the dev said he didnt noticed any dofference when cpu was overclocked so try 2.3 version of noname kernel if you want overclocked cpu
[Xiaomi Redmi Note 5 Pro Questions & Answers] AhmedAlaa01:
now i use pixel experience rom with derp kernel but i want app to control performance compatible with the kernel (like elementalx and exkernel in my last device Nexus 5x) is there apps for the 3 kernels
[Xiaomi Redmi Note 5 Pro Questions & Answers] jokerpappu:
you can use kernel adiutor. i don't know any other apps besides that
[Android Q&A, Help & Troubleshooting] kc02141994:
This phone can record 1080p video why can't I watch 1080p YouTube videos on my Moto g6 play?
[LeEco Le Max 2 Questions & Answers] crazyazz:
Hi guys,

Where is the place to get the best deal on a le max 2 x820?

Thanks
[LeEco Le Max 2 Questions & Answers] pranjalm:
buy poco f1 if possible
[LeEco Le Max 2 Questions & Answers] Talha wasi:
Bro try some other phone this SOC is outdated and the phone hardware is quite old so if you are in market for a phone use the money for some other phone
[LeEco Le Max 2 Questions & Answers] flauschi18:
If you still consider buying this phone: definetly NOT from Banggood. They sell refurbished, fake X820 phones. Read comments on banggood.com. Especially those in russian!
[Asus ZenPad 10 Questions & Answers] dadjadja:
hi all

my freind offer me bricked zenpad 10 z301 series reboot on screen asus no command

when i try to reflash it it show me that chip is mt6735 which isnt z301 and there is no z301 with this chip thats mean is flashed with wrong rom how the owner did i dont know and all z301 is mt8163

and all firmware from asus site are with wrong scatter files and with wrong files : system.new.dat system.patch.dat scatter.txt file_contexts.bin ect.....

i try some scatter file in the net for z301 and convert .dat image to img said bad chip wrong bootrom

i dont know how this tablet took mt6735 and it wont took otherelse

on front tablet zenpad 10 z301serie

under cover z301ml somewhere

any help will really appreciate

thanx
[Asus ZenPad 10 Questions & Answers] kidpunk:
It should have the MT8735W chip according to the specs on https://www.asus.com/Tablets/ASUS-ZenPad-10-Z301ML/specifications/

Can you get into recovery from the "no command" screen (by pressing power + volume up) ? Did it fail to flash stock rom from that recovery screen?

Tried to get into fastboot to boot/flash boot.img or recovery.img?
[Xiaomi Poco F1 Questions & Answers] Darklouis:
I've notice that when I play a music or a video on youtube, the bottom speaker (between the type-c port), especially on the bottom left doesn't have sound output but the bottom right speaker has sound output. Idk if this is a hardware problem or Xiaomi did not include a speaker on the bottom left.
[Xiaomi Poco F1 Questions & Answers] Darklouis:
Issue solved, here are the details on MIUI Forum.

http://en.miui.com/thread-3768631-1-1.html

They said that the left side of the usb type-c port has only microphone and the design was only purpose to have symmetry on both left and the right.
[Xiaomi Poco F1 Questions & Answers] ernest.torma:
Speaker echo issue during internet (video) calls

Hello sir. The issue for me is gone for top mic when talking on both cellular and internet (Telegram call). But if I use the Google Duo app, the call recipient hear himself, sometimes there is a gain effect (for example: when the phones are nearby), sometimes I can hear myself. Can you offer some possible fixes to this? Thanks for advance, have a good day.
[Tilt, TyTN II, MDA Vario III General] pcsandchips:
dose any one know if thire is any way to tell the tytn11 to use the micro sd to help it run quicker.a bit like adding system memory to a new computer. or dose it do it any way ?. i have had look on the tytn11 forums and cant see any thing but i might have missed it. it would be gd to tell it to use a gig or two if you dont need the space on your micro sd card.:confused:
[Galaxy S6 Q&A, Help & Troubleshooting] cumandr:
I've been trying all day today to get OpenGApps working on an SM-G9209, which is a China Telecom variant of the S6.

I flashed the latest stock firmware PDA: G9209KEU2ERI2 CSC: G9209CTC2ERI2 (obtained from SamMobile)

I flashed a custom build of TWRP that actually works for the device according to https://xdaforums.com/galaxy-s6/help/s6-stuck-bootloop-flash-twrp-via-odin-t3590887 (obtained from Baidu Drive)

I flashed OpenGApps pico for Android 7.0 immediately.

I flashed Magisk 18 as per the XDA thread to allow the device to boot up.

Moving through the initial set up, it now seems to be working. (A ton of bloat apps are also installed by default by the carrier.) Magisk is hidden and confirms that it passes SafetyNet.

But now, and the key problem, adding a Google account or signing in to Play Store shows the "Checking info" screen, and as soon as the blue bar moves to the right and fills up the right half of the bar, the app goes to black. Adding the GSF ID to Google's register thing for custom ROMs doesn't change this.

Unfortunately, even bleeding LineageOS (15.1) and forked ROMs don't target this variant and prevent themselves from flashing to it, even when practically every other variant is targeted. Current builds of Lineage only target 14.1. In a December 2017 XDA thread, there is supposedly another ROM, but the links are dead.

I would like GApps to be usable on this because most of our stuff is on the Google stack: Calendar, Gmail, Drive, and Play Games. Unfortunately, being unable to sign in makes this a fail. Does anybody have ideas?
[Galaxy S6 Q&A, Help & Troubleshooting] doraemonttt:
Many Chinese developers believe it's impossible to install GAPPs on Chinese stock ROM.

I have tried, and fail because whatever GAPPs I installed, Google Play Framework always stops working.

Perhaps you need to change to a customed ROM by Chinese develpers.
[Xiaomi Mi A2 / 6X Questions & Answers] AlvaroBenitez99:
I can't update to Pie my Mi A2, "Error on install" "Can't Install" Bootlop

When it came out the first version also happened to me, flashed everything with fastboot, and had the critical partitions unlocked as well. But the result: vibrated, lit, turned off, and so on again and again. I had also tried the VPN method, downloaded via OTA, the same thing happened and I had an error when installing. All this having tried several times to install the rom with MiFlash downloaded from the official page.

Now finally the version came out, reinstall of 0, I do not have root, nothing, the official version 2 of Pie that was released in my country is downloaded, and the same thing happens, I do not know what to do, why my device does not turn on after update ?, keeps appearing "Error when installing", it did not happen to me with roms like Pixel Experience ..
[Xiaomi Mi A2 / 6X Questions & Answers] vagsvag:
You don't loose nothing, stay at oreo until next update which maybe is not beta
[Google Pixel 3 Questions & Answers] FUZER384:
Hey xda,

I'm on a new P3 on build pd1a.180720.030 and following this guide here: XDA Root Guide and after installing the Magisk installer zip script I get stuck on the Google Logo screen. So after that I tried flashing the boot.img from the factory image to no avail and ended up having to do a flash-all :rolleyes: . Now don't want to go down that road again, so has anyone found what is wrong or needs to be updated about this guide?
[Google Pixel 3 Questions & Answers] FUZER384:
This might need to be moved to Q&A
[Google Pixel 3 Questions & Answers] FUZER384:
For anyone in the same position, I took the OTA for November, and after I booted into TWRP using the .img, before I opted to keep System Read Only, this time I chose to Allow Modifications. It worked this time!
[Google Pixel 3 Questions & Answers] neoss119:
I'm in the same situation. Any solutions?
[Google Pixel 3 Questions & Answers] FUZER384:
Are you on Sep or November build?
[Google Pixel 3 Questions & Answers] neoss119:
I was on December build. I figured it out, you need to have a pass-code before installing/entering recovery. At least that's what the guide from Pixel 3 XL says. After having a pass-code it worked.
[Google Pixel 3 Questions & Answers] FUZER384:
I didn't a passcode, after I got off the G screen logo by doing a flash-all from the December build (you can remove the -w if you don't want to wipe data) I went through the process again. When you boot into TWRP with the img, Make sure to Allow System Mod instead of Keep read Only. Then just install Magisk
[Samsung Galaxy Note 9 Accessories] Blues fan:
I'm just wondering has anyone dropped their phone while using the samsung rugged case yet and if so did the phone get any damage?
[Samsung Galaxy Note 9 Accessories] felloffthetruck:
Saki say he has dropped his Note 9 several times in the rugged case with no problems at all.

https://www.youtube.com/watch?v=gPqwVFXwg1I
[Samsung Galaxy Note 9 Accessories] pizza_pablo:
It must be sunny in Saki's apartment.
[Samsung Galaxy Note 9 Accessories] Rsmin:
Dropped mine from waist high on hard floor in the house. No issues. Love the case.
[Samsung Galaxy Note 9 Accessories] Blues fan:
Even better than the Otterbox Defender??
[Samsung Galaxy Note 9 Accessories] Rsmin:
Don't know. Never owned the OtterBox.
[Samsung Galaxy Note 9 Accessories] vagelis:
Like the others posted, the case is great. I like it so much that I got both black and silver to use depending on mood... but I think I like the silver a bit better.
[Samsung Galaxy Note 9 Accessories] SuperLeakTX:
For the price, i would like an extra layer protection for the front.

get an Otterbox or armadillotek case if you really are clumsy and drops a few time per day
[Samsung Galaxy Note 9 Accessories] gd761:
I have dropped Mine a few times.

My Supcase Unicorn Beetle Pro has Protected My Note 7, Note 8, and Note 9 many times since the very first drop.
[Samsung Galaxy Note 9 Accessories] N1NJATH3ORY:
i had the Unicorn Beetle Pro for my NOTE-9 My kick stand on the back kept coming off i dont know if that's normal ? i sent it back as it was such a pain to get back in!
[Samsung Galaxy Note 9 Accessories] gd761:
No, it's Not Normal that the Kickstand either keeps opening or that it comes off at all.

I have Never had that happen at all to Any of the Cases that I have ever had where there was an issue with mis-functionioning parts.
[Samsung Galaxy Note 9 Accessories] SuperLeakTX:
Try this one tho, https://www.amazon.com/gp/product/B07HSXQQYY
[Samsung Galaxy Note 9 Accessories] Da-BOSS:
I have Samsung Galaxy Note 9 SUPCASE [Unicorn Beetle Neo] it is simple & slim & provides the best protection all over the phone ;)
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
░▒▄█▀▄░ █▀▄ █▀▀▄ █▀▀ █▄░█ ▄▀▄ █░░ ▀ █▄░█ █▀▀░░▒▐█▀▀▄ ▄▀▄ █▄░▄█

▒▐█▄▄▐█ █░█ █▐█▀ █▀▀ █░▀█ █▀█ █░▄ █ █░▀█ █▀▀░░▒▐█▒▐█ █░█ █░█░█

▒▐█░▒▐█ ▀▀░ ▀░▀▀ ▀▀▀ ▀░░▀ ▀░▀ ▀▀▀ ▀ ▀░░▀ ▀▀▀░░▒▐█▀▄▄ ░▀░ ▀░░░▀

Key Features

Based on [MENTION=3463514]foobar66[/MENTION] GoogleWiz ROM

NX Kernel

Samsung SoundAlive Dolby Atmos

Shell Script Advanced Features (SSAF) *See post #2

Updates will come in small service packs instead of a complete ROM update unless necessary

Samsung Gear might work out of the box

Removed some tweaks that I deemed useless.

Removed a few Google apps (Drive, Map, YouTube, etc) from the ROM, you can install them from Play Store instead

Emergency Launcher, UltraPowerSavingMode, SmartCapture, SmartSwitch, LiveWallpaper

Removed GoogleWiz's customizing script

Installation

Backup is always recommended

You should be able to dirty flash from stock/GoogleWiz ROM

You might not be able to boot, which is why 1. is important

Install any patch or cumulative update zip.

Adrenaline Experience

Some apps that I personally use and recommend:

SolidExplorer

SwiftBlack

Fluid Navigation Gestures

Download

*Feel free to mirror, however, monetizing the download link in any way is strictly prohibited.

Google Drive

Patches & Cumulative Update

Bootloader

Source

GITHUB: Shell Script Advanced Features

Credit

[MENTION=3463514]foobar66[/MENTION]

[MENTION=4860093]SoLdieR9312[/MENTION]

[MENTION=4587002]Noxxxious[/MENTION]

[MENTION=5132229]xpirt[/MENTION]

amirzaidi for Pixel Launcher
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
Shell Script Advanced Features

Everything that can be done in shell script shall be done in shell script.

You will need to install a terminal emulator from PlayStore to use this function.

Current functions:

Remap Bixby Key

Change Device Name

Max Volume Warning Toggle

Enable Stereo Speaker

Navigation Bar Toggle

Immersive Mode

Set DNS

Powercfg by yc9559 @ CoolApk [EXY8895]

Host File Based Adblock

Service Disabler

Set big Cluster Max Freq

Set LITTLE Cluster Max Freq

Script OTA Self Update

Reboot Device

Reboot into Recovery

To use, type the following in a terminal emulator

su
cfg

Code

Issues

TODO/Progress

Wiki

Credits
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
Changelog

v1.0 - The Late Santa [26 Dec 2018]

Initial Release.

v2.0 - WorstJet [13 Jan 2019]

Reverted Samsung Camera to stock

Samsung Gallery is back to the party

Added quite a lot of files that are related to VOLTE/VOWIFI (credit), you will need to flash CSC installer to install your CSC files

NX Kernel R19

Magisk v18.0

Almost up-to-date SSAF
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
Flashable Update Zip

[Patch] - Smaller fix, you need to install all patches according to the number, you do not need to reboot in between patches. (Flash 1.0 first, then 2.0, 3.0 ...)

[Cumulative Update] - Bigger update containing all the previous small patches.

WorstJet

-Nothing available as of now

Previous Version(s)

The Late Santa

[Patch 1.0] 26122018

Enabled navigation bar

Added Project WIPE by yc9559 @ CoolApk, default setting is set to [Balance]

Changed config to cfg for easier access

[Patch 2.0] 27122018

Added GearManagerStub.apk

Added Launcher from amirzaidi

[Patch 3.0] 27122018.2

Updated custom menu to include adblock and service disabler

[Patch 4.0] 30122018

Fixed permissions

Minor update to SSAF

Service disabler in SSAF will now run in complete silence

Enabled UHQ tile in csc

[Patch 5.0] 31122018

SSAF now able to set DNS properly

SSAF now able to change big cluster max freq

[Patch 6.0] 03012019

SSAF now able to grab dependencies from GitHub if any is missing

SSAF now able to change LITTLE cluster max freq

Minor fixes to powercfg

[Patch 7.0] 05012019

SSAF now able to enable stereo speaker
[Samsung Galaxy S8 & S8+ Cross Device Development] jotacorredor:
Thanks! Haven't been able to download the ROM you're basing yours as it always hangs for me with megaupload, will try yours as I have better luck with gdrive. Slds.
[Samsung Galaxy S8 & S8+ Cross Device Development] davids281:
well stuck on android is starting
[Samsung Galaxy S8 & S8+ Cross Device Development] pbls:
Android is starting and no navbar,even going for settings and reenable it
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
I left the navigation bar disabled in build.prop accidentally

Edit the last line in build.prop:

qemu.hw.mainkeys=1

to

qemu.hw.mainkeys=0

and reboot.

or use the custom menu to re-enable it then reboot

or edit the build.prop and reflash ROM

EDIT:

or flash the attached flashable patch zip
[Samsung Galaxy S8 & S8+ Cross Device Development] Dome12:
how do i install the rom?
[Samsung Galaxy S8 & S8+ Cross Device Development] davids281:
well the navbar is back and still stuck at android is starting

ps: this rom doesnt have a launcher thats why i keep stuck at android is running
[Samsung Galaxy S8 & S8+ Cross Device Development] navaskp:
Is Volte vorking? Foos original rom hasn't.
[Samsung Galaxy S8 & S8+ Cross Device Development] xtmzone:
Good job ! I will test the rom i i will give u a feedback !

You will planning to add some more mods ?

Thanks.
[Samsung Galaxy S8 & S8+ Cross Device Development] pbls:
the ROM doesn't have a launcher,you must go to the Google play to install one
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
Ah.. now I know why it doesn't boot.

It isn't working either

I'd refrain from adding 'mod' myself that requires to be redone every security update as it wastes time.

Feature will be added to the custom menu instead as that is portable, work across updates and even devices.

Everything that's doable in shell script shall be done in shell script.
[Samsung Galaxy S8 & S8+ Cross Device Development] xxxPLETTIxxx:
I always get the result "permission denied"

Su rights granted to terminal emulator. Used the commands su "enter" cfg "enter". What am I doing wrong?
[Samsung Galaxy S8 & S8+ Cross Device Development] ImbaWind:
Sounds like you are doing everything right, but I'm not sure why.

Can you attach a screenshot?