diff options
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/menu/muc_details_context.xml | 23 | ||||
-rw-r--r-- | src/main/res/values-v21/themes.xml | 14 | ||||
-rw-r--r-- | src/main/res/values/colors.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 6 |
4 files changed, 43 insertions, 1 deletions
diff --git a/src/main/res/menu/muc_details_context.xml b/src/main/res/menu/muc_details_context.xml index 113934f3..ad9f174a 100644 --- a/src/main/res/menu/muc_details_context.xml +++ b/src/main/res/menu/muc_details_context.xml @@ -3,5 +3,26 @@ <item android:id="@+id/start_conversation" android:title="@string/start_conversation" - /> + android:visible="false" /> + <item + android:id="@+id/give_membership" + android:title="@string/grant_membership" + android:visible="false" /> + <item + android:id="@+id/give_admin_privileges" + android:title="@string/grant_admin_privileges" + android:visible="false"/> + <item + android:id="@+id/remove_admin_privileges" + android:title="@string/remove_admin_privileges" + android:visible="false"/> + + <item + android:id="@+id/remove_membership" + android:title="@string/remove_membership" + android:visible="false"/> + <item + android:id="@+id/remove_from_room" + android:title="@string/remove_from_room" + android:visible="false"/> </menu>
\ No newline at end of file diff --git a/src/main/res/values-v21/themes.xml b/src/main/res/values-v21/themes.xml new file mode 100644 index 00000000..fddab466 --- /dev/null +++ b/src/main/res/values-v21/themes.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <style name="ConversationsTheme" parent="@android:style/Theme.Material.Light.DarkActionBar"> + <item name="android:colorPrimary">@color/primary</item> + <item name="android:colorPrimaryDark">@color/primarydark</item> + <item name="android:colorAccent">@color/accent</item> + + <item name="TextSizeInfo">12sp</item> + <item name="TextSizeBody">14sp</item> + <item name="TextSizeHeadline">20sp</item> + </style> + +</resources>
\ No newline at end of file diff --git a/src/main/res/values/colors.xml b/src/main/res/values/colors.xml index 908b8b89..c21650a5 100644 --- a/src/main/res/values/colors.xml +++ b/src/main/res/values/colors.xml @@ -3,6 +3,7 @@ <color name="primary" type="color">#ff259b24</color> <color name="primarydark" type="color">#ff0a7e07</color> + <color name="accent">#ff0091ea</color> <color name="primarytext" type="color">#de000000</color> <color name="secondarytext" type="color">#8a000000</color> <color name="ondarktext" type="color">#fffafafa</color> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index bb358610..d78e135a 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -411,4 +411,10 @@ <string name="outcast">Outcast</string> <string name="member">Member</string> <string name="advanced_mode">Advanced mode</string> + <string name="grant_membership">Grant membership</string> + <string name="remove_membership">Remove membership</string> + <string name="grant_admin_privileges">Grant admin privileges</string> + <string name="remove_admin_privileges">Remove admin privileges</string> + <string name="remove_from_room">Remove from room</string> + <string name="could_not_change_affiliation">Could not change affiliation</string> </resources> |