-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Added dynamics dp and sp sized for UI for different screen size.
2. Added try catch in methods while inserting or updating if any error occurs.
- Loading branch information
1 parent
9f1a443
commit 28fec6e
Showing
40 changed files
with
4,441 additions
and
378 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<dimen name="_1_dp">3.60dp</dimen> | ||
<dimen name="_2_dp">7.20dp</dimen> | ||
<dimen name="_3_dp">10.80dp</dimen> | ||
<dimen name="_4_dp">14.40dp</dimen> | ||
<dimen name="_5_dp">18.00dp</dimen> | ||
<dimen name="_6_dp">21.60dp</dimen> | ||
<dimen name="_7_dp">25.20dp</dimen> | ||
<dimen name="_8_dp">28.80dp</dimen> | ||
<dimen name="_9_dp">32.40dp</dimen> | ||
<dimen name="_10_dp">36.00dp</dimen> | ||
<dimen name="_11_dp">39.60dp</dimen> | ||
<dimen name="_12_dp">43.20dp</dimen> | ||
<dimen name="_13_dp">46.80dp</dimen> | ||
<dimen name="_14_dp">50.40dp</dimen> | ||
<dimen name="_15_dp">54.00dp</dimen> | ||
<dimen name="_16_dp">57.60dp</dimen> | ||
<dimen name="_17_dp">61.20dp</dimen> | ||
<dimen name="_18_dp">64.80dp</dimen> | ||
<dimen name="_19_dp">68.40dp</dimen> | ||
<dimen name="_20_dp">72.00dp</dimen> | ||
<dimen name="_21_dp">75.60dp</dimen> | ||
<dimen name="_22_dp">79.20dp</dimen> | ||
<dimen name="_23_dp">82.80dp</dimen> | ||
<dimen name="_24_dp">86.40dp</dimen> | ||
<dimen name="_25_dp">90.00dp</dimen> | ||
<dimen name="_26_dp">93.60dp</dimen> | ||
<dimen name="_27_dp">97.20dp</dimen> | ||
<dimen name="_28_dp">100.80dp</dimen> | ||
<dimen name="_29_dp">104.40dp</dimen> | ||
<dimen name="_30_dp">108.00dp</dimen> | ||
<dimen name="_31_dp">111.60dp</dimen> | ||
<dimen name="_32_dp">115.20dp</dimen> | ||
<dimen name="_33_dp">118.80dp</dimen> | ||
<dimen name="_34_dp">122.40dp</dimen> | ||
<dimen name="_35_dp">126.00dp</dimen> | ||
<dimen name="_36_dp">129.60dp</dimen> | ||
<dimen name="_37_dp">133.20dp</dimen> | ||
<dimen name="_38_dp">136.80dp</dimen> | ||
<dimen name="_39_dp">140.40dp</dimen> | ||
<dimen name="_40_dp">144.00dp</dimen> | ||
<dimen name="_41_dp">147.60dp</dimen> | ||
<dimen name="_42_dp">151.20dp</dimen> | ||
<dimen name="_43_dp">154.80dp</dimen> | ||
<dimen name="_44_dp">158.40dp</dimen> | ||
<dimen name="_45_dp">162.00dp</dimen> | ||
<dimen name="_46_dp">165.60dp</dimen> | ||
<dimen name="_47_dp">169.20dp</dimen> | ||
<dimen name="_48_dp">172.80dp</dimen> | ||
<dimen name="_49_dp">176.40dp</dimen> | ||
<dimen name="_50_dp">180.00dp</dimen> | ||
<dimen name="_51_dp">183.60dp</dimen> | ||
<dimen name="_52_dp">187.20dp</dimen> | ||
<dimen name="_53_dp">190.80dp</dimen> | ||
<dimen name="_54_dp">194.40dp</dimen> | ||
<dimen name="_55_dp">198.00dp</dimen> | ||
<dimen name="_56_dp">201.60dp</dimen> | ||
<dimen name="_57_dp">205.20dp</dimen> | ||
<dimen name="_58_dp">208.80dp</dimen> | ||
<dimen name="_59_dp">212.40dp</dimen> | ||
<dimen name="_60_dp">216.00dp</dimen> | ||
<dimen name="_61_dp">219.60dp</dimen> | ||
<dimen name="_62_dp">223.20dp</dimen> | ||
<dimen name="_63_dp">226.80dp</dimen> | ||
<dimen name="_64_dp">230.40dp</dimen> | ||
<dimen name="_65_dp">234.00dp</dimen> | ||
<dimen name="_66_dp">237.60dp</dimen> | ||
<dimen name="_67_dp">241.20dp</dimen> | ||
<dimen name="_68_dp">244.80dp</dimen> | ||
<dimen name="_69_dp">248.40dp</dimen> | ||
<dimen name="_70_dp">252.00dp</dimen> | ||
<dimen name="_71_dp">255.60dp</dimen> | ||
<dimen name="_72_dp">259.20dp</dimen> | ||
<dimen name="_73_dp">262.80dp</dimen> | ||
<dimen name="_74_dp">266.40dp</dimen> | ||
<dimen name="_75_dp">270.00dp</dimen> | ||
<dimen name="_76_dp">273.60dp</dimen> | ||
<dimen name="_77_dp">277.20dp</dimen> | ||
<dimen name="_78_dp">280.80dp</dimen> | ||
<dimen name="_79_dp">284.40dp</dimen> | ||
<dimen name="_80_dp">288.00dp</dimen> | ||
<dimen name="_81_dp">291.60dp</dimen> | ||
<dimen name="_82_dp">295.20dp</dimen> | ||
<dimen name="_83_dp">298.80dp</dimen> | ||
<dimen name="_84_dp">302.40dp</dimen> | ||
<dimen name="_85_dp">306.00dp</dimen> | ||
<dimen name="_86_dp">309.60dp</dimen> | ||
<dimen name="_87_dp">313.20dp</dimen> | ||
<dimen name="_88_dp">316.80dp</dimen> | ||
<dimen name="_89_dp">320.40dp</dimen> | ||
<dimen name="_90_dp">324.00dp</dimen> | ||
<dimen name="_91_dp">327.60dp</dimen> | ||
<dimen name="_92_dp">331.20dp</dimen> | ||
<dimen name="_93_dp">334.80dp</dimen> | ||
<dimen name="_94_dp">338.40dp</dimen> | ||
<dimen name="_95_dp">342.00dp</dimen> | ||
<dimen name="_96_dp">345.60dp</dimen> | ||
<dimen name="_97_dp">349.20dp</dimen> | ||
<dimen name="_98_dp">352.80dp</dimen> | ||
<dimen name="_99_dp">356.40dp</dimen> | ||
<dimen name="_100_dp">360.00dp</dimen> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<dimen name="_1_sp">3.60sp</dimen> | ||
<dimen name="_2_sp">7.20sp</dimen> | ||
<dimen name="_3_sp">10.80sp</dimen> | ||
<dimen name="_4_sp">14.40sp</dimen> | ||
<dimen name="_5_sp">18.00sp</dimen> | ||
<dimen name="_6_sp">21.60sp</dimen> | ||
<dimen name="_7_sp">25.20sp</dimen> | ||
<dimen name="_8_sp">28.80sp</dimen> | ||
<dimen name="_9_sp">32.40sp</dimen> | ||
<dimen name="_10_sp">36.00sp</dimen> | ||
<dimen name="_11_sp">39.60sp</dimen> | ||
<dimen name="_12_sp">43.20sp</dimen> | ||
<dimen name="_13_sp">46.80sp</dimen> | ||
<dimen name="_14_sp">50.40sp</dimen> | ||
<dimen name="_15_sp">54.00sp</dimen> | ||
<dimen name="_16_sp">57.60sp</dimen> | ||
<dimen name="_17_sp">61.20sp</dimen> | ||
<dimen name="_18_sp">64.80sp</dimen> | ||
<dimen name="_19_sp">68.40sp</dimen> | ||
<dimen name="_20_sp">72.00sp</dimen> | ||
<dimen name="_21_sp">75.60sp</dimen> | ||
<dimen name="_22_sp">79.20sp</dimen> | ||
<dimen name="_23_sp">82.80sp</dimen> | ||
<dimen name="_24_sp">86.40sp</dimen> | ||
<dimen name="_25_sp">90.00sp</dimen> | ||
<dimen name="_26_sp">93.60sp</dimen> | ||
<dimen name="_27_sp">97.20sp</dimen> | ||
<dimen name="_28_sp">100.80sp</dimen> | ||
<dimen name="_29_sp">104.40sp</dimen> | ||
<dimen name="_30_sp">108.00sp</dimen> | ||
<dimen name="_31_sp">111.60sp</dimen> | ||
<dimen name="_32_sp">115.20sp</dimen> | ||
<dimen name="_33_sp">118.80sp</dimen> | ||
<dimen name="_34_sp">122.40sp</dimen> | ||
<dimen name="_35_sp">126.00sp</dimen> | ||
<dimen name="_36_sp">129.60sp</dimen> | ||
<dimen name="_37_sp">133.20sp</dimen> | ||
<dimen name="_38_sp">136.80sp</dimen> | ||
<dimen name="_39_sp">140.40sp</dimen> | ||
<dimen name="_40_sp">144.00sp</dimen> | ||
<dimen name="_41_sp">147.60sp</dimen> | ||
<dimen name="_42_sp">151.20sp</dimen> | ||
<dimen name="_43_sp">154.80sp</dimen> | ||
<dimen name="_44_sp">158.40sp</dimen> | ||
<dimen name="_45_sp">162.00sp</dimen> | ||
<dimen name="_46_sp">165.60sp</dimen> | ||
<dimen name="_47_sp">169.20sp</dimen> | ||
<dimen name="_48_sp">172.80sp</dimen> | ||
<dimen name="_49_sp">176.40sp</dimen> | ||
<dimen name="_50_sp">180.00sp</dimen> | ||
<dimen name="_51_sp">183.60sp</dimen> | ||
<dimen name="_52_sp">187.20sp</dimen> | ||
<dimen name="_53_sp">190.80sp</dimen> | ||
<dimen name="_54_sp">194.40sp</dimen> | ||
<dimen name="_55_sp">198.00sp</dimen> | ||
<dimen name="_56_sp">201.60sp</dimen> | ||
<dimen name="_57_sp">205.20sp</dimen> | ||
<dimen name="_58_sp">208.80sp</dimen> | ||
<dimen name="_59_sp">212.40sp</dimen> | ||
<dimen name="_60_sp">216.00sp</dimen> | ||
<dimen name="_61_sp">219.60sp</dimen> | ||
<dimen name="_62_sp">223.20sp</dimen> | ||
<dimen name="_63_sp">226.80sp</dimen> | ||
<dimen name="_64_sp">230.40sp</dimen> | ||
<dimen name="_65_sp">234.00sp</dimen> | ||
<dimen name="_66_sp">237.60sp</dimen> | ||
<dimen name="_67_sp">241.20sp</dimen> | ||
<dimen name="_68_sp">244.80sp</dimen> | ||
<dimen name="_69_sp">248.40sp</dimen> | ||
<dimen name="_70_sp">252.00sp</dimen> | ||
<dimen name="_71_sp">255.60sp</dimen> | ||
<dimen name="_72_sp">259.20sp</dimen> | ||
<dimen name="_73_sp">262.80sp</dimen> | ||
<dimen name="_74_sp">266.40sp</dimen> | ||
<dimen name="_75_sp">270.00sp</dimen> | ||
<dimen name="_76_sp">273.60sp</dimen> | ||
<dimen name="_77_sp">277.20sp</dimen> | ||
<dimen name="_78_sp">280.80sp</dimen> | ||
<dimen name="_79_sp">284.40sp</dimen> | ||
<dimen name="_80_sp">288.00sp</dimen> | ||
<dimen name="_81_sp">291.60sp</dimen> | ||
<dimen name="_82_sp">295.20sp</dimen> | ||
<dimen name="_83_sp">298.80sp</dimen> | ||
<dimen name="_84_sp">302.40sp</dimen> | ||
<dimen name="_85_sp">306.00sp</dimen> | ||
<dimen name="_86_sp">309.60sp</dimen> | ||
<dimen name="_87_sp">313.20sp</dimen> | ||
<dimen name="_88_sp">316.80sp</dimen> | ||
<dimen name="_89_sp">320.40sp</dimen> | ||
<dimen name="_90_sp">324.00sp</dimen> | ||
<dimen name="_91_sp">327.60sp</dimen> | ||
<dimen name="_92_sp">331.20sp</dimen> | ||
<dimen name="_93_sp">334.80sp</dimen> | ||
<dimen name="_94_sp">338.40sp</dimen> | ||
<dimen name="_95_sp">342.00sp</dimen> | ||
<dimen name="_96_sp">345.60sp</dimen> | ||
<dimen name="_97_sp">349.20sp</dimen> | ||
<dimen name="_98_sp">352.80sp</dimen> | ||
<dimen name="_99_sp">356.40sp</dimen> | ||
<dimen name="_100_sp">360.00sp</dimen> | ||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="_1_dp">1.00dp</dimen> | ||
<dimen name="_2_dp">2.00dp</dimen> | ||
<dimen name="_3_dp">3.00dp</dimen> | ||
<dimen name="_4_dp">4.00dp</dimen> | ||
<dimen name="_5_dp">5.00dp</dimen> | ||
<dimen name="_6_dp">6.00dp</dimen> | ||
<dimen name="_7_dp">7.00dp</dimen> | ||
<dimen name="_8_dp">8.00dp</dimen> | ||
<dimen name="_9_dp">9.00dp</dimen> | ||
<dimen name="_10_dp">10.00dp</dimen> | ||
<dimen name="_11_dp">11.00dp</dimen> | ||
<dimen name="_12_dp">12.00dp</dimen> | ||
<dimen name="_13_dp">13.00dp</dimen> | ||
<dimen name="_14_dp">14.00dp</dimen> | ||
<dimen name="_15_dp">15.00dp</dimen> | ||
<dimen name="_16_dp">16.00dp</dimen> | ||
<dimen name="_17_dp">17.00dp</dimen> | ||
<dimen name="_18_dp">18.00dp</dimen> | ||
<dimen name="_19_dp">19.00dp</dimen> | ||
<dimen name="_20_dp">20.00dp</dimen> | ||
<dimen name="_21_dp">21.00dp</dimen> | ||
<dimen name="_22_dp">22.00dp</dimen> | ||
<dimen name="_23_dp">23.00dp</dimen> | ||
<dimen name="_24_dp">24.00dp</dimen> | ||
<dimen name="_25_dp">25.00dp</dimen> | ||
<dimen name="_26_dp">26.00dp</dimen> | ||
<dimen name="_27_dp">27.00dp</dimen> | ||
<dimen name="_28_dp">28.00dp</dimen> | ||
<dimen name="_29_dp">29.00dp</dimen> | ||
<dimen name="_30_dp">30.00dp</dimen> | ||
<dimen name="_31_dp">31.00dp</dimen> | ||
<dimen name="_32_dp">32.00dp</dimen> | ||
<dimen name="_33_dp">33.00dp</dimen> | ||
<dimen name="_34_dp">34.00dp</dimen> | ||
<dimen name="_35_dp">35.00dp</dimen> | ||
<dimen name="_36_dp">36.00dp</dimen> | ||
<dimen name="_37_dp">37.00dp</dimen> | ||
<dimen name="_38_dp">38.00dp</dimen> | ||
<dimen name="_39_dp">39.00dp</dimen> | ||
<dimen name="_40_dp">40.00dp</dimen> | ||
<dimen name="_41_dp">41.00dp</dimen> | ||
<dimen name="_42_dp">42.00dp</dimen> | ||
<dimen name="_43_dp">43.00dp</dimen> | ||
<dimen name="_44_dp">44.00dp</dimen> | ||
<dimen name="_45_dp">45.00dp</dimen> | ||
<dimen name="_46_dp">46.00dp</dimen> | ||
<dimen name="_47_dp">47.00dp</dimen> | ||
<dimen name="_48_dp">48.00dp</dimen> | ||
<dimen name="_49_dp">49.00dp</dimen> | ||
<dimen name="_50_dp">50.00dp</dimen> | ||
<dimen name="_51_dp">51.00dp</dimen> | ||
<dimen name="_52_dp">52.00dp</dimen> | ||
<dimen name="_53_dp">53.00dp</dimen> | ||
<dimen name="_54_dp">54.00dp</dimen> | ||
<dimen name="_55_dp">55.00dp</dimen> | ||
<dimen name="_56_dp">56.00dp</dimen> | ||
<dimen name="_57_dp">57.00dp</dimen> | ||
<dimen name="_58_dp">58.00dp</dimen> | ||
<dimen name="_59_dp">59.00dp</dimen> | ||
<dimen name="_60_dp">60.00dp</dimen> | ||
<dimen name="_61_dp">61.00dp</dimen> | ||
<dimen name="_62_dp">62.00dp</dimen> | ||
<dimen name="_63_dp">63.00dp</dimen> | ||
<dimen name="_64_dp">64.00dp</dimen> | ||
<dimen name="_65_dp">65.00dp</dimen> | ||
<dimen name="_66_dp">66.00dp</dimen> | ||
<dimen name="_67_dp">67.00dp</dimen> | ||
<dimen name="_68_dp">68.00dp</dimen> | ||
<dimen name="_69_dp">69.00dp</dimen> | ||
<dimen name="_70_dp">70.00dp</dimen> | ||
<dimen name="_71_dp">71.00dp</dimen> | ||
<dimen name="_72_dp">72.00dp</dimen> | ||
<dimen name="_73_dp">73.00dp</dimen> | ||
<dimen name="_74_dp">74.00dp</dimen> | ||
<dimen name="_75_dp">75.00dp</dimen> | ||
<dimen name="_76_dp">76.00dp</dimen> | ||
<dimen name="_77_dp">77.00dp</dimen> | ||
<dimen name="_78_dp">78.00dp</dimen> | ||
<dimen name="_79_dp">79.00dp</dimen> | ||
<dimen name="_80_dp">80.00dp</dimen> | ||
<dimen name="_81_dp">81.00dp</dimen> | ||
<dimen name="_82_dp">82.00dp</dimen> | ||
<dimen name="_83_dp">83.00dp</dimen> | ||
<dimen name="_84_dp">84.00dp</dimen> | ||
<dimen name="_85_dp">85.00dp</dimen> | ||
<dimen name="_86_dp">86.00dp</dimen> | ||
<dimen name="_87_dp">87.00dp</dimen> | ||
<dimen name="_88_dp">88.00dp</dimen> | ||
<dimen name="_89_dp">89.00dp</dimen> | ||
<dimen name="_90_dp">90.00dp</dimen> | ||
<dimen name="_91_dp">91.00dp</dimen> | ||
<dimen name="_92_dp">92.00dp</dimen> | ||
<dimen name="_93_dp">93.00dp</dimen> | ||
<dimen name="_94_dp">94.00dp</dimen> | ||
<dimen name="_95_dp">95.00dp</dimen> | ||
<dimen name="_96_dp">96.00dp</dimen> | ||
<dimen name="_97_dp">97.00dp</dimen> | ||
<dimen name="_98_dp">98.00dp</dimen> | ||
<dimen name="_99_dp">99.00dp</dimen> | ||
<dimen name="_100_dp">100.00dp</dimen> | ||
</resources> |
Oops, something went wrong.