diff --git a/Changelog.txt b/Changelog.txt index 912ceed..723368f 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -101,11 +101,23 @@ v2.0.0 - New logo - Auto restart changing some core settings - Changed load animation -- Center text of posts -- More space between posts -- Black theme improved +- Added settings: + - Center text of posts + - More space between posts - Removed 'Hide sponsored posts' +- Black theme improved - Added one important credit - Updated turkish translation (sirreddot) - Added arabic translation (Xkirnel99) -!Consider the possibility to donate! \ No newline at end of file + +v2.1.0 +- More stability (removed useless code and splitted the webview config) +- Added settings: + - Set the text size + - Enable/disable fast-share +- Substitute checkbox with switches into the settings +- Fixed the messages crash +- Removed useless strings (it's lighten) + + +! Consider the possibility to donate ! \ No newline at end of file diff --git a/SlimFacebook/.idea/gradle.xml b/SlimFacebook/.idea/gradle.xml index 1bbc21d..b340230 100644 --- a/SlimFacebook/.idea/gradle.xml +++ b/SlimFacebook/.idea/gradle.xml @@ -3,8 +3,9 @@ diff --git a/SlimFacebook/.idea/vcs.xml b/SlimFacebook/.idea/vcs.xml deleted file mode 100644 index 6564d52..0000000 --- a/SlimFacebook/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/SlimFacebook/.idea/workspace.xml b/SlimFacebook/.idea/workspace.xml index 33f1a0d..3f2de09 100644 --- a/SlimFacebook/.idea/workspace.xml +++ b/SlimFacebook/.idea/workspace.xml @@ -2,8 +2,22 @@ - + + es + + + + + @style/SlimFacebookTheme + + + + + @style/SlimFacebookTheme + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - + + + @@ -125,103 +72,92 @@ - - + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - + @@ -229,6 +165,13 @@ + + + - - - @@ -1901,6 +1922,8 @@ + + @@ -1916,8 +1939,21 @@ @@ -1979,11 +2028,48 @@ + + + + + + + + + + + - + + + + + + + + + @@ -2075,73 +2205,81 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2152,19 +2290,116 @@ - - - file://$PROJECT_DIR$/app/src/main/java/it/rignanese/leo/slimfacebook/MainActivity.java - 225 - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2249,7 +2484,6 @@ - @@ -2257,26 +2491,60 @@ + + + + + + + - + - - + + - - - + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2284,153 +2552,211 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - + - - - - - - - + - - + + - - - - + + + + - + - - - - - - - - - - - - - - - - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + - - + + - - - + + + + + + - + - - + + + + + + + + + + diff --git a/SlimFacebook/app/app.iml b/SlimFacebook/app/app.iml index 72872b1..412b7a8 100644 --- a/SlimFacebook/app/app.iml +++ b/SlimFacebook/app/app.iml @@ -12,10 +12,7 @@ - + @@ -50,6 +47,13 @@ + + + + + + + @@ -57,6 +61,13 @@ + + + + + + + @@ -65,22 +76,28 @@ + + + - - - + + + + + - + + - + diff --git a/SlimFacebook/app/build.gradle b/SlimFacebook/app/build.gradle index 4195e8a..7a50450 100644 --- a/SlimFacebook/app/build.gradle +++ b/SlimFacebook/app/build.gradle @@ -9,17 +9,26 @@ android { applicationId "it.rignanese.leo.slimfacebook" minSdkVersion 15 targetSdkVersion 23 - versionCode 21 - versionName "2.0.0" + versionCode 22 + versionName "2.1.0" } buildTypes { + debug { + minifyEnabled true + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } release { zipAlignEnabled true minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + lintOptions { + disable 'MissingTranslation' + } } dependencies { diff --git a/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/MainActivity.java b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/MainActivity.java index 85d8b58..987cd99 100644 --- a/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/MainActivity.java +++ b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/MainActivity.java @@ -10,22 +10,21 @@ package it.rignanese.leo.slimfacebook; -import android.content.Context; +import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; -import android.content.pm.PackageInfo; -import android.content.pm.PackageManager; -import android.content.res.Resources; import android.graphics.Bitmap; import android.net.Uri; -import android.os.AsyncTask; +import android.os.Build; +import android.os.Bundle; +import android.os.Environment; import android.os.Handler; import android.os.Message; import android.os.Parcelable; import android.preference.PreferenceManager; +import android.provider.MediaStore; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; -import android.os.Bundle; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuItem; @@ -35,20 +34,13 @@ import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; -import android.webkit.WebViewClient; import android.widget.Toast; -import android.app.Activity; -import android.os.Build; -import android.os.Environment; -import android.provider.MediaStore; import java.io.File; import java.io.IOException; -import java.io.InputStream; import java.lang.ref.WeakReference; -import java.net.URL; -import java.util.Iterator; -import java.util.List; + +import it.rignanese.leo.slimfacebook.webview.MyWebViewClient; @@ -66,10 +58,8 @@ public class MainActivity extends AppCompatActivity { private ValueCallback mFilePathCallback; private String mCameraPhotoPath; - private Menu optionsMenu;//contains the main menu - private SharedPreferences savedPreferences;//contains all the values of saved preferences - + boolean noConnectionError = false;//flag: is true if there is a connection error and it should be reload not the error page but the last useful boolean isSharer = false;//flag: true if the app is called from sharer @@ -133,140 +123,32 @@ public void onRefresh() { // setup the webView webViewFacebook = (WebView) findViewById(R.id.webView); - setUpWebViewDefaults(webViewFacebook); - //fits images to screen - + setUpWebViewDefaults(webViewFacebook);//setup webview if (isSharer) {//if is a share request webViewFacebook.loadUrl(urlSharer);//load the sharer url isSharer = false; } else goHome();//load homepage -// webViewFacebook.setOnTouchListener(new OnSwipeTouchListener(getApplicationContext()) { -// public void onSwipeLeft() { -// webViewFacebook.loadUrl("javascript:try{document.querySelector('#messages_jewel > a').click();}catch(e){window.location.href='" + -// getString(R.string.urlFacebookMobile) + "messages/';}"); -// } -// -// }); - //WebViewClient that is the client callback. - webViewFacebook.setWebViewClient(new WebViewClient() {//advanced set up - - // when there isn't a connetion - public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { - String summary = "

" + getString(R.string.titleNoConnection) + "

" + - getString(R.string.descriptionNoConnection) + "

" + getString(R.string.awards) + "
"; - webViewFacebook.loadData(summary, "text/html; charset=utf-8", "utf-8");//load a custom html page - - noConnectionError = true; - } - - // when I click in a external link - public boolean shouldOverrideUrlLoading(WebView view, String url) { - if (url == null - || Uri.parse(url).getHost().endsWith("facebook.com") - || Uri.parse(url).getHost().endsWith("m.facebook.com") - || url.contains(".gif")) { - //url is ok - return false; - } else { - if (Uri.parse(url).getHost().endsWith("fbcdn.net")) { - //TODO add the possibility to download and share directly - - - Toast.makeText(getApplicationContext(), getString(R.string.downloadOrShareWithBrowser), - Toast.LENGTH_LONG).show(); - //TODO get bitmap from url - - - Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); - startActivity(intent); - return true; - } - - //if the link doesn't contain 'facebook.com', open it using the browser - startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); - return true; - }//https://www.facebook.com/dialog/return/close?#_=_ - } - - - //START management of loading - @Override + webViewFacebook.setWebViewClient(new MyWebViewClient(getApplicationContext()) { + @Override//called when the page starts loading public void onPageStarted(WebView view, String url, Bitmap favicon) { - //TODO when I push on messages, open messanger -// if(url!=null){ -// if (url.contains("soft=messages") || url.contains("facebook.com/messages")) { -// Toast.makeText(getApplicationContext(),"Open Messanger", -// Toast.LENGTH_SHORT).show(); -// startActivity(new Intent(getPackageManager().getLaunchIntentForPackage("com.facebook.orca")));//messanger -// } -// } - - - swipeRefreshLayout.setRefreshing(true); - super.onPageStarted(view, url, favicon); + swipeRefreshLayout.setRefreshing(true); } - @Override + @Override//called when the page end loading public void onPageFinished(WebView view, String url) { - if (optionsMenu != null) {//TODO fix this. Sometimes it is null and I don't know why - final MenuItem refreshItem = optionsMenu.findItem(R.id.refresh); - refreshItem.setActionView(null); - } - - //load the css customizations - String css = ""; - if (savedPreferences.getBoolean("pref_hideSponsoredPosts", false)) { css += getString(R.string.hideSponsoredPosts); } - if (savedPreferences.getBoolean("pref_centerTextPosts", false)) { css += getString(R.string.centerTextPosts); } - if (savedPreferences.getBoolean("pref_addSpaceBetweenPosts", false)) { css += getString(R.string.addSpaceBetweenPosts); } - switch (savedPreferences.getString("pref_theme", "standard")){ - case "DarkTheme":{ - css+= getString(R.string.blackTheme); - } - default:break; - } - - if (savedPreferences.getBoolean("pref_fixedBar", true)) { - - css += getString(R.string.fixedBar);//get the first part - - int navbar = 0;//default value - int resourceId = getResources().getIdentifier("status_bar_height", "dimen", "android");//get id - if (resourceId > 0) {//if there is - navbar = getResources().getDimensionPixelSize(resourceId);//get the dimension - } - float density = getResources().getDisplayMetrics().density; - int barHeight = (int) ((getResources().getDisplayMetrics().heightPixels - navbar - 44) / density); - - css += ".flyout { max-height:" + barHeight + "px; overflow-y:scroll; }";//without this doen-t scroll - } - - /* - var h = document.getElementsByTagName('head').item(0); - var link = document.createElement("link"); - link.rel = "stylesheet"; - link.href="https://raw.githubusercontent.com/rignaneseleo/SlimSocial-for-Facebook/master/blackTheme.css"; - h.appendChild(link); - - */ - - //apply the customizations - webViewFacebook.loadUrl("javascript:function addStyleString(str) { var node = document.createElement('style'); node.innerHTML = " + - "str; document.body.appendChild(node); } addStyleString('" + css + "');"); - - //finish the load super.onPageFinished(view, url); - - //when the page is loaded, stop the refreshing swipeRefreshLayout.setRefreshing(false); } - //END management of loading + @Override//called when there isn't connection + public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { + super.onReceivedError(view, errorCode, description, failingUrl); + noConnectionError = true;//to allow to return at the last visited page + } }); //WebChromeClient for handling all chrome functions. @@ -402,7 +284,7 @@ public void openFileChooser(ValueCallback uploadMsg, String acceptType, Str @Override public boolean onLongClick(View v) { // activate long clicks on links and image links according to settings - if (true) { + if (savedPreferences.getBoolean("pref_enableFastShare", true)) { WebView.HitTestResult result = webViewFacebook.getHitTestResult(); if (result.getType() == WebView.HitTestResult.SRC_ANCHOR_TYPE || result.getType() == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE) { Message msg = linkHandler.obtainMessage(); @@ -543,7 +425,6 @@ public boolean onKeyDown(int keyCode, KeyEvent event) { //add my menu @Override public boolean onCreateOptionsMenu(Menu menu) { - optionsMenu = menu; // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; @@ -602,6 +483,9 @@ public boolean onOptionsItemSelected(MenuItem item) { private void setUpWebViewDefaults(WebView webView) { WebSettings settings = webView.getSettings(); + int zoom=Integer.parseInt(savedPreferences.getString("pref_textSize", "100")); + settings.setTextZoom(zoom); + //allow Geolocation settings.setGeolocationEnabled(savedPreferences.getBoolean("pref_allowGeolocation", true)); @@ -624,7 +508,6 @@ private void setUpWebViewDefaults(WebView webView) { //settings.setGeolocationDatabasePath(getBaseContext().getFilesDir().getPath()); it crashes on some devices settings.setLoadsImagesAutomatically(!savedPreferences.getBoolean("pref_doNotDownloadImages", false));//to save data - //todo setLoadsImagesAutomatically without restart the app // Enable pinch to zoom without the zoom buttons settings.setBuiltInZoomControls(true); @@ -710,7 +593,7 @@ private static String decodeUrl(String url) { //to check if there is the key for future use //I 'll never add premium features but I would acknowledge who has buyed the app - protected boolean isProInstalled(Context context) { + /* protected boolean isProInstalled(Context context) { // the packagename of the 'key' app String proPackage = "it.rignanese.leo.donationkey1"; @@ -731,7 +614,7 @@ protected boolean isProInstalled(Context context) { return true; } return false; - } + }*/ } diff --git a/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/ShowSettingsActivity.java b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/ShowSettingsActivity.java index 5885e47..db733a3 100644 --- a/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/ShowSettingsActivity.java +++ b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/ShowSettingsActivity.java @@ -59,7 +59,8 @@ public void onPause() { public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { switch (key) { case "pref_doNotDownloadImages": - case "pref_allowGeolocation": { + case "pref_allowGeolocation": + case "pref_textSize": { restart(); } } diff --git a/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/webview/MyWebViewClient.java b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/webview/MyWebViewClient.java new file mode 100644 index 0000000..202c706 --- /dev/null +++ b/SlimFacebook/app/src/main/java/it/rignanese/leo/slimfacebook/webview/MyWebViewClient.java @@ -0,0 +1,125 @@ +package it.rignanese.leo.slimfacebook.webview; + +import android.annotation.TargetApi; +import android.content.ActivityNotFoundException; +import android.content.Context; +import android.content.Intent; +import android.content.SharedPreferences; +import android.net.Uri; +import android.preference.PreferenceManager; +import android.util.Log; +import android.webkit.WebResourceError; +import android.webkit.WebResourceRequest; +import android.webkit.WebView; +import android.webkit.WebViewClient; +import android.widget.Toast; + +import it.rignanese.leo.slimfacebook.R; + + + +/** + * SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese + * GNU GENERAL PUBLIC LICENSE Version 2, June 1991 + */ +public class MyWebViewClient extends WebViewClient { + + static Context context; + final SharedPreferences savedPreferences; // get shared preferences + + public MyWebViewClient(Context context) { + this.context = context; + savedPreferences = PreferenceManager.getDefaultSharedPreferences(context); + } + + // when there isn't a connetion + @SuppressWarnings("deprecation") + @Override + public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { + Context context = view.getContext(); + String summary = "

" + + context.getString(R.string.titleNoConnection) + + "

" + + context.getString(R.string.descriptionNoConnection) + + "

" + + context.getString(R.string.awards) + + "
"; + view.loadData(summary, "text/html; charset=utf-8", "utf-8");//load a custom html page + } + + @TargetApi(android.os.Build.VERSION_CODES.M) + @Override// redirect to deprecated method, so we can use it in all SDK versions + public void onReceivedError(WebView view, WebResourceRequest req, WebResourceError err) { + onReceivedError(view, err.getErrorCode(), err.getDescription().toString(), req.getUrl().toString()); + } + + // when I click in a external link + @Override + public boolean shouldOverrideUrlLoading(WebView view, String url) { + Context context = view.getContext(); + if (url == null + || Uri.parse(url).getHost().endsWith("facebook.com") + || Uri.parse(url).getHost().endsWith("m.facebook.com") + || url.contains(".gif")) {//it is a normal url + return false; //url is ok + } else { + if (Uri.parse(url).getHost().endsWith("fbcdn.net")) {//it is an image + //TODO add the possibility to download and share directly + + Toast.makeText(context, context.getString(R.string.downloadOrShareWithBrowser), + Toast.LENGTH_LONG).show(); + //TODO get bitmap from url + } + + //if the link doesn't contain 'facebook.com', open it using the browser + try { + context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); + } catch (ActivityNotFoundException e) {//this prevents the crash + Log.e("shouldOverrideUrlLoad", "" + e.getMessage()); + e.printStackTrace(); + } + return true; + }//https://www.facebook.com/dialog/return/close?#_=_ + } + + @Override + public void onPageFinished(WebView view, String url) { + Context context = view.getContext(); + //load the css customizations + String css = ""; + if (savedPreferences.getBoolean("pref_hideSponsoredPosts", false)) { css += context.getString(R.string.hideSponsoredPosts); } + if (savedPreferences.getBoolean("pref_centerTextPosts", false)) { css += context.getString(R.string.centerTextPosts); } + if (savedPreferences.getBoolean("pref_addSpaceBetweenPosts", false)) { css += context.getString(R.string.addSpaceBetweenPosts); } + + switch (savedPreferences.getString("pref_theme", "standard")) { + case "DarkTheme": { + css += context.getString(R.string.blackTheme); + // this.context.setTheme(R.style.SlimSocialBlackTheme); + } + default: + break; + } + + if (savedPreferences.getBoolean("pref_fixedBar", true)) { + css += context.getString(R.string.fixedBar);//get the first part + + int navbar = 0;//default value + int resourceId = context.getResources().getIdentifier("status_bar_height", "dimen", "android");//get id + if (resourceId > 0) {//if there is + navbar = context.getResources().getDimensionPixelSize(resourceId);//get the dimension + } + float density = context.getResources().getDisplayMetrics().density; + int barHeight = (int) ((context.getResources().getDisplayMetrics().heightPixels - navbar - 44) / density); + + css += ".flyout { max-height:" + barHeight + "px; overflow-y:scroll; }";//without this doen-t scroll + } + + //apply the customizations + view.loadUrl("javascript:function addStyleString(str) { var node = document.createElement('style'); node.innerHTML = " + + "str; document.body.appendChild(node); } addStyleString('" + css + "');"); + + //finish the load + super.onPageFinished(view, url); + } + //END management of loading +} diff --git a/SlimFacebook/app/src/main/res/layout/circular_progress_bar.xml b/SlimFacebook/app/src/main/res/layout/circular_progress_bar.xml deleted file mode 100644 index cc34aab..0000000 --- a/SlimFacebook/app/src/main/res/layout/circular_progress_bar.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - \ No newline at end of file diff --git a/SlimFacebook/app/src/main/res/values-ar/strings.xml b/SlimFacebook/app/src/main/res/values-ar/strings.xml index f3454a5..3de5a20 100644 --- a/SlimFacebook/app/src/main/res/values-ar/strings.xml +++ b/SlimFacebook/app/src/main/res/values-ar/strings.xml @@ -61,7 +61,6 @@ Leonardo Rignanese للفيسبوك هو تطبيق مفتوح المصدر مب مبتكر الشعار الرائع كامل الموهبة ومبدع خروج - للفيسبوك :SlimSocialتحميل \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook لن يتم جمع أو نقل أي معلومات شخصية أو حساسة حول جهازك عبر هذا التطبيق diff --git a/SlimFacebook/app/src/main/res/values-de/strings.xml b/SlimFacebook/app/src/main/res/values-de/strings.xml index 6f9717c..4cd37ac 100644 --- a/SlimFacebook/app/src/main/res/values-de/strings.xml +++ b/SlimFacebook/app/src/main/res/values-de/strings.xml @@ -15,7 +15,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Aktualisieren Im Browser öffnen Einstellungen - Information Teile diese App diff --git a/SlimFacebook/app/src/main/res/values-es/strings.xml b/SlimFacebook/app/src/main/res/values-es/strings.xml index fb4c15d..0a907ee 100644 --- a/SlimFacebook/app/src/main/res/values-es/strings.xml +++ b/SlimFacebook/app/src/main/res/values-es/strings.xml @@ -54,7 +54,6 @@ SlimSocial for Facebook es una aplicación «Open Source» creada por Leonardo R Sin ellos, no sería posible añadir algunas buenas funciones. Si eres un desarrollador, ¡tienes que ver sus trabajos geniales! Creador del magnifico logotipo Salir - Descargues SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook ¡Ninguna información personal o privada a cerca de ti es recogida o transmitida por esta aplicación! diff --git a/SlimFacebook/app/src/main/res/values-fr/strings.xml b/SlimFacebook/app/src/main/res/values-fr/strings.xml index 008ed5b..fda595b 100644 --- a/SlimFacebook/app/src/main/res/values-fr/strings.xml +++ b/SlimFacebook/app/src/main/res/values-fr/strings.xml @@ -54,7 +54,6 @@ SlimSocial for Facebook est une application «Open Source» créée par Leonardo Sans eux, il me serais pas possible d\'ajouter quelques fictions utiles. Si vous êtes un développeurs, vous devez regarder leurs travails brillants! Créateur du magnifique logo Sortir - Sauvegardez SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Aucune information personnel ou privée sur toi est collectée ou transmit par cette application! diff --git a/SlimFacebook/app/src/main/res/values-hi/strings.xml b/SlimFacebook/app/src/main/res/values-hi/strings.xml index b6f07f7..d70272c 100644 --- a/SlimFacebook/app/src/main/res/values-hi/strings.xml +++ b/SlimFacebook/app/src/main/res/values-hi/strings.xml @@ -49,7 +49,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese उनके बिना, मैं कुछ आकर्षक फंक्शन्स नहीं बना पाता . यदि आप एक डेवलपर हैं, आप को उन भी मेहनत देखना चाहिए! इस शानदार लोगो के क्रिएटर बाहर जाएं - डाउनलोड SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook \ No newline at end of file diff --git a/SlimFacebook/app/src/main/res/values-in/strings.xml b/SlimFacebook/app/src/main/res/values-in/strings.xml index d287fea..8f2371a 100644 --- a/SlimFacebook/app/src/main/res/values-in/strings.xml +++ b/SlimFacebook/app/src/main/res/values-in/strings.xml @@ -4,13 +4,6 @@ Aplikasi ini dengan Sumber kode terbuka. Tidak ada koneksi,Coba Segarkan kembali. - Untuk menggunakan SlimFacebook,anda harus:\n - 1. LANGGANAN VERSI BETA:\n - - Open https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - - Sign in with Google \n - - Accept the conditions \n - 2. DOWNLOAD APLIKASI: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook - Informasi Buka dengan peramban Pengaturan Aplikasi PengaturanFacebook @@ -19,7 +12,6 @@ Bagikan Aplikasi Ini instead of by top stories Ops, Ada masalah Jaringan! - Penggunaan Data Order the news feed by most recent Version Terima kasih! diff --git a/SlimFacebook/app/src/main/res/values-it/strings.xml b/SlimFacebook/app/src/main/res/values-it/strings.xml index f0a0aa7..5992bb4 100644 --- a/SlimFacebook/app/src/main/res/values-it/strings.xml +++ b/SlimFacebook/app/src/main/res/values-it/strings.xml @@ -6,8 +6,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Apri nel browser - Impostazioni - Informazioni Ops, c\'è un problema! Controlla la connessione e ricarica. @@ -15,16 +13,10 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Questa applicazione è Open Source. Ricarica Condividi quest\'app - Per scaricare SlimFacebook:\n -- Apri: https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n -- Accedi a Google (se non sei già autenticato)\n -- Premi "Diventa un Tester"\n -- Con l\'app del Play Store apri: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Mostra per prime le notizie recenti Invece che quelle principali Impostazioni di Facebook Impostazioni dell\'App - Utilizzo Dati Versione scegli il tuo tema preferito Scegli il tema @@ -44,7 +36,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Designer Realizzatore del logo Esci - Scarica SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Nessuna informazione personale o privata riguardo te o il tuo device è raccolta o trasmessa da quest\'app ! Dona Ho scelto di sviluppare quest\'app gratis. Lo merito un caffè? @@ -64,9 +55,15 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Grazie per il tema fantastico Scegli il tema che ti piace E\' anche grazie a te che quest\'app esiste - Più distanza tra i post + Aumenta lo spazio tra i post Centra il testo dei post Temi Sei importante + Per scaricare SlimFacebook:\n - Apri: https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Accedi a Google (se non sei già autenticato)\n - Premi "Diventa un Tester"\n - Con l\'app del Play Store apri: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook + Impostazioni + Con la Condivisione Veloce puoi condividere qualsiasi link semplicemente tenendolo premuto + Scegli la dimensione del testo che preferisci + Abilita la Condivisione Veloce + Dimensione del testo diff --git a/SlimFacebook/app/src/main/res/values-nl/strings.xml b/SlimFacebook/app/src/main/res/values-nl/strings.xml index 7ffdd53..fa2ddfb 100644 --- a/SlimFacebook/app/src/main/res/values-nl/strings.xml +++ b/SlimFacebook/app/src/main/res/values-nl/strings.xml @@ -56,7 +56,6 @@ Zonder hen, zou ik geen aantrekkelijke functies kunnen toevoegen. Ben je een developer, ga dan eens kijken naar hun fantastisch werk. Maker van het prachtige logo. Sluit - Download SlimSocial voor Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Geen persoonlijke informatie over jou of je toestel wordt verzameld of overgebracht via deze app! diff --git a/SlimFacebook/app/src/main/res/values-pl/strings.xml b/SlimFacebook/app/src/main/res/values-pl/strings.xml index e318afc..be8f655 100644 --- a/SlimFacebook/app/src/main/res/values-pl/strings.xml +++ b/SlimFacebook/app/src/main/res/values-pl/strings.xml @@ -57,7 +57,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Bez nich nie mógłbym dodać wielu fajnych funkcji. Jeśli jesteś programistą, musisz dostrzec ogrom ich pracy! Twórca majestatycznego logo Wyjście - Pobierz SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Żadne osobiste ani prywatne informacje o Tobie lub Twoim urządzeniu nie są zbierane ani wysyłane przez tę aplikację! diff --git a/SlimFacebook/app/src/main/res/values-pt/strings.xml b/SlimFacebook/app/src/main/res/values-pt/strings.xml index 83e782c..f54e7fe 100644 --- a/SlimFacebook/app/src/main/res/values-pt/strings.xml +++ b/SlimFacebook/app/src/main/res/values-pt/strings.xml @@ -54,7 +54,6 @@ SlimSocial for Facebook é um aplicativo de código aberto criado por Leonardo R Sem eles, eu não poderia incluir algumas funções atrativas. Se você for um desenvolvedor, você tem ver o ótimo trabalho deles! Criador do magnífico logotipo Sair - Baixe SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Nenhuma informação pessoal ou privada sobre você é coletada ou transmitida por este aplicativo! diff --git a/SlimFacebook/app/src/main/res/values-sk/strings.xml b/SlimFacebook/app/src/main/res/values-sk/strings.xml index ac1157e..1d3fa69 100644 --- a/SlimFacebook/app/src/main/res/values-sk/strings.xml +++ b/SlimFacebook/app/src/main/res/values-sk/strings.xml @@ -66,7 +66,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Tvorca veľkolepého loga Plný talentu a kreativity Ukončiť - Stiahnuť SlimSocial pre Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Táto aplikácia nezbiera ani nepreposiela žiadne osobné alebo súkromné informácie o vás alebo vašom zariadení! diff --git a/SlimFacebook/app/src/main/res/values-zh-rTW/strings.xml b/SlimFacebook/app/src/main/res/values-zh-rTW/strings.xml index 881c658..ef4cb49 100644 --- a/SlimFacebook/app/src/main/res/values-zh-rTW/strings.xml +++ b/SlimFacebook/app/src/main/res/values-zh-rTW/strings.xml @@ -8,7 +8,6 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese 重新整理 使用外部瀏覽器開啟 設定 - Information 沒有連線! 請檢查連線後重新整理. @@ -20,13 +19,11 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese 最新動態優先於熱門動態 Facebook設定 程式設定 - 網路使用量 版本 選擇主題 選擇您喜愛的主題 程式資訊 感謝! 以瀏覽器下載或分享. - diff --git a/SlimFacebook/app/src/main/res/values/arrays.xml b/SlimFacebook/app/src/main/res/values/arrays.xml index 147dbb3..79c5a84 100644 --- a/SlimFacebook/app/src/main/res/values/arrays.xml +++ b/SlimFacebook/app/src/main/res/values/arrays.xml @@ -12,4 +12,17 @@ DarkGrayTheme DeepBlueTheme + + + Extra Small + Small + Standard + Big + + + 80 + 90 + 100 + 110 + diff --git a/SlimFacebook/app/src/main/res/values/strings.xml b/SlimFacebook/app/src/main/res/values/strings.xml index ae977e5..d9d5583 100644 --- a/SlimFacebook/app/src/main/res/values/strings.xml +++ b/SlimFacebook/app/src/main/res/values/strings.xml @@ -32,7 +32,7 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Center the posts text The text of each post will be centered There will be more space between posts - Add space between posts + More space between posts Thanks for the fantastic themes! Choose the theme that you like Fixed top bar @@ -68,7 +68,7 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese - To download SlimFacebook you have to:\n - Open https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Login in Google (if you aren\'t already logged)\n - Push \"Become a tester\"\n - Open this with the Play Store App: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook + To download SlimFacebook you have to:\n - Open https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Login in Google (if you aren\'t already logged)\n - Push \"Become a tester\"\n - Open this with the Play Store App: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook Thanks! Opening browser you can download or share this image. Share this link @@ -77,10 +77,14 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese Creator of the magnificent logo Full of talent and creativity Exit - Download SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook + Download SlimSocial for Facebook: \n https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook No personal or private information about you or your device is collected or trasmetted by this app ! Themes Applying changes! + Text Size + Enable Fast Share + With Fast Share you can share any link simply tapping and holding it + Choose the text size that you prefer diff --git a/SlimFacebook/app/src/main/res/values/styles.xml b/SlimFacebook/app/src/main/res/values/styles.xml index 6b654ea..4b578ed 100644 --- a/SlimFacebook/app/src/main/res/values/styles.xml +++ b/SlimFacebook/app/src/main/res/values/styles.xml @@ -6,4 +6,10 @@ @color/darkBlueSlimFacebookTheme @color/blueSlimFacebookTheme + + diff --git a/SlimFacebook/app/src/main/res/xml/preferences.xml b/SlimFacebook/app/src/main/res/xml/preferences.xml index 72f8838..d142fc5 100644 --- a/SlimFacebook/app/src/main/res/xml/preferences.xml +++ b/SlimFacebook/app/src/main/res/xml/preferences.xml @@ -5,36 +5,44 @@ android:key="prefCat_key_fb_settings" android:title="@string/prefCat_fb_settings_title"> - - - - - + + - - + + +