Add values
This commit is contained in:
7
app/src/main/res/values/colors.xml
Normal file
7
app/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#3F51B5</color>
|
||||
<color name="colorPrimaryDark">#3867d6</color>
|
||||
<color name="colorAccent">#1c49b4</color>
|
||||
<color name="icons">#434343</color>
|
||||
</resources>
|
||||
7
app/src/main/res/values/dimens.xml
Normal file
7
app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="nav_header_vertical_spacing">8dp</dimen>
|
||||
<dimen name="nav_header_height">176dp</dimen>
|
||||
</resources>
|
||||
4
app/src/main/res/values/ic_launcher_background.xml
Normal file
4
app/src/main/res/values/ic_launcher_background.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#00436D</color>
|
||||
</resources>
|
||||
47
app/src/main/res/values/strings.xml
Normal file
47
app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<resources>
|
||||
<string name="app_name">Gotify</string>
|
||||
<string name="navigation_drawer_open">Open navigation drawer</string>
|
||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||
<string name="nav_header_desc">Navigation header</string>
|
||||
<string name="found_gotify_version">Found Gotify v%s</string>
|
||||
<string name="version_failed">Request to \'%s\' failed with status code %d</string>
|
||||
<string name="wronguserpw">There is no user with this username and password</string>
|
||||
<string name="create_client_title">Client Name</string>
|
||||
<string name="create_client_message">Chose a name for your session</string>
|
||||
<string name="create">Create</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="create_client_failed">Create client failed</string>
|
||||
<string name="created_client">Created client</string>
|
||||
<string name="title_activity_logs">Logs</string>
|
||||
<string name="retry">Retry</string>
|
||||
<string name="logout">Logout</string>
|
||||
<string name="oops">Oops</string>
|
||||
<string name="not_available">Cannot connect to %s</string>
|
||||
<string name="auth_failed">Server returned 401 unauthorized while trying to get current user. This can be caused by deleting the client for this session.</string>
|
||||
<string name="other_error">Could not get current user. Server (%s) responded with code %d: body (first 200 chars): %s</string>
|
||||
<string name="websocket_failed">Connection failed, trying again in %d minutes</string>
|
||||
<string name="websocket_closed">WebSocket closed; The client-token could be invalidated, please re-login</string>
|
||||
<string name="grouped_message">Received %d messages while being disconnected</string>
|
||||
<string name="delete_all">delete all</string>
|
||||
<string name="delete_logs">delete logs</string>
|
||||
<string name="all_messages">All Messages</string>
|
||||
<string name="logs">Logs</string>
|
||||
<string name="message_image_desc">the image of a message</string>
|
||||
<string name="delete_message">delete message</string>
|
||||
<string name="gotify_url">Gotify URL</string>
|
||||
<string name="username">Username</string>
|
||||
<string name="password">Password</string>
|
||||
<string name="login">Login</string>
|
||||
<string name="check_url">Check URL</string>
|
||||
<string name="gotify_logo">gotify logo</string>
|
||||
<string name="refresh_all">refresh all</string>
|
||||
<string name="logout_confirm">Do you really want to logout?</string>
|
||||
<string name="yes">Yes</string>
|
||||
<string name="missed_messages">Missed messages</string>
|
||||
<string name="grouped_notification_text">New Messages</string>
|
||||
<string name="websocket_listening">Listening to %s</string>
|
||||
<string name="websocket_could_not_connect">Could not connect %s</string>
|
||||
<string name="websocket_init">Initializing</string>
|
||||
<string name="connection">%s@%s</string>
|
||||
<string name="server_version">Gotify-Server v%s</string>
|
||||
</resources>
|
||||
20
app/src/main/res/values/styles.xml
Normal file
20
app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<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>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user