Click here to Skip to main content
15,886,760 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello friends..
I am developing the DMS application in uwp desktop application. I have developed the design.but my designs are not responsive.I am gone through so many UI responsive articles but i am not able to make the ui responsive.:( I am uploaded my one project module please go through it and let me know whats wrong in it.I want to make ui responsive form login page to add new user. Download the UWPUIResponsive zip file.

link

"https://github.com/patilketan888/Scan-Image-in-UWP.git"

thanks in advance.:)

What I have tried:

...........NNNNNNNNNNNNNNNNN.....................
Posted
Updated 28-Jul-19 23:21pm
v2
Comments
[no name] 25-Jul-19 8:21am    
I'm sure no one has any idea what "your" definition of "responsive" is. Or what "DMS" means.
ketan Ram Patil 25-Jul-19 9:06am    
DMS means document management system where you can store the documents. and responsive means ui will adjust automatically and display according to the screen size .
Patrice T 27-Jul-19 1:08am    
There is magic button that make apps responsive.

If you mean not-responsive in the way that the UI is frozen or stuck, then maybe you need to see how asynchronous approaches to application development work. Since you are working in Xamarin.Forms, I can recommend that you reach how asynchronous development approaches are applied to this framework, this concept is C# or .NET oriented so this applies, Asynchronous programming in C# | Microsoft Docs[^]

UWP applications also follow the same patterns, most of your long-running background tasks (such as data loading, network requests, etc.) take a longer time to perform and thus hold your UI thread... Making your application look less responsive. Utilizing async/await keywords can help you keep the UI responsive, and have the framework do the task in the background and continue the code execution once your job is done. I use async/await in my regular day coding all the time, it makes life a lot easier.

Also try to read this blog on how you can use components of Xamarin.Forms to perform long-running tasks in a platform-agnostic fashion, Getting Started with Async / Await | Xamarin Blog[^]

If you mean the CSS-type responsive, then you need to utilize the controls like Grid. The point is to use the controls that follow a flex-like flow, and not a hardcoded pixel value for the placement of values.

Please read these guides for more on this,
Xamarin.Forms Grid - Xamarin | Microsoft Docs[^]
Responsive UI with Xamarin - YouTube[^]
Adaptive UI with Xamarin.Forms | Xamarin Blog[^]
 
Share this answer
 
Comments
ketan Ram Patil 29-Jul-19 5:40am    
Thank you for your valuable reply.
would you please answer this question. https://stackoverflow.com/q/57250223/11362349
Afzaal Ahmad Zeeshan 29-Jul-19 7:48am    
Please share the details on this website so that we can provide you guidance here.
ketan Ram Patil 29-Jul-19 10:14am    
i have shared the guit hub link "https://github.com/patilketan888/Scan-Image-in-UWP.git"
please go through it and download the UWPUIResponsive zip so you will get the idea. from which i want to make the header size responsive and add user page.
Hi ketan Ram Patil,
Basically I have some question,
> I which technology currently using to develop this project. Is it xamarin or your are creating directly uwp project from visual studio?
> How much responsiveness you want in the project?

If you are creating UWP project by visual studio directly and want responsive then use GRIDs properly and try to less use the margins and padding. This is the simplest way to handle responsiveness,
 
Share this answer
 
Comments
ketan Ram Patil 29-Jul-19 5:22am    
i am directly created project in uwp would you please download the project form given link and make the add user page responsive so i can apply same logic for all pages :(
ketan Ram Patil 29-Jul-19 5:24am    
i want to ask a question is what is the difference if i am creating project directly in uwp and in xamarin ?
ketan Ram Patil 29-Jul-19 5:39am    
would you please answer this question https://stackoverflow.com/q/57250223/11362349

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900