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

Layout question - Evenly spaced icons

Hi everyone,

atm i try to create a simple layout to space icons evenly in a <view>. It seems so trivial but i can't get it to work without having to write some code. Here is an example image of what i want to achive:

https://pasteboard.co/ybdoGnyMtrSQ.png

In the image it looks very trivial. The two icons are both a <Button> element that should be centered inside the cells. In my example i need 5 icons in a row. I tried it with gridlayout but that doesn't get me anywhere, i was able to create something similar but was not able to center the button elements then!

I hope to find some help here.

best regards,
rocket

Android Studio and Log4j

Is Android Studio 1.2 affected by these?

Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitrary code when combined with a deserialization gadget when listening to untrusted network traffic for log data. This affects Log4j versions up to 1.2 up to 1.2.17.

JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.

Help SSL Cert. Error, tried nearly everything

I'm sorry I'm not sure I understand. What data are we talking about? If you have WiFi, your data is coming thru that connection. If you use cellular than your data is coming from 4G or 5G. But you can't use both.
Lemme rephrase it, when I'm at home or connected to wifi, I don't have the issue. When I'm out and am only connected to cellular, the ssl issue persists

Help Master of Dungeons

well on your link there are two versions listed V1.1.2 and V1.1.0

i think you are just going to have to search for other apk's from other sites. there might be others versions that might work.....or not. its hard to say with older apps such as this one.

and i never have played around with virtual machines on android so i can't really help you with that.
yeah thnx... do you have rangsita for android??? i search on google but many of them is ios...

optimising loop

Odd, some phones can last well. My spare is an Infocus IN610 on Jellybean. the (removable) 400mAh battery still holds a full charge and the only niggle is that some apps are no longer compatible. But as long as I don't Factory reset it, currently installed apps work well. my main use for it is as a 2nd phone (different SIM) and as dedicated GPS .
i only use a phone to make & recieve calls so a budget one is all i need

This site cant be reached

Thx for replying bro. I was wondering why that site gave me suggestion to use a vpn viewing it. If it was taken down or no rights using it, then im ok with thier decision. Ill try looking for another site that is deemed "legal" i dont have the means to pay by the month watching movies online. Cheers

Edit, after doing some researching...it is clear to me most sites look legit but in reality they are streaming illegally. Ive decided to go with my isp and am in process of getting hbo/showtime deal. That way it is a safer alternative

Help HTML cannot open another HTML while direct url from Chrome works

Hi

I have HTML that runs in Android.
This HTML needs to open another HTML

After days, Dannydet pointed to me that as from Android 11 - Chrome will recognize a file - only if it is located in the Downloads folder.

this was a great start and when I entered url like this:
"file:///storage/emulated/0/Android/data/com.android.chrome/files/Download/Final_Days.html"
directly in Chrome - it worked !!

but, when I try to run the same url - from HTML - using href or windows.open I always get
about:blank#blocked

I gave Chrome all permission I know.

Any idea why the Chrome direct url opens the HTML and the href/windows.open from HTML is blocked?
What did I miss?

thank you very much for any help

No more able to open HTML files on Chrome with Android 11

Hi Dannydet
Great reply !!! spent so much time on it. now I can access a file if I place this directly in Chrome file:///storage/emulated/0/Android/data/com.android.chrome/files/Download/Final_Days.html

but if I try to open it from HTML href - I got block with
about:blank#blocked

also when trying HTML - window.open(.....)

I gave all permission I could find.....

any idea what I miss?

many thanks !!!!!!

Help Moto G Power (2020) Headphone Jack Wearing Out/Replacement

Without actually knowing, I would say that it is soldered to a circuit board.

They are replaceable, but they and their connections are tiny.

Have you tried a different cord?
Even a set of headphones can be used as a test.
And if possible, use a straight cord, because those angled ones are prone to issues.

If all else fails, try cleaning the cord end, and be sure that there is no debris in the jack itself.

Filter

Back
Top Bottom