[Q] imageButton with text - Android Q&A, Help & Troubleshooting

Hello, i hope i'm in the right section.
I need some help with display within a game project. I did some research and i can't find a convenient answer. I want to use imageButtons and not just Buttons. I currently use setImageResource (drawable) for my unit and setBackgroundResource (drawable) for background.
I'm missing some info on the screen, let's say HP for an unit or any kind of text.
Here's what it looks like :
I want to have something like this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is there a way to do so ?
Thanks for your time

maitokeul said:
Hello, i hope i'm in the right section.
I need some help with display within a game project. I did some research and i can't find a convenient answer. I want to use imageButtons and not just Buttons. I currently use setImageResource (drawable) for my unit and setBackgroundResource (drawable) for background.
I'm missing some info on the screen, let's say HP for an unit or any kind of text.
Here's what it looks like :
I want to have something like this :
Is there a way to do so ?
Thanks for your time
Click to expand...
Click to collapse
While i'm not completly sure (my month of devolpment hasnt gotten me that far) you should be able to edit the acutal image that you have for the charectors with image editing software like gimp. You just go to the add text tool and add the text that you want to. I will edit this post if i find a more efficent way of doing this.

Related

PHOTON Text Selection for all devices

Hi guys
PS It causes EzInput to go to numeric keypad mode when writing SMS in tmail. Dont know how to fix ((
I would like to share my recent finding.
As you can see from screenshots below i have working HTC Photon (HD Mini) Text Selection on my device. It is a CutCopyPaste functionality from HTC. The most incredible thing is that my device is not a htc device. I have HP Ipaq 614c (QVGA). So i think, if it works for me, should work for all devices.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The only one thing which i dont understand. Why grafics is so bad? I found from web screenshot how it should looks like and it has much better grafics. So i ask a question for more advanced people, which HTC dll library related for grafics?
Cab is attached. Free to try and comment.
And i am not sure about all dependencies. For example, HTCScroll, HTCFramework and HTCShared already included in my device. And i have Manila2D v2.0
I always use ctrl-c/x/v on soft keypad to copy/cut/paste. Will give this a try.
is it possible the use the photon text selection o other place such as Word or note?
No, as i understand only in SMS and Email
Guys, i figured out something more. See screenshot. But this time without selectors.
The selectors are pretty neat, but I definitely like the cleaner look of the text more than the fuzzy icons. Any chance of uploading that second version? Thanks.

[APP] Calc+ v1.0

Hi. This is the first app from PDA4PDA developers .This application, is very easy to use and finger friendly.
Also it has programming ability.so you can write any program for easy with it and recall your program any time.
This program also has CMD using feature that means you can use commands, for doing your calculations and it has some mere abilities like using variants. For using this, you have to go to "My functions" tab and click on CMD button.
But don’t worry! if you want to start programming with it, it's very easy. You can use the programs help to learn it fast.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Image2
Image3
Image4​​ :Features
Easy To Use
Programming ability
Scientific features
Finger Friendly
Nice Design
Skin able
Multiscreen
Very large numbers support with usingScientific notation
Light
*For add your functions to "My functions" part, you have to copy .func files to "Main memory/My
.functions" folder
programmer: Pooyaparsa PINGsft[at]gmail.com
Graphics and help translator: Nimaheravi pda4pda[at]gmail.com
Graphics: Arashnikkhah Arasheek96[at]yahoo.com
apps.PDA4PDA.com
use help file for learn how to use
Download : http://up.pda4pda.com/uploads/Calc+_1.0_pda4pda.com.zip
Help : http://up.pda4pda.com/uploads/help.zip
great
best wishes for u
Hi H_R_V,
The Calculator is good! I have tested it on my device, its working fine. I’m sure that you have made more apps. Please share it with us.

Request: Background Image (Might be hard to get).

I've searched everywhere on this forum and others but I haven't found anything close to what I'm looking for so I'm hoping some one will be able to help me out with this one.
The image I'm looking for is the background for the Night Time weather lock screen on the 3.0 Sense. Just in case I worded that wrong when I first hit the power button at night the lock screen loads with the moon, time, date, (Current) ect. There is a dark image in the background after the animation clouds clear with a grid pattern from the bottom of the page to the middle and a distant starry night sky from the middle up through the time.
Even if it's that image with the moon I don't care the moon is a clean image either way I am going crazy looking for it, I figured it would be an easy find considering but apparently not.
I still haven't found it yet, if anyone can help me out it would mean a lot.
Orical said:
I still haven't found it yet, if anyone can help me out it would mean a lot.
Click to expand...
Click to collapse
Pm a dev or themer and ask if you can extract the image out of the app
Sent from my My Touch 4G using XDA Premium App
I think I have what you are looking for was in the .m10 files.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Links to all 3 right from the file.
Day
Night
Dusk/Dawn
Exactly what I was looking for, thanks so much for those. I'll have to look through the files, Thanks again for that.

Which app is that one ?

Hello
I know that's a newby question (I am almost asame to ask), but I have search without any success
It did come to my hand a wondermedia wm8650 with Android 2.2 and it surprise me the "desktop application" (if I can call it like this) that is has :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
not only have a clean upper icon bar, also the running apps in the right side, and also it allows to rotate
I have a ViewPad7, and I miss all this funcionality
It is something I can get into my tablet?
thanks.
InTheater said:
Hello
I know that's a newby question (I am almost asame to ask), but I have search without any success
It did come to my hand a wondermedia wm8650 with Android 2.2 and it surprise me the "desktop application" (if I can call it like this) that is has :
not only have a clean upper icon bar, also the running apps in the right side, and also it allows to rotate
I have a ViewPad7, and I miss all this funcionality
It is something I can get into my tablet?
thanks.
Click to expand...
Click to collapse
huhu! http://forum.xda-developers.com/showthread.php?t=1022968
maybe you could extract the launcher from that rom and use it on your tablet. Or ask the guy who made the ROM if it is possible!
ok, so that's not an app I could install it ...
it more a (library?, module?) that I should put somehow into a new room and flash it to my table ..
(easy days those of the PC...)
InTheater said:
ok, so that's not an app I could install it ...
it more a (library?, module?) that I should put somehow into a new room and flash it to my table ..
(easy days those of the PC...)
Click to expand...
Click to collapse
It should be an app but it's not sure that it will run on any other Rom/tablet rather then the one it was built for
Send from beneath my cloak of magic

Twrp's keyboard

Hey guys, after several research and various holes in the water I open this theard to ask if anyone knows a way to get the keyboard used in twrp recovery .. I know, there are keyboards like "hacker's keyboard" but the one used in twrp is simple and looks awsome.
Is there a way to transport it in apk or zip to flash?
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm in the same situation, I love it!
Hi,
This is probably what you're looking for: https://github.com/mgood7123/TWRP-Team-Win-Recovery-Project-Keyboard/releases. Seems to be in early development.
TWP
Is it trusted? I don't have knowledge about programming and can someone examine the source code for non-developers? @The_Walking_Playground
pol-der said:
Is it trusted? I don't have knowledge about programming and can someone examine the source code for non-developers? @The_Walking_Playground
Click to expand...
Click to collapse
Hi,
The keyboard itself seems to work, and it doesnt request any permissions, so it should be safe to use. Its just currently incomplete. I typed this post with it.
TWP
The_Walking_Playground said:
Hi,
The keyboard itself seems to work, and it doesnt request any permissions, so it should be safe to use. Its just currently incomplete. I typed this post with it.
TWP
Click to expand...
Click to collapse
I think developer didn't complete that app because it has some bugs. Let's wait stable version.
I love the twrp recovery keyboard. Very simple, bright white and dark layout, simply awesome. I have been searching it for long time. Please guys help us to get that keyboard.

Categories

Resources