Sofiya Member Licensed User Jan 2, 2018 #1 i want to add background jpg image to my login page but i cant able to achieve it properly, so pls anyone guide me for it
i want to add background jpg image to my login page but i cant able to achieve it properly, so pls anyone guide me for it
M Meigionel TS Member Licensed User Jan 2, 2018 #2 Navigate to File Manager in the Windows tab in the toolbar. File Manager Window should pop up if not already opened. You will find an add files button there. You have to add the image files in the project from there before you can use it in your code. Upvote 0
Navigate to File Manager in the Windows tab in the toolbar. File Manager Window should pop up if not already opened. You will find an add files button there. You have to add the image files in the project from there before you can use it in your code.
NJDude Expert Licensed User Longtime User Jan 2, 2018 #3 A few things about your code since you are using the designer: 1- You can set the activity title in the designer (no need to do it with code) 2- The ImageView background can be also setup in the designer (no need to do what you are doing) 3- Same for the rest of your views (Button, Label etc) you can do all that in the designer. Last edited: Jan 2, 2018 Upvote 0
A few things about your code since you are using the designer: 1- You can set the activity title in the designer (no need to do it with code) 2- The ImageView background can be also setup in the designer (no need to do what you are doing) 3- Same for the rest of your views (Button, Label etc) you can do all that in the designer.
Sofiya Member Licensed User Jan 3, 2018 #4 NJDude said: 2- The ImageView background can be also setup in the designer (no need to do what you are doing) Click to expand... I tried this option but still have same problem. Upvote 0
NJDude said: 2- The ImageView background can be also setup in the designer (no need to do what you are doing) Click to expand... I tried this option but still have same problem.
eurojam Well-Known Member Licensed User Longtime User Jan 3, 2018 #5 it seems that your file is "eit_logo.jpg" but in your code you use "eitlogo.jpg" (without underscore)... Upvote 0
it seems that your file is "eit_logo.jpg" but in your code you use "eitlogo.jpg" (without underscore)...
Sofiya Member Licensed User Jan 3, 2018 #6 Meigionel TS said: Navigate to File Manager in the Windows tab in the toolbar. File Manager Window should pop up if not already opened. You will find an add files button there. You have to add the image files in the project from there before you can use it in your code. Click to expand... I also try this option but error still not fix. Upvote 0
Meigionel TS said: Navigate to File Manager in the Windows tab in the toolbar. File Manager Window should pop up if not already opened. You will find an add files button there. You have to add the image files in the project from there before you can use it in your code. Click to expand... I also try this option but error still not fix.
Sofiya Member Licensed User Jan 3, 2018 #7 eurojam said: it seems that your file is "eit_logo.jpg" but in your code you use "eitlogo.jpg" (without underscore)... Click to expand... I added both image file "eitlogo.jpg" and "eit_logo.jpg". Upvote 0
eurojam said: it seems that your file is "eit_logo.jpg" but in your code you use "eitlogo.jpg" (without underscore)... Click to expand... I added both image file "eitlogo.jpg" and "eit_logo.jpg".
eurojam Well-Known Member Licensed User Longtime User Jan 3, 2018 #8 did you try to compile it in release mode? is the error still present there? you can alos force to use the assetfolder in debugmode with the following command: #DebuggerForceStandardAssets: true Upvote 0
did you try to compile it in release mode? is the error still present there? you can alos force to use the assetfolder in debugmode with the following command: #DebuggerForceStandardAssets: true
Sofiya Member Licensed User Jan 3, 2018 #10 eurojam said: #DebuggerForceStandardAssets: true Click to expand... Yes, now my project is run. Thank you all of you to give your time. Upvote 0
eurojam said: #DebuggerForceStandardAssets: true Click to expand... Yes, now my project is run. Thank you all of you to give your time.
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2018 #11 Next time please post the error message as text, not screenshot. You don't need to use #DebuggerForceStandardAssets: true. Instead try to uninstall the existing app and then install it again. Upvote 0
Next time please post the error message as text, not screenshot. You don't need to use #DebuggerForceStandardAssets: true. Instead try to uninstall the existing app and then install it again.
Sofiya Member Licensed User Jan 3, 2018 #12 Erel said: Next time please post the error message as text, not screenshot. Click to expand... Okey Erel. Upvote 0
Erel said: Next time please post the error message as text, not screenshot. Click to expand... Okey Erel.