Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.34k stars 145 forks source link

[Feature Request] Display full file name #825

Open OilSubjectLoss7 opened 9 months ago

OilSubjectLoss7 commented 9 months ago

i can't tell which is which if there are many regions and versions etc., and is there a way to disable thumbnail offline/online and only list full filenames.

display the full name use as many row as possible for a single rom with very long name or scroll filename.

cloph commented 8 months ago

easiest fix handing many cases is to set the TextView's ellipsize to middle (or even start) instead of end, that will reveal the region/version suffixes, and assuming that you have the box-art for most titles that will be reasonably sufficient.

But of course a nicer solution would be to set it to marquee instead so the text scrolls to show the full text. IIRC default marquee requires the label to be selected, so to have it work without making the game name not launch the game is to use a helper class extending TextView that always shows the marquee effect/manually calling setSelected(true) on the labels.

cloph commented 8 months ago

marquee.patch

Simple patch to use marquee (had to upload it as plain text, github wouldn't accept it as .patch) - the change to the font size and font-style aren't necessary for the marquee directly, but of course having smaller fontsize and condensed style helps to show more of the names. Patch accounts for the mobile main/home view and favorites, no idea about TV/leanback or other - but should make it clear what's needed. Scrolling speed is rather slow, so a custom TextView class can still be considered if the stock behaviour is not sufficient.