Outside disroot opens external

Menu backgound dark
Icons added
This commit is contained in:
Massimiliano Lentini 2018-09-04 20:37:11 +02:00
parent 9116da9084
commit fe1379d66f
23 changed files with 149 additions and 10 deletions

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WizardSettings">
<option name="children">
<map>
<entry key="vectorWizard">
<value>
<PersistentState>
<option name="children">
<map>
<entry key="vectorAssetStep">
<value>
<PersistentState>
<option name="values">
<map>
<entry key="assetSourceType" value="FILE" />
<entry key="outputName" value="ic_about" />
<entry key="sourceFile" value="$PROJECT_DIR$/../DisIcons/about.svg" />
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
</component>
</project>

5
Changelog Normal file
View File

@ -0,0 +1,5 @@
#### changes
- if you now click on a link outside the disroot domain it opens in a external browser.
- menu background changed to dark
- Added all icons

View File

@ -75,7 +75,7 @@
</div>
<div id="wrapper">
<div id="all-links">
<a class="link" href="https://mail.disroot.org" target=_blank>
<a class="link" href="mailto:" target=_blank>
<div id="link-to-mail" class="img-link">
<i class="fa fa-envelope fa-5x" aria-hidden="true"></i>
<p class="link-text"> E-MAIL </p>

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -45,6 +45,7 @@ public class MainActivity extends AppCompatActivity implements View.OnLongClickL
setupWebView(savedInstanceState, frameLayoutContainer, viewLoading);
// enables the activity icon as a 'home' button. required if "android:targetSdkVersion" > 14
//getActionBar().setHomeButtonEnabled(true);
}
@Override
@ -155,10 +156,11 @@ public class MainActivity extends AppCompatActivity implements View.OnLongClickL
webView.loadUrl(Constants.URL_DisApp_FORUM);
return true;
case R.id.action_chat:
Intent xmpp = new Intent(Intent.ACTION_MAIN);
PackageManager conversations = getPackageManager();
xmpp = conversations.getLaunchIntentForPackage("eu.siacs.conversations");
xmpp.addCategory(Intent.CATEGORY_LAUNCHER);
String Conversations = "eu.siacs.conversations";
Intent xmpp = getPackageManager().getLaunchIntentForPackage(Conversations);
if(xmpp == null) {
xmpp = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id="+Conversations));
}
startActivity(xmpp);
return true;
case R.id.action_pad:

View File

