You are on page 1of 6

mob dev notes

1. check manifest folder > manifest file > isang activity


2. layout > right click > new > activity > empty views activity > name it "layout2" > finish
3. there should be 2 layout with 2 xmls and java
4. custom background > drawable > right click > select drawable resource file > name the file
"layout1_bg" > root element "shape"
<gradient = for our bg muna*
5. drawable > new > icon > clipart > pick an image or icon designated > size = 100 dp x 100 dp
> name it "ic_account", ic mean icon
6. change the top to "Relative Layout"
7. drawable > right click > select drawable resource file >
8. use Pixel 5 API 24 for device manager
9. after clicking log in, proceed dapat sa next layout/slide
10. you can drag pictures sa drawable file
11. background = pwede maglagay ng image(needed ng src dito if ever ) and xml file;
backgroundTint = color lang ang pwede mailagay/palitan
12. drawable > right click > select drawable resource file > name file = "layout2_bg"
13. first layout = "activity_main.xml"; 2nd layout = yung may custom name na ginawa mo na
14. drawable file = kung gusto mo mag add n edit ng shape or image or icon
15. drawable > right click > select drawable resource file > vector asset > name it "ic_username"
16. drawable > right click > select drawable resource file > vector asset > name it "ic_username"
> size = 30 x30
17.

You might also like