File tree 4 files changed +29
-0
lines changed
4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <resources >
3
+ <color name =" colorPrimary" >#3F51B5</color >
4
+ <color name =" colorPrimaryDark" >#303F9F</color >
5
+ <color name =" colorAccent" >#207826</color > //toggle switch color
6
+ <color name =" SwitchColor" >#207826</color > //switch color
7
+ <color name =" toolbar" >#4caf50</color > //toolbar color
8
+ <color name =" text" >#133d16</color > //text color
9
+ </resources >
Original file line number Diff line number Diff line change
1
+ <resources >
2
+ <!-- Default screen margins, per the Android Design guidelines. -->
3
+ <dimen name =" activity_horizontal_margin" >16dp</dimen >
4
+ <dimen name =" activity_vertical_margin" >16dp</dimen >
5
+ </resources >
Original file line number Diff line number Diff line change
1
+ <resources >
2
+ <string name =" app_name" >Battery Percentage Enabled</string > //add application name
3
+ </resources >
Original file line number Diff line number Diff line change
1
+ <resources >
2
+ //use material theme.
3
+ <!-- Base application theme. -->
4
+ <style name =" AppTheme" parent =" Theme.AppCompat.Light.NoActionBar" >
5
+ <!-- Customize your theme here. -->
6
+ <item name =" colorPrimary" >@color/colorPrimary</item >
7
+ <item name =" colorPrimaryDark" >@color/colorPrimaryDark</item >
8
+ <item name =" colorAccent" >@color/colorAccent</item > //switch color
9
+ <item name =" android:statusBarColor" >#388e3c</item > // statusbar color
10
+ </style >
11
+
12
+ </resources >
You can’t perform that action at this time.
0 commit comments