@ -1,11 +1,19 @@
package org.disroot.disrootapp.webviews;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.example.webview.R;
import org.disroot.disrootapp.ui.MainActivity;
import static android.support.v4.content.ContextCompat.startActivity;
/**
* Created by jackson on 02/11/15.
@ -20,14 +28,22 @@ public class DisWebViewClient extends WebViewClient {
this.savedInstanceState = savedInstanceState;
this.viewLoading = viewLoading;
}
Context context;
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (savedInstanceState == null)
if(url.startsWith("https")&&url.contains("disroot")&&!url.contains("pod")) {
view.loadUrl(url);
return super.shouldOverrideUrlLoading(view, url);
return super.shouldOverrideUrlLoading(view, url);
}
else {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
view.getContext().startActivity(intent);
return true;
}
}
@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
super.onPageStarted(view, url, favicon);

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffff"
android:pathData="m34.9091,41.4545v4.3636C34.9091,47.0114 33.9205,48 32.7273,48H15.2727c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h2.1818V26.1818h-2.1818c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818v-4.3636c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h13.0909c1.1932,0 2.1818,0.9886 2.1818,2.1818v19.6364h2.1818c1.1932,0 2.1818,0.9886 2.1818,2.1818zM30.5455,2.1818v6.5455c0,1.1932 -0.9886,2.1818 -2.1818,2.1818h-8.7273c-1.1932,0 -2.1818,-0.9886 -2.1818,-2.1818V2.1818c0,-1.1932 0.9886,-2.1818 2.1818,-2.1818h8.7273c1.1932,0 2.1818,0.9886 2.1818,2.1818z" android:strokeWidth="0.03409091"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="M5.2286,44.5714L42.9429,44.5714L42.9429,17.1429L5.2286,17.1429ZM15.5143,12L15.5143,4.2857c0,-0.4821 -0.375,-0.8571 -0.8571,-0.8571h-1.7143c-0.4821,0 -0.8571,0.375 -0.8571,0.8571L12.0857,12c0,0.4821 0.375,0.8571 0.8571,0.8571h1.7143c0.4821,0 0.8571,-0.375 0.8571,-0.8571zM36.0857,12L36.0857,4.2857c0,-0.4821 -0.375,-0.8571 -0.8571,-0.8571h-1.7143c-0.4821,0 -0.8571,0.375 -0.8571,0.8571L32.6571,12c0,0.4821 0.375,0.8571 0.8571,0.8571h1.7143c0.4821,0 0.8571,-0.375 0.8571,-0.8571zM46.3714,10.2857v34.2857c0,1.875 -1.5536,3.4286 -3.4286,3.4286L5.2286,48C3.3536,48 1.8,46.4464 1.8,44.5714L1.8,10.2857C1.8,8.4107 3.3536,6.8571 5.2286,6.8571L8.6571,6.8571L8.6571,4.2857C8.6571,1.9286 10.5857,0 12.9429,0h1.7143c2.3571,0 4.2857,1.9286 4.2857,4.2857L18.9429,6.8571L29.2286,6.8571L29.2286,4.2857C29.2286,1.9286 31.1571,0 33.5143,0h1.7143c2.3571,0 4.2857,1.9286 4.2857,4.2857v2.5714h3.4286c1.875,0 3.4286,1.5536 3.4286,3.4286z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m13.7143,35.9857v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,43.7C1.1518,43.7 0,42.5482 0,41.1286v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM13.7143,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,29.9857C1.1518,29.9857 0,28.8339 0,27.4143L0,22.2714C0,20.8518 1.1518,19.7 2.5714,19.7h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM30.8571,35.9857v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM13.7143,8.5571L13.7143,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714L2.5714,16.2714C1.1518,16.2714 0,15.1196 0,13.7L0,8.5571C0,7.1375 1.1518,5.9857 2.5714,5.9857h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM30.8571,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM48,35.9857v5.1429C48,42.5482 46.8482,43.7 45.4286,43.7h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,33.4143 48,34.5661 48,35.9857ZM30.8571,8.5571L30.8571,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714L17.1429,8.5571c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714c1.4196,0 2.5714,1.1518 2.5714,2.5714zM48,22.2714v5.1429c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714v-5.1429c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,19.7 48,20.8518 48,22.2714ZM48,8.5571L48,13.7c0,1.4196 -1.1518,2.5714 -2.5714,2.5714h-8.5714c-1.4196,0 -2.5714,-1.1518 -2.5714,-2.5714L34.2857,8.5571c0,-1.4196 1.1518,-2.5714 2.5714,-2.5714h8.5714C46.8482,5.9857 48,7.1375 48,8.5571Z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m12.1857,41.1429c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM22.4714,41.1429c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM12.1857,30.8571c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM32.7571,41.1429c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM22.4714,30.8571c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM12.1857,20.5714c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM32.7571,30.8571c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM22.4714,20.5714c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM43.0429,41.1429L43.0429,30.8571c0,-1.875 -1.5536,-3.4286 -3.4286,-3.4286 -1.875,0 -3.4286,1.5536 -3.4286,3.4286v10.2857c0,1.875 1.5536,3.4286 3.4286,3.4286 1.875,0 3.4286,-1.5536 3.4286,-3.4286zM32.7571,20.5714c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM43.0429,12L43.0429,5.1429c0,-0.9375 -0.7768,-1.7143 -1.7143,-1.7143L7.0429,3.4286c-0.9375,0 -1.7143,0.7768 -1.7143,1.7143v6.8571c0,0.9375 0.7768,1.7143 1.7143,1.7143L41.3286,13.7143c0.9375,0 1.7143,-0.7768 1.7143,-1.7143zM43.0429,20.5714c0,-1.9018 -1.5268,-3.4286 -3.4286,-3.4286 -1.9018,0 -3.4286,1.5268 -3.4286,3.4286 0,1.9018 1.5268,3.4286 3.4286,3.4286 1.9018,0 3.4286,-1.5268 3.4286,-3.4286zM46.4714,3.4286L46.4714,44.5714C46.4714,46.4464 44.9179,48 43.0429,48L5.3286,48C3.4536,48 1.9,46.4464 1.9,44.5714L1.9,3.4286C1.9,1.5536 3.4536,0 5.3286,0L43.0429,0c1.875,0 3.4286,1.5536 3.4286,3.4286z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m37.7143,19.4946c0,7.5804 -8.4375,13.7143 -18.8571,13.7143 -1.6339,0 -3.2143,-0.1607 -4.7143,-0.4286 -2.2232,1.5804 -4.7411,2.7321 -7.4464,3.4286 -0.7232,0.1875 -1.5,0.3214 -2.3036,0.4286H4.3125c-0.4018,0 -0.7768,-0.3214 -0.8571,-0.7768C3.3482,35.3517 3.6964,35.0303 3.9911,34.6821 5.0357,33.5035 6.2143,32.4588 7.125,30.2356 2.7857,27.7178 0,23.8338 0,19.4946 0,11.9142 8.4375,5.7803 18.8571,5.7803c10.4196,0 18.8571,6.1339 18.8571,13.7143zM48,26.3517c0,4.3661 -2.7857,8.2232 -7.125,10.7411 0.9107,2.2232 2.0893,3.2679 3.1339,4.4464 0.2946,0.3482 0.6429,0.6696 0.5357,1.1786 -0.1071,0.4821 -0.5089,0.8304 -0.9375,0.7768 -0.8036,-0.1071 -1.5804,-0.2411 -2.3036,-0.4286 -2.7054,-0.6964 -5.2232,-1.8482 -7.4464,-3.4286 -1.5,0.2679 -3.0804,0.4286 -4.7143,0.4286 -4.8482,0 -9.2946,-1.3393 -12.6429,-3.5357 0.7768,0.0536 1.5804,0.1071 2.3571,0.1071 5.7589,0 11.1964,-1.6607 15.3482,-4.6607 4.4732,-3.2679 6.9375,-7.6875 6.9375,-12.4821 0,-1.3929 -0.2143,-2.7589 -0.6161,-4.0714C45.0536,17.9142 48,21.8785 48,26.3517Z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m48,32.2c0,5.3 -4.3,9.6 -9.6,9.6H11.2C5.025,41.8 0,36.775 0,30.6 0,26.125 2.65,22.25 6.45,20.475 6.425,20.125 6.4,19.75 6.4,19.4 6.4,12.325 12.125,6.6 19.2,6.6c5.35,0 9.925,3.275 11.85,7.95 1.1,-0.975 2.55,-1.55 4.15,-1.55 3.525,0 6.4,2.875 6.4,6.4 0,1.275 -0.375,2.45 -1.025,3.45 4.25,1 7.425,4.8 7.425,9.35z" android:strokeWidth="0.025"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="M30.5144,43.9893A14245.3574,14245.3574 0,0 1,25.8546 37.481c-1.245,-1.7403 -2.2578,-3.0984 -2.3111,-3.0991 -0.0548,-0.0007 -2.0135,2.6323 -4.6331,6.228 -2.4961,3.4261 -4.5591,6.2293 -4.5845,6.2293 -0.0709,0 -8.9988,-6.2884 -9.0218,-6.3546 -0.0111,-0.032 2.0072,-2.9948 4.4851,-6.5839 2.4779,-3.5892 4.5053,-6.5823 4.5053,-6.6514 0,-0.1115 -0.8029,-0.3934 -7.1014,-2.4931C3.2874,23.454 0.0535,22.3737 0.0068,22.3555 -0.0582,22.3305 0.3136,21.0859 1.5892,17.061c0.9171,-2.8937 1.6881,-5.285 1.7135,-5.3139 0.0253,-0.029 3.4199,1.0574 7.5434,2.4139 4.1236,1.3566 7.5319,2.4664 7.5741,2.4664 0.0422,0 0.0898,-0.063 0.1059,-0.1403 0.0161,-0.077 0.0517,-3.588 0.0791,-7.8021 0.0273,-4.214 0.0724,-7.697 0.1001,-7.7398 0.0397,-0.061 1.198,-0.078 5.4506,-0.077 2.9701,0.0004 5.4311,0.022 5.469,0.047 0.0476,0.032 0.1291,2.3485 0.2656,7.552 0.224,8.5441 0.2288,8.6586 0.3651,8.6586 0.0528,0 3.3208,-1.0938 7.2623,-2.4308 3.9414,-1.337 7.1854,-2.4092 7.2089,-2.3827 0.0797,0.09 3.3124,10.6142 3.2726,10.654 -0.0217,0.022 -3.3111,1.1483 -7.3099,2.5035 -5.5006,1.8641 -7.2751,2.4892 -7.2899,2.5681 -0.011,0.058 1.8806,2.8851 4.2859,6.4049 2.368,3.4653 4.2969,6.3265 4.2862,6.3581 -0.0244,0.072 -8.8849,6.5991 -8.959,6.5991 -0.0301,0 -1.1543,-1.5347 -2.4983,-3.4105z" android:strokeWidth="0.030294"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m43.1875,31.1563v2.0625c0,3.5312 -2.75,6.375 -6.125,6.375L35.2813,39.5938L27.1563,48L27.1563,39.5938L10.625,39.5938C7.25,39.5938 4.5,36.75 4.5,33.2188v-2.0625zM43.1875,20.9688v7.9687L4.5,28.9375v-7.9687zM43.1875,10.7188v7.9687L4.5,18.6875v-7.9687zM43.1875,6.3438L43.1875,8.4375L4.5,8.4375L4.5,6.3438C4.5,2.8438 7.25,0 10.625,0h26.4375c3.375,0 6.125,2.8438 6.125,6.3438z" android:strokeWidth="0.03125"/>
</vector>

View File

@ -8,7 +8,7 @@
android:strokeAlpha="1"
android:strokeLineJoin="miter"
android:strokeWidth="0.01416419"
android:fillColor="#50162d"
android:fillColor="#ffffff"
android:strokeColor="#00000000"
android:fillAlpha="1"
android:strokeLineCap="butt"/>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="M48,18.2464L48,39.5143C48,41.8714 46.0714,43.8 43.7143,43.8L4.2857,43.8C1.9286,43.8 0,41.8714 0,39.5143L0,18.2464c0.8036,0.8839 1.7143,1.6607 2.7054,2.3304 4.4464,3.0268 8.9464,6.0536 13.3125,9.2411 2.25,1.6607 5.0357,3.6964 7.9554,3.6964h0.0536c2.9196,0 5.7054,-2.0357 7.9554,-3.6964 4.3661,-3.1607 8.8661,-6.2143 13.3393,-9.2411 0.9643,-0.6696 1.875,-1.4464 2.6786,-2.3304zM48,10.3714c0,3 -2.2232,5.7054 -4.5804,7.3393 -4.1786,2.8929 -8.3839,5.7857 -12.5357,8.7054 -1.7411,1.2054 -4.6875,3.6696 -6.8571,3.6696h-0.0536c-2.1696,0 -5.1161,-2.4643 -6.8571,-3.6696C12.9643,23.4964 8.7589,20.6036 4.6071,17.7107 2.7054,16.425 0,13.3982 0,10.9607c0,-2.625 1.4196,-4.875 4.2857,-4.875L43.7143,6.0857C46.0446,6.0857 48,8.0143 48,10.3714Z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m42.8214,12.75c0.2679,0.2679 0.5089,0.5893 0.75,0.9643L30.9286,13.7143L30.9286,1.0714c0.375,0.2411 0.6964,0.4821 0.9643,0.75zM30.0714,17.1429L44.6429,17.1429L44.6429,45.4286C44.6429,46.8482 43.4911,48 42.0714,48L6.0714,48C4.6518,48 3.5,46.8482 3.5,45.4286L3.5,2.5714C3.5,1.1518 4.6518,0 6.0714,0L27.5,0v14.5714c0,1.4196 1.1518,2.5714 2.5714,2.5714zM34.3571,36.8571v-1.7143c0,-0.4821 -0.375,-0.8571 -0.8571,-0.8571L14.6429,34.2857c-0.4821,0 -0.8571,0.375 -0.8571,0.8571v1.7143c0,0.4821 0.375,0.8571 0.8571,0.8571L33.5,37.7143c0.4821,0 0.8571,-0.375 0.8571,-0.8571zM34.3571,30v-1.7143c0,-0.4821 -0.375,-0.8571 -0.8571,-0.8571L14.6429,27.4286c-0.4821,0 -0.8571,0.375 -0.8571,0.8571L13.7857,30c0,0.4821 0.375,0.8571 0.8571,0.8571L33.5,30.8571c0.4821,0 0.8571,-0.375 0.8571,-0.8571zM34.3571,23.1429v-1.7143c0,-0.4821 -0.375,-0.8571 -0.8571,-0.8571L14.6429,20.5714c-0.4821,0 -0.8571,0.375 -0.8571,0.8571v1.7143C13.7857,23.625 14.1607,24 14.6429,24L33.5,24c0.4821,0 0.8571,-0.375 0.8571,-0.8571z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m21.4063,36.5938 l19.1875,-19.1875c0.7813,-0.7813 0.7813,-2.0313 0,-2.8125l-3.1875,-3.1875c-0.7813,-0.7813 -2.0313,-0.7813 -2.8125,0L20,26 13.4063,19.4063c-0.7813,-0.7813 -2.0313,-0.7813 -2.8125,0l-3.1875,3.1875c-0.7813,0.7812 -0.7813,2.0312 0,2.8125l11.1875,11.1875c0.7813,0.7812 2.0313,0.7812 2.8125,0zM48,9v30c0,4.9688 -4.0313,9 -9,9H9C4.0313,48 0,43.9688 0,39V9C0,4.0313 4.0313,0 9,0h30c4.9688,0 9,4.0313 9,9z" android:strokeWidth="0.03125"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m33.2308,20.3077c0,-7.125 -5.7981,-12.9231 -12.9231,-12.9231 -7.125,0 -12.9231,5.7981 -12.9231,12.9231 0,7.125 5.7981,12.9231 12.9231,12.9231 7.125,0 12.9231,-5.7981 12.9231,-12.9231zM48,44.3077c0,2.0192 -1.6731,3.6923 -3.6923,3.6923 -0.9808,0 -1.9327,-0.4038 -2.5962,-1.0962l-9.8942,-9.8653c-3.375,2.3365 -7.4135,3.5769 -11.5096,3.5769C9.0865,40.6154 0,31.5288 0,20.3077 0,9.0865 9.0865,0 20.3077,0 31.5288,0 40.6154,9.0865 40.6154,20.3077c0,4.0961 -1.2404,8.1346 -3.5769,11.5096l9.8942,9.8942C47.5962,42.375 48,43.3269 48,44.3077Z" android:strokeWidth="0.02884615"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="m47.2516,0.2946c0.5625,0.4018 0.8304,1.0446 0.7232,1.7143L41.1176,43.1518c-0.0804,0.5089 -0.4018,0.9375 -0.8571,1.2054 -0.2411,0.1339 -0.5357,0.2143 -0.8304,0.2143 -0.2143,0 -0.4286,-0.0536 -0.6429,-0.1339L26.6533,39.4821 20.1712,47.3839C19.8498,47.7857 19.3676,48 18.8587,48c-0.1875,0 -0.4018,-0.0268 -0.5893,-0.1071 -0.6696,-0.2411 -1.125,-0.8839 -1.125,-1.6071V36.9375L40.2873,8.5714 11.6533,33.3482 1.073,29.0089C0.4569,28.7679 0.0551,28.2054 0.0016,27.5357 -0.0252,26.8929 0.2962,26.2768 0.8587,25.9554L45.4301,0.2411C45.698,0.0804 45.9926,0 46.2873,0c0.3482,0 0.6964,0.1071 0.9643,0.2946z" android:strokeWidth="0.02678571"/>
</vector>

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:pathData="M43.8,39.7188C43.8,44.2813 40.8,48 37.1437,48H10.4563C6.8,48 3.8,44.2813 3.8,39.7188 3.8,31.5 5.8313,22 14.0188,22 16.55,24.4688 19.9875,26 23.8,26 27.6125,26 31.05,24.4688 33.5812,22 41.7687,22 43.8,31.5 43.8,39.7188ZM35.8,12c0,6.625 -5.375,12 -12,12 -6.625,0 -12,-5.375 -12,-12 0,-6.625 5.375,-12 12,-12 6.625,0 12,5.375 12,12z" android:strokeWidth="0.03125"/>
</vector>

View File

@ -18,45 +18,59 @@
android:id="@+id/action_home"
android:title="@string/action_home"/>
<item
android:icon="@drawable/ic_mail"
android:id="@+id/action_mail"
android:title="@string/action_mail" />
<item
android:icon="@drawable/ic_cloud"
android:id="@+id/action_cloud"
android:title="@string/action_cloud" />
<item
android:icon="@drawable/ic_diaspora"
android:id="@+id/action_diaspora"
android:title="@string/action_diaspora" />
<item
android:icon="@drawable/ic_forum"
android:id="@+id/action_forum"
android:title="@string/action_forum" />
<item
android:icon="@drawable/ic_chat"
android:id="@+id/action_chat"
android:title="@string/action_chat" />
<item
android:icon="@drawable/ic_pad"
android:id="@+id/action_pad"
android:title="@string/action_pad" />
<item
android:icon="@drawable/ic_calc"
android:id="@+id/action_calc"
android:title="@string/action_calc" />
<item
android:icon="@drawable/ic_bin"
android:id="@+id/action_bin"
android:title="@string/action_bin" />
<item
android:icon="@drawable/ic_upload"
android:id="@+id/action_upload"
android:title="@string/action_upload" />
<item
android:icon="@drawable/ic_searx"
android:id="@+id/action_searx"
android:title="@string/action_searx" />
<item
android:icon="@drawable/ic_poll"
android:id="@+id/action_poll"
android:title="@string/action_poll" />
<item
android:icon="@drawable/ic_board"
android:id="@+id/action_board"
android:title="@string/action_board" />
<item
android:icon="@drawable/ic_user"
android:id="@+id/action_user"
android:title="@string/action_user" />
<item
android:icon="@drawable/ic_about"
android:id="@+id/action_about"
android:title="@string/action_about" />
</group>

View File

@ -12,7 +12,7 @@
<style name="Widget.MyApp.ActionBar" parent="Widget.AppCompat.ActionBar">
<item name="theme">@style/ThemeOverlay.MyApp.ActionBar</item>
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Dark</item> <!--change theme for actionbar poupmenu-->
</style>
<style name="ThemeOverlay.MyApp.ActionBar" parent="ThemeOverlay.AppCompat.Dark.ActionBar">