1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-24 06:43:07 +00:00

Rewrite application navigation to a better user experience

This commit is contained in:
Loic Blot
2016-03-07 21:25:36 +01:00
parent c8f37561cf
commit c49a098961
24 changed files with 257 additions and 442 deletions
+4
View File
@@ -4,5 +4,9 @@
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="arrow_max_height">22dp</dimen>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="nav_header_vertical_spacing">16dp</dimen>
<dimen name="nav_header_height">120dp</dimen>
<dimen name="fab_margin">16dp</dimen>
</resources>
+7
View File
@@ -0,0 +1,7 @@
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<item name="ic_menu_manage" type="drawable">@android:drawable/ic_menu_manage</item>
<item name="ic_menu_share" type="drawable">@android:drawable/ic_menu_share</item>
<item name="ic_menu_send" type="drawable">@android:drawable/ic_menu_send</item>
<item name="ic_menu_add" type="drawable">@android:drawable/ic_menu_add</item>
<item name="ic_menu_edit" type="drawable">@android:drawable/ic_menu_edit</item>
</resources>
+6 -12
View File
@@ -144,20 +144,10 @@
</string-array>
<!-- Main activity -->
<string name="ma_button_rate_us">Rate us !</string>
<string name="ma_button_thanksto">Thanks to</string>
<string name="ma_title_rate_us">Rate us !</string>
<string name="ma_content_rate_us">If you like this application, please give rate us on Google Play Store</string>
<string name="ma_title_add_account">Add an account</string>
<string name="ma_button_goto_sync">Go to Accounts and Sync</string>
<string name="ma_title_change_settings">Change app settings</string>
<string name="ma_button_goto_settings">Go to Settings</string>
<string name="ma_title_welcome">Welcome</string>
<string name="ma_content_welcome">Welcome to ownCloud SMS application. This application let you synchronize your SMS to your ownCloud instance using SMS app.</string>
<string name="ma_thanksto_people">ownCloud developers\n\
Contributors and issue\'s reporters</string>
<string name="ma_title_sync_all">Synchronize all messages</string>
<string name="ma_button_sync_accounts_now">Launch synchronization now</string>
<string name="ma_title_remote_account">Remote account</string>
<string name="choose_account">Choose account</string>
@@ -198,7 +188,11 @@ Contributors and issue\'s reporters</string>
<string name="function_not_available">This function is not available yet.</string>
<string name="ui_notification_title_template">OcSMS: %1$s</string>
<string name="communicate">Communicate</string>
<string name="title_activity_main2">Main2Activity</string>
<string name="action_share">Share</string>
<string name="action_reply">Reply</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="ma_title_my_accounts">My accounts</string>
<string name="ma_content_swipeaction">Swipe from left to right to access to action menu</string>
</resources>
+13 -1
View File
@@ -26,6 +26,7 @@
-->
<resources>
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimaryDark">@color/oc_primary_dark</item>
<item name="colorPrimary">@color/oc_primary</item>
@@ -34,6 +35,7 @@
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<style name="StandardButton">
<item name="android:background">@color/oc_primary</item>
<item name="android:layout_marginTop">15dp</item>
@@ -41,6 +43,7 @@
<item name="android:textColor">#ffffff</item>
<item name="android:padding">10dp</item>
</style>
<style name="h1">
<item name="android:textColor">@color/oc_primary_dark</item>
<item name="android:layout_marginTop">18dp</item>
@@ -48,5 +51,14 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
</style>
<style name="OcSmsTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="OcSmsTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
<style name="OcSmsTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
</resources>