diff options
author | pacien | 2018-08-20 00:53:22 +0200 |
---|---|---|
committer | pacien | 2018-08-20 00:53:22 +0200 |
commit | b5884b3ad4964d6bdbbb92c160bed84cdbb059a1 (patch) | |
tree | c479a86d1a1d349f11ea6474c0a8ee3e3754c31d /app/src/main/res/values | |
parent | daf8d2fe48f1e2d5cef79b978ad73991bf1f0011 (diff) | |
download | tincapp-b5884b3ad4964d6bdbbb92c160bed84cdbb059a1.tar.gz |
Split status activity into tabs
Refactoring the underlying code to use lifecycle-aware classes
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/colors.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 9 |
3 files changed, 11 insertions, 2 deletions
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 71a04b7..7520cd8 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml | |||
@@ -29,5 +29,5 @@ | |||
29 | <color name="separator">#d9d9d9</color> | 29 | <color name="separator">#d9d9d9</color> |
30 | 30 | ||
31 | <color name="backgroundPrimary">#FFFFFF</color> | 31 | <color name="backgroundPrimary">#FFFFFF</color> |
32 | <color name="backgroundSecondary">#d9d9d9</color> | 32 | <color name="backgroundSecondary">#dddddd</color> |
33 | </resources> | 33 | </resources> |
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 98a6905..84b098f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml | |||
@@ -129,7 +129,7 @@ | |||
129 | <string name="status_network_info_no_value">no</string> | 129 | <string name="status_network_info_no_value">no</string> |
130 | <string name="status_network_info_none_value">none</string> | 130 | <string name="status_network_info_none_value">none</string> |
131 | 131 | ||
132 | <string name="status_activity_node_list_placeholder_text">Loading…</string> | 132 | <string name="status_node_list_empty_placeholder_text">Loading…</string> |
133 | <string name="status_node_list_modal_placeholder_text">Loading…</string> | 133 | <string name="status_node_list_modal_placeholder_text">Loading…</string> |
134 | <string name="status_node_info_dialog_title">Node info</string> | 134 | <string name="status_node_info_dialog_title">Node info</string> |
135 | <string name="status_node_info_dialog_close_action">Close</string> | 135 | <string name="status_node_info_dialog_close_action">Close</string> |
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 859d4ee..813b040 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml | |||
@@ -19,6 +19,7 @@ | |||
19 | --> | 19 | --> |
20 | 20 | ||
21 | <resources> | 21 | <resources> |
22 | |||
22 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | 23 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> |
23 | <item name="colorPrimary">@color/headerBackgroundPrimary</item> | 24 | <item name="colorPrimary">@color/headerBackgroundPrimary</item> |
24 | <item name="colorPrimaryDark">@color/headerBackgroundPrimaryDark</item> | 25 | <item name="colorPrimaryDark">@color/headerBackgroundPrimaryDark</item> |
@@ -81,4 +82,12 @@ | |||
81 | <item name="android:layout_height">wrap_content</item> | 82 | <item name="android:layout_height">wrap_content</item> |
82 | <item name="android:textColor">@color/textSecondary</item> | 83 | <item name="android:textColor">@color/textSecondary</item> |
83 | </style> | 84 | </style> |
85 | |||
86 | <style name="AppTheme.TabLayout" parent="Widget.Design.TabLayout"> | ||
87 | <item name="android:background">@color/backgroundSecondary</item> | ||
88 | <item name="android:layout_height">wrap_content</item> | ||
89 | <item name="android:layout_width">match_parent</item> | ||
90 | <item name="tabGravity">fill</item> | ||
91 | </style> | ||
92 | |||
84 | </resources> | 93 | </resources> |