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

Custom Notification - Paddings

Hi,

I created a custom notification. However, I like to use the same padding for left- and right-padding that is used for standard notifications. I noticed that this padding can be different depending on the device.

I found the followinf notification style that applies the correct left-right-padding, but it also adds additional stuff that I do not like. Example for the style:

NotificationCompat.Style style = new NotificationCompat.DecoratedCustomViewStyle();
builder.setStyle(style);

So I basically would like to apply the same left/right padding that is applied by the DecoratedCustomViewStyle, but without all that extra stuff.

Does anyone has experience how I can get the correct left-right padding for the notification?

Thanks in advance &
Best regards,
Manuel

S 7 Successor

Hello,
I am looking for a successor for my Samsung Gallaxy S7.
I have used the S7 very intensively in the last 3 years and have been quite satisfied with the hardware.
The only thing that bothered me was that it was too big.
I'm looking for a small, handy smartphone as a successor.
Which one can you recommend to me?
Unfortunately, those smartphones are getting bigger every year.
Even the S10e is just as big as the S7, eben thrugh everyone dass ihr S10e is small...
Is there a smaller device with a useful hardware?
Which one can you recommend to me? :)

Phone Answers When Touched- How To Stop?

Hello All!
I have a ZTE Maven using Android 5.1 Lollipop and AT&T Go Phone.
When the phone rings and I touch it to take it out of my pocket, the call is answered.
This is a new behavior. I used to have to swipe down on the screen to answer.

I have searched every setting & sub-setting on the phone with no luck.
Internet searching has many articles, some specific to Lollipop, but my phone does not have the buttons to press as shown in the articles.

Do any of you know how to turn off answering unless I swipe down?
Thanks Very Much for your help!
Paul

  • Poll Poll
Apps Listview Images are getting Cut of at Borders

Listview Images are getting Cut of at Borders in only OnePlus all Devices

  • This Might be issue with Library?

    Votes: 0 0.0%
  • his might issue with OnePlue Devices?

    Votes: 0 0.0%

Hi Team,
I am Android App Developer, I facing an Issue only in One Plus Devices.
Issue: In Listview I have placed an ImageView in it, we are using Library (WrapContentDraweeView) to fetch the Image url and displaying on the Screen. While showing the Images on the Screen Images are cut of for 1 DP (Top, Bottom, Right, Left) on all the sides. Tried to replicate the issue in Other devices, but we can't able to reproduce this issue in other Devices.

I am attaching OnePlus Screenshot and Other mobile Screenshot, Please check the marked area.

May I know the reason why it is happening.

Attachments

  • OnePlus.jpeg
    OnePlus.jpeg
    218.6 KB · Views: 221
  • Other.png
    Other.png
    1.2 MB · Views: 188

Can't flash firmware

Well, I flashed a SANDERS 28.49 Firmware running a XT1800 G5s Plus, but idk I have issues like wifi not working (can't activate it), calls have no sound, some bluetooth devices won't work and i'm trying to flash a newer version of sanders (28.65) trough fastboot, but I get preflash validation failed, security version downgrade, etc, and I cannot even install any custom rom trough TWRP because error 7 (even with the updater-script modified)

Getvar:
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.12
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 3
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX1BMB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY322G2DJF
(bootloader) cid: 0x0032
(bootloader) channelid: 0x1a
(bootloader) uid: A0A21E0800000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) imei:
(bootloader) meid:
(bootloader) date: 02-14-2018
(bootloader) sku: XT1800
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Sat Jan 3 5:41:14 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_retail_n/sanders_
(bootloader) ro.build.fingerprint[1]: n:8.1.0/OPS28.49-2/202c:user/relea
(bootloader) ro.build.fingerprint[2]: se-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.11.2.sanders_reta
(bootloader) ro.build.version.full[1]: il_n.retail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08500-89xx.0
(bootloader) version-baseband: M8953_41.50.07.79.01R SANDERS_LATAM_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-g099018b (hud
(bootloader) kernel.version[1]: soncm@ilclbld31) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Wed Feb 6 03:43:34 CST 2019
(bootloader) sbl1.git: git=MBM-NG-VC2.12-0-g698fb2f
(bootloader) rpm.git: git=92e5e21-dirty
(bootloader) tz.git: git=e619e20
(bootloader) devcfg.git: git=e619e20
(bootloader) keymaster.git: git=e619e20
(bootloader) cmnlib.git: git=e619e20
(bootloader) cmnlib64.git: git=e619e20
(bootloader) prov.git: git=e619e20
(bootloader) aboot.git: git=MBM-NG-VC2.12-0-g07ff23c
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retar
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown

Note 10+ Triple Camera

Ok, I guess this exists on the S10. I passed up that flagship and haven't followed the forum for fear that I'd have to have one. :) Does anyone know just what the triple camera amounts to and the quality of pictures captured by the technology? I'm without a clue but leaks elude to the Note 10 also having the triple camera. I'm like to know more about what it amounts to.

Help transfering to new 3xl, warranty replacement

So I am kinda tech savvy...
My old 3xl has a wonky port, so they sent me a replacement..

First I did whatever 'transfer from old to new phone' stuff the new phone wanted to do...
Then I cut and pasted all folders from old phone, to PC, then onto new phone
THEN I used Helium to back up "53" apps to my google drive, which it ended up doing only 30- no idea why..
SMS back n restore...
comparing phones side by side, pretty much identical in the app drawer, most apps appear to have moved over with their data...looks like all my music, texts, pics etc....
I am almost ready to wipe old phone BUT.
using the pc to look into the phones, old phone has 14 Gb available, new phone...29
what the hell have I missed in copying over my stuff?!?!?!?!?!?

entering settings,storage.. Old phone used 40.96/64gb new phone using 32.67/64
I "lost" 8gb of stuff?

Filter

Back
Top Bottom