B4X FEED widget preview image in some other folder ?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: widget preview image in some other folder ? است. این موضوع تا کنون 32 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع widget preview image in some other folder ?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
32
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I am playing with excellent sample of @Sagenut
[H3] [/H3]
Not sure if this can be considered a Tutorial, my first attempt. Lately I started to play with Widgets, mostly for curiosity. The main problem I encountered was how to design the Layout to make it resizable and make the content to adapt automatically to size changes. Unluckily designing a widget...
برای دیدن تصاویر باید ثبت نام کنید


I made a B4XPages sample and used his widget service. All fine.
There is one aspect that we need to copy the 'preview.png' in the 'res\drawable' folder and mark it read-only, else it will be deleted.

Now I do not want to do it and used '#AdditionalRes: ..\Files' but it is not working.

Any idea how to put the 'preview.png' from another folder to 'res\drawable\' without remembering to keep it there as read-only ?
I mean, I want to have the png in 'Files' or some other folder outside the 'Objects' and the png should be copied to 'res\drawable' from there.

 

عقب
بالا