JdV Active Member Licensed User Longtime User Aug 23, 2017 #1 Hello Can Android Wear layouts and views be included in B4A? For example, the normal ListView looks OK on rectangular screens but is obscured on round screens. More details available here: https://developer.android.com/training/wearables/ui/lists.html Regards Joe
Hello Can Android Wear layouts and views be included in B4A? For example, the normal ListView looks OK on rectangular screens but is obscured on round screens. More details available here: https://developer.android.com/training/wearables/ui/lists.html Regards Joe
JdV Active Member Licensed User Longtime User Aug 30, 2017 #2 Alternatively, can a guide be produced showing how to load, populate and manipulate various Android Wear views?
Alternatively, can a guide be produced showing how to load, populate and manipulate various Android Wear views?
JdV Active Member Licensed User Longtime User May 13, 2019 #3 In the following thread it's recommended to avoid using XML layouts: https://www.b4x.com/android/forum/threads/xml-layout-builder-event-not-working.100781/ On a few experimental Wear apps I had been working on I was using XML layouts as the regular B4X layouts/components didn't function correctly. Is it likely that there will be better support for B4X layouts on Wear devices any time soon?
In the following thread it's recommended to avoid using XML layouts: https://www.b4x.com/android/forum/threads/xml-layout-builder-event-not-working.100781/ On a few experimental Wear apps I had been working on I was using XML layouts as the regular B4X layouts/components didn't function correctly. Is it likely that there will be better support for B4X layouts on Wear devices any time soon?
alwaysbusy Expert Licensed User Longtime User May 13, 2019 #4 Have you looked at https://www.b4x.com/android/forum/threads/lib-chargeable-amir_recyclerview.97274/#content? I believe it works for Wear too.
Have you looked at https://www.b4x.com/android/forum/threads/lib-chargeable-amir_recyclerview.97274/#content? I believe it works for Wear too.
JdV Active Member Licensed User Longtime User May 13, 2019 #5 No, I hadn't seen the thread or library before so thanks for that. It looks like a very comprehensive library. It would probably be overkill for creating small text lists or layouts which only need to scroll slightly but which don't suit the list layout - for example a calculator where not all the buttons are visible at once.
No, I hadn't seen the thread or library before so thanks for that. It looks like a very comprehensive library. It would probably be overkill for creating small text lists or layouts which only need to scroll slightly but which don't suit the list layout - for example a calculator where not all the buttons are visible at once.
Erel B4X founder Staff member Licensed User Longtime User May 13, 2019 #6 JdV said: In the following thread it's recommended to avoid using XML layouts: Click to expand... The recommendation is for regular apps. Not widgets or wear apps. JdV said: On a few experimental Wear apps I had been working on I was using XML layouts as the regular B4X layouts/components didn't function correctly. Click to expand... What exactly happened?
JdV said: In the following thread it's recommended to avoid using XML layouts: Click to expand... The recommendation is for regular apps. Not widgets or wear apps. JdV said: On a few experimental Wear apps I had been working on I was using XML layouts as the regular B4X layouts/components didn't function correctly. Click to expand... What exactly happened?
JdV Active Member Licensed User Longtime User May 14, 2019 #7 Hi Erel I was using a simple ListView and when it scrolls it doesn't take into account the rounded screen so parts of items become obscured. Joe
Hi Erel I was using a simple ListView and when it scrolls it doesn't take into account the rounded screen so parts of items become obscured. Joe