├── README.md
└── layouts
├── akshanshjain-layout-1
├── code
│ └── activity_login.xml
├── drawables
│ ├── button_bg.xml
│ ├── edit_text_bg.xml
│ ├── facebook_logo.png
│ ├── fb_bg.xml
│ ├── google_bg.xml
│ ├── google_logo.png
│ ├── twitter_bg.xml
│ └── twitter_logo.png
└── screenshots
│ └── Log In Screen.png
├── knightcube-layout-1
├── fonts
│ └── .gitignore
├── screenshots
│ └── knightcube-list-item.jpeg
└── xml_code
│ └── knightcube-list-item.txt
├── sidhuparas-layout-1
├── drawables
│ ├── custom_bg-v21.xml
│ ├── custom_bg.xml
│ ├── grad_aqua.xml
│ ├── grad_green_blue.xml
│ ├── grad_pink_red.xml
│ ├── grad_red.xml
│ └── grad_sun.xml
├── fonts
│ ├── Raleway-Medium.ttf
│ └── Raleway.ttf
├── screenshots
│ └── recycler_view.png
└── xml_code
│ └── row_list.txt
├── sidhuparas-layout-2
├── drawables
│ ├── a1.png
│ ├── a10.png
│ ├── a2.png
│ ├── a3.png
│ ├── a4.png
│ ├── a5.png
│ ├── a6.png
│ ├── a7.png
│ ├── a8.png
│ ├── a9.png
│ └── activity_back.jpg
├── screenshots
│ └── Screenshot_1539177687.png
└── xml_code
│ └── row_list.txt
├── tavishjain-layout-1
├── code
│ ├── Log In.txt
│ └── Sign Up.txt
└── screenshots
│ ├── Log In.jpeg
│ └── Sign Up.jpeg
└── yugansht79-login-page
├── drawables
└── circle_blue.xml
├── screenshots
└── yugansht79-login-page.png
└── xml_code
└── yugansht79-login-page.xml
/README.md:
--------------------------------------------------------------------------------
1 | # android-layout-templates
2 | ## A collection of beautiful Android XML layouts
3 |
4 | [](https://forthebadge.com) [](https://forthebadge.com)
5 |
6 | ### Description
7 | This repository aims at simplifying the load of developing various layouts in android via [XML](https://www.w3schools.com/xml/). This will be a curated list of XML files that can be used in any android project. How creative can you get? Show off your layout designing and development skills and contribute in making a collection of layout templates that can be used for faster development.
8 |
9 | ### Ideas
10 | - Cards
11 | - Adapter list item
12 | - Login pages
13 | - OnBoarding screens
14 | - Bottom sheet design
15 |
16 | Any other reusable components
17 |
18 | ### Contribution
19 | - Create a PR with an xml file and also add a screenshot of your layout
20 | - Add your xml file in `"xml_code folder"` of this repository
21 | - Add a screenshot of your layout in the `"screenshots"` folder of this repository
22 | - Add your custom fonts in `"fonts"` directory. Make sure you don't duplicate a font. Naming for font `Product Sans.ttf` should be `product_sans.ttf` as an example.
23 | - Please save your screenshot's name and xml layout file(with the code) with the same name for easier navigation
24 |
25 | ### Creating an issue
26 | - Feel free to create an issue if you have better ideas in order to improve anything in this repository
27 | - [Check out the sample issue](https://github.com/knightcube/android-layout-templates/issues/3)
28 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/code/activity_login.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
20 |
21 |
36 |
37 |
52 |
53 |
67 |
68 |
82 |
83 |
97 |
98 |
112 |
113 |
129 |
130 |
148 |
149 |
159 |
160 |
174 |
175 |
185 |
186 |
198 |
199 |
207 |
208 |
218 |
219 |
227 |
228 |
229 |
230 |
241 |
242 |
252 |
253 |
264 |
265 |
266 |
267 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/button_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/edit_text_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/facebook_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/akshanshjain-layout-1/drawables/facebook_logo.png
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/fb_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/google_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/google_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/akshanshjain-layout-1/drawables/google_logo.png
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/twitter_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/drawables/twitter_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/akshanshjain-layout-1/drawables/twitter_logo.png
--------------------------------------------------------------------------------
/layouts/akshanshjain-layout-1/screenshots/Log In Screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/akshanshjain-layout-1/screenshots/Log In Screen.png
--------------------------------------------------------------------------------
/layouts/knightcube-layout-1/fonts/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the ART/Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 | out/
15 |
16 | # Gradle files
17 | .gradle/
18 | build/
19 |
20 | # Local configuration file (sdk path, etc)
21 | local.properties
22 |
23 | # Proguard folder generated by Eclipse
24 | proguard/
25 |
26 | # Log Files
27 | *.log
28 |
29 | # Android Studio Navigation editor temp files
30 | .navigation/
31 |
32 | # Android Studio captures folder
33 | captures/
34 |
35 | # IntelliJ
36 | *.iml
37 | .idea/
38 | .idea/workspace.xml
39 | .idea/tasks.xml
40 | .idea/gradle.xml
41 | .idea/assetWizardSettings.xml
42 | .idea/dictionaries
43 | .idea/libraries
44 | .idea/caches
45 |
46 | # Keystore files
47 | # Uncomment the following line if you do not want to check your keystore files in.
48 | #*.jks
49 |
50 | # External native build folder generated in Android Studio 2.2 and later
51 | .externalNativeBuild
52 |
53 | # Google Services (e.g. APIs or Firebase)
54 | google-services.json
55 |
56 | # Freeline
57 | freeline.py
58 | freeline/
59 | freeline_project_description.json
60 |
61 | # fastlane
62 | fastlane/report.xml
63 | fastlane/Preview.html
64 | fastlane/screenshots
65 | fastlane/test_output
66 | fastlane/readme.md
--------------------------------------------------------------------------------
/layouts/knightcube-layout-1/screenshots/knightcube-list-item.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/knightcube-layout-1/screenshots/knightcube-list-item.jpeg
--------------------------------------------------------------------------------
/layouts/knightcube-layout-1/xml_code/knightcube-list-item.txt:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
24 |
25 |
40 |
41 |
48 |
49 |
59 |
60 |
71 |
72 |
73 |
83 |
88 |
89 |
108 |
109 |
113 |
129 |
130 |
131 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/custom_bg-v21.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/custom_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/grad_aqua.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
13 |
14 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/grad_green_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/grad_pink_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/grad_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/drawables/grad_sun.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/fonts/Raleway-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-1/fonts/Raleway-Medium.ttf
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/fonts/Raleway.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-1/fonts/Raleway.ttf
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/screenshots/recycler_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-1/screenshots/recycler_view.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-1/xml_code/row_list.txt:
--------------------------------------------------------------------------------
1 |
18 |
19 |
30 |
31 |
36 |
37 |
51 |
52 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a1.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a10.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a2.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a3.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a4.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a5.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a6.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a7.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a8.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/a9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/a9.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/drawables/activity_back.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/drawables/activity_back.jpg
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/screenshots/Screenshot_1539177687.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/sidhuparas-layout-2/screenshots/Screenshot_1539177687.png
--------------------------------------------------------------------------------
/layouts/sidhuparas-layout-2/xml_code/row_list.txt:
--------------------------------------------------------------------------------
1 |
2 |
6 |
11 |
12 |
19 |
20 |
34 |
35 |
48 |
49 |
61 |
62 |
--------------------------------------------------------------------------------
/layouts/tavishjain-layout-1/code/Log In.txt:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
14 |
15 |
21 |
22 |
32 |
33 |
42 |
43 |
50 |
51 |
64 |
65 |
66 |
67 |
74 |
75 |
88 |
89 |
90 |
91 |
97 |
98 |
106 |
107 |
116 |
117 |
--------------------------------------------------------------------------------
/layouts/tavishjain-layout-1/code/Sign Up.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
12 |
13 |
19 |
20 |
30 |
31 |
40 |
41 |
48 |
49 |
62 |
63 |
64 |
65 |
72 |
73 |
86 |
87 |
88 |
89 |
96 |
97 |
110 |
111 |
112 |
113 |
121 |
122 |
131 |
132 |
133 |
--------------------------------------------------------------------------------
/layouts/tavishjain-layout-1/screenshots/Log In.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/tavishjain-layout-1/screenshots/Log In.jpeg
--------------------------------------------------------------------------------
/layouts/tavishjain-layout-1/screenshots/Sign Up.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/tavishjain-layout-1/screenshots/Sign Up.jpeg
--------------------------------------------------------------------------------
/layouts/yugansht79-login-page/drawables/circle_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/layouts/yugansht79-login-page/screenshots/yugansht79-login-page.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/knightcube/android-layout-templates/75efb4902d6417c891d01df2e116cb1319ce6ae2/layouts/yugansht79-login-page/screenshots/yugansht79-login-page.png
--------------------------------------------------------------------------------
/layouts/yugansht79-login-page/xml_code/yugansht79-login-page.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
16 |
17 |
29 |
30 |
39 |
40 |
52 |
53 |
58 |
59 |
70 |
71 |
72 |
73 |
84 |
85 |
94 |
95 |
103 |
104 |
109 |
110 |
120 |
121 |
126 |
127 |
128 |
129 |
136 |
137 |
146 |
147 |
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------