The values Folder
The strings.xml file is given as follows:
|
MyFirebase\app\res\values\strings.xml
|
<resources>
<string name="app_name">My Firebase</string>
<string name="hint_name">Full Name</string>
<string name="hint_email">Email</string>
<string name="action_save">Save</string>
<string name="name">Name</string>
<string name="email">Email</string>
</resources>
|
The
dimens.xml file is given as follows:
|
MyFirebase\app\res\values\dimens.xml
|
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>
|
The
styles.xml file is given as follows:
|
MyFirebase\app\res\values\styles.xml
|
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>
|
The
colors.xml file is given as follows:
|
MyFirebase\app\res\values\colors.xml
|
<resources>
<color name="colorPrimary">#00bcd4</color>
<color name="colorPrimaryDark">#0097a7</color>
<color name="colorAccent">#0097a7</color>
</resources>
|