Main menu + remove top + footer menus (web)

This commit is contained in:
Thomas 2020-09-30 13:46:22 +02:00
parent 2d03983b21
commit d293fc4774
16 changed files with 271 additions and 19 deletions

View File

@ -0,0 +1,3 @@
.navbar, .footer{
display: none!important;
}

View File

@ -14,9 +14,13 @@ import android.os.Build;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.appcompat.app.ActionBarDrawerToggle;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.SearchView;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.GravityCompat;
import androidx.drawerlayout.widget.DrawerLayout;
import android.view.Menu;
import android.view.MenuItem;
@ -30,6 +34,11 @@ import android.widget.ProgressBar;
import android.widget.Toast;
import com.google.android.material.navigation.NavigationView;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
@ -40,7 +49,7 @@ import app.fedilab.mobilizon.webview.MobilizonWebChromeClient;
import app.fedilab.mobilizon.webview.MobilizonWebViewClient;
import es.dmoral.toasty.Toasty;
public class MainActivity extends AppCompatActivity {
public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener {
private ProgressBar progressBar;
private WebView main_webview;
@ -54,6 +63,27 @@ public class MainActivity extends AppCompatActivity {
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
final DrawerLayout drawer = findViewById(R.id.drawer_layout);
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
toggle.setDrawerIndicatorEnabled(false);
if (getSupportActionBar() != null) {
getSupportActionBar().setHomeButtonEnabled(true);
toggle = new ActionBarDrawerToggle(
this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
toggle.setDrawerIndicatorEnabled(true);
drawer.addDrawerListener(toggle);
toggle.syncState();
}
final NavigationView navigationView = findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this);
/*if( Helper.isLoggedIn() ){
MenuItem createEvent = navigationView.getMenu().findItem(R.id.nav_create_event);
}*/
if (Build.VERSION.SDK_INT >= 23) {
permissionsAPI();
}
@ -81,6 +111,37 @@ public class MainActivity extends AppCompatActivity {
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
MenuItem myActionMenuItem = menu.findItem(R.id.action_search);
SearchView searchView = (SearchView) myActionMenuItem.getActionView();
searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextSubmit(String query) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
try {
main_webview.loadUrl("https://"+ Helper.getLiveInstance(MainActivity.this)+"/search?term="+ URLEncoder.encode(query, String.valueOf(StandardCharsets.UTF_8)));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
}else{
try {
main_webview.loadUrl("https://"+ Helper.getLiveInstance(MainActivity.this)+"/search?term="+ URLEncoder.encode(query, "UTF-8"));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
}
if (!searchView.isIconified()) {
searchView.setIconified(true);
}
myActionMenuItem.collapseActionView();
return false;
}
@Override
public boolean onQueryTextChange(String s) {
return false;
}
});
return true;
}
@ -127,6 +188,23 @@ public class MainActivity extends AppCompatActivity {
}
}
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {
int id = item.getItemId();
if (id == R.id.nav_explore) {
main_webview.loadUrl("https://" + Helper.getLiveInstance(MainActivity.this) + "/search");
}else if( id == R.id.nav_my_event) {
main_webview.loadUrl("https://" + Helper.getLiveInstance(MainActivity.this) + "/events/me");
}else if( id == R.id.nav_my_group) {
main_webview.loadUrl("https://" + Helper.getLiveInstance(MainActivity.this) + "/groups/me");
}else if( id == R.id.nav_create_event) {
main_webview.loadUrl("https://" + Helper.getLiveInstance(MainActivity.this) + "/events/create");
}
DrawerLayout drawer = findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
return true;
}
@SuppressLint("ApplySharedPref")
private void showRadioButtonDialogFullInstances() {
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);

View File

@ -1,15 +1,19 @@
package app.fedilab.mobilizon.helper;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.util.Base64;
import android.view.View;
import android.webkit.CookieManager;
import android.webkit.WebSettings;
import android.webkit.WebView;
import java.io.InputStream;
/* Copyright 2020 Thomas Schneider
*
* This file is a part of Mobilizon app
@ -88,4 +92,25 @@ public class Helper {
}
@SuppressWarnings({"ResultOfMethodCallIgnored", "unused"})
public static void injectCSS(Activity activity, WebView view, String cssFile) {
try {
InputStream inputStream = activity.getAssets().open(cssFile);
byte[] buffer = new byte[inputStream.available()];
inputStream.read(buffer);
inputStream.close();
String encoded = Base64.encodeToString(buffer, Base64.NO_WRAP);
view.loadUrl("javascript:(function() {" +
"var parent = document.getElementsByTagName('head').item(0);" +
"var style = document.createElement('style');" +
"style.type = 'text/css';" +
// Tell the browser to BASE64-decode the string into your script !!!
"style.innerHTML = window.atob('" + encoded + "');" +
"parent.appendChild(style)" +
"})()");
} catch (Exception e) {
e.printStackTrace();
}
}
}

View File

@ -35,6 +35,7 @@ import com.google.android.material.snackbar.Snackbar;
import app.fedilab.mobilizon.MainActivity;
import app.fedilab.mobilizon.R;
import app.fedilab.mobilizon.helper.Helper;
public class MobilizonWebViewClient extends WebViewClient {
@ -124,6 +125,7 @@ public class MobilizonWebViewClient extends WebViewClient {
@Override
public void onPageFinished(WebView view, String url) {
Helper.injectCSS(activity, view, "css/style.css");
((MainActivity)activity).hideProgressDialog();
}
}

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M17,12h-5v5h5v-5zM16,1v2L8,3L8,1L6,1v2L5,3c-1.11,0 -1.99,0.9 -1.99,2L3,19c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,5c0,-1.1 -0.9,-2 -2,-2h-1L18,1h-2zM19,19L5,19L5,8h14v11z"/>
</vector>

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12,10.9c-0.61,0 -1.1,0.49 -1.1,1.1s0.49,1.1 1.1,1.1c0.61,0 1.1,-0.49 1.1,-1.1s-0.49,-1.1 -1.1,-1.1zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM14.19,14.19L6,18l3.81,-8.19L18,6l-3.81,8.19z"/>
</vector>

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M16,11c1.66,0 2.99,-1.34 2.99,-3S17.66,5 16,5c-1.66,0 -3,1.34 -3,3s1.34,3 3,3zM8,11c1.66,0 2.99,-1.34 2.99,-3S9.66,5 8,5C6.34,5 5,6.34 5,8s1.34,3 3,3zM8,13c-2.33,0 -7,1.17 -7,3.5L1,19h14v-2.5c0,-2.33 -4.67,-3.5 -7,-3.5zM16,13c-0.29,0 -0.62,0.02 -0.97,0.05 1.16,0.84 1.97,1.97 1.97,3.45L17,19h6v-2.5c0,-2.33 -4.67,-3.5 -7,-3.5z"/>
</vector>

View File

@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8z"/>
<path
android:fillColor="@android:color/white"
android:pathData="M12.5,7H11v6l5.25,3.15 0.75,-1.23 -4.5,-2.67z"/>
</vector>

View File

@ -0,0 +1,10 @@
<vector android:height="37.7dp"
android:viewportHeight="46.78" android:viewportWidth="248.16"
android:width="199.99213dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M0,45.82l3.18,-40.8a29.88,29.88 0,0 1,5.07 -0.36,27.74 27.74,0 0,1 4.95,0.36l4.86,17.16a92.19,92.19 0,0 1,2.34 10.08h0.36a92.19,92.19 0,0 1,2.34 -10.08L28,5.02a29.23,29.23 0,0 1,5 -0.36,29.23 29.23,0 0,1 5,0.36l3.18,40.8a13.61,13.61 0,0 1,-3.63 0.42,23.41 23.41,0 0,1 -3.63,-0.24l-1.2,-19.92q-0.36,-5.52 -0.48,-12.84h-0.44l-7.32,26.51a25.62,25.62 0,0 1,-4 0.3,23.36 23.36,0 0,1 -3.84,-0.3L9.36,13.24L9,13.24q-0.3,8.94 -0.48,12.84L7.26,46a22.47,22.47 0,0 1,-3.6 0.24A13.75,13.75 0,0 1,0 45.82zM74,31.06q0,8 -4.26,12.3a12.21,12.21 0,0 1,-9 3.42,12.21 12.21,0 0,1 -9,-3.42q-4.26,-4.26 -4.26,-12.3t4.24,-12.31a12.21,12.21 0,0 1,9 -3.42,12.21 12.21,0 0,1 9,3.42Q74,23.02 74,31.06zM60.75,20.98q-5.67,0 -5.67,10.08t5.67,10.08q5.67,0 5.67,-10.08t-5.67,-10.08zM103.2,19.75q2.7,4.11 2.7,11.28T102,42.31a13.18,13.18 0,0 1,-10 4.11,31.41 31.41,0 0,1 -11.34,-2L80.66,2.2l0.4,-0.45h2.76A4,4 0,0 1,87 2.83a5.38,5.38 0,0 1,0.93 3.57v11.94a12.08,12.08 0,0 1,7.56 -2.7,8.71 8.71,0 0,1 7.71,4.11zM93.48,21.75a7.28,7.28 0,0 0,-5.58 2.82v16a15,15 0,0 0,4.08 0.54,5.25 5.25,0 0,0 4.68,-2.67q1.68,-2.67 1.68,-7.59 0,-9.03 -4.86,-9.1zM121,22v23.94a20.85,20.85 0,0 1,-3.66 0.3,23 23,0 0,1 -3.78,-0.3L113.56,24.75q0,-3.24 -2.7,-3.24h-0.72a9.32,9.32 0,0 1,-0.3 -2.58,10.7 10.7,0 0,1 0.3,-2.7 39.63,39.63 0,0 1,4.38 -0.24h1a5.19,5.19 0,0 1,4 1.62A6.27,6.27 0,0 1,121 22z"/>
<path android:fillColor="#fff" android:pathData="M119.82,0.84a7.37,7.37 0,0 1,0.6 3,7.37 7.37,0 0,1 -0.6,3 7.46,7.46 0,0 1,-3.87 0.84,6.49 6.49,0 0,1 -3.69,-0.93 7.37,7.37 0,0 1,-0.6 -3,7.37 7.37,0 0,1 0.6,-3 8.09,8.09 0,0 1,3.87 -0.84,7.05 7.05,0 0,1 3.69,0.93z"/>
<path android:fillColor="#FF000000" android:pathData="M139.08,40.42h2a10.23,10.23 0,0 1,0.6 3.18,9.24 9.24,0 0,1 -0.18,2.1 38.47,38.47 0,0 1,-5.64 0.54q-6.48,0 -6.48,-7v-37l0.36,-0.42h2.88a3.94,3.94 0,0 1,3.12 1.05,5.52 5.52,0 0,1 0.9,3.57v31.31q-0.02,2.67 2.44,2.67zM155.94,22v23.94a20.85,20.85 0,0 1,-3.66 0.3,23 23,0 0,1 -3.78,-0.3V24.75q0,-3.24 -2.7,-3.24h-0.72a9.32,9.32 0,0 1,-0.3 -2.58,10.7 10.7,0 0,1 0.3,-2.7 39.63,39.63 0,0 1,4.38 -0.24h1a5.19,5.19 0,0 1,4.05 1.62,6.27 6.27,0 0,1 1.43,4.39z"/>
<path android:fillColor="#fff" android:pathData="M154.8,2.84a7.37,7.37 0,0 1,0.6 3,7.37 7.37,0 0,1 -0.6,3 7.46,7.46 0,0 1,-3.87 0.84,6.49 6.49,0 0,1 -3.69,-0.93 7.37,7.37 0,0 1,-0.6 -3,7.37 7.37,0 0,1 0.6,-3 8.09,8.09 0,0 1,3.87 -0.84,7.05 7.05,0 0,1 3.69,0.93z"/>
<path android:fillColor="#FF000000" android:pathData="M163.08,39.22l8.76,-11.82q1.32,-1.8 4.8,-5.7l-0.18,-0.3a63.09,63.09 0,0 1,-7.74 0.42L163,21.82a9.79,9.79 0,0 1,-0.24 -2.34,15.8 15.8,0 0,1 0.42,-3.3h20.4a16.31,16.31 0,0 1,1 4.26,4.1 4.1,0 0,1 -0.78,2.34L175,34.66a64.65,64.65 0,0 1,-4.56 5.7l0.18,0.24q3.12,-0.3 5.22,-0.3h2.58a15.35,15.35 0,0 0,6.12 -0.9,9.4 9.4,0 0,1 0.72,3.12q0,3.42 -4.32,3.42h-18a14.27,14.27 0,0 1,-0.9 -3.93,5.08 5.08,0 0,1 1.04,-2.79zM215.88,31.06q0,8 -4.26,12.3a13.63,13.63 0,0 1,-18.06 0q-4.26,-4.26 -4.26,-12.3t4.26,-12.31a13.63,13.63 0,0 1,18.06 0q4.26,4.27 4.26,12.31zM202.59,20.98q-5.67,0 -5.67,10.08t5.67,10.08q5.67,0 5.67,-10.08t-5.67,-10.08zM247,25.84v13.32a11,11 0,0 0,1.2 5.64,7 7,0 0,1 -4.41,1.56q-2.43,0 -3.33,-1.14a5.69,5.69 0,0 1,-0.9 -3.54L239.56,27.4a7.74,7.74 0,0 0,-0.72 -3.87,2.78 2.78,0 0,0 -2.58,-1.17 8.62,8.62 0,0 0,-6.3 3v20.58a20.85,20.85 0,0 1,-3.66 0.3,23 23,0 0,1 -3.78,-0.3v-29.7l0.42,-0.36h2.76q3.42,0 4.08,3.6 4.38,-3.84 8.73,-3.84t6.42,2.82a12.17,12.17 0,0 1,2.07 7.38z"/>
<path android:fillColor="#fff" android:pathData="M57.26,10.75a7.37,7.37 0,0 1,-0.6 -3,7.37 7.37,0 0,1 0.6,-3 8.09,8.09 0,0 1,3.87 -0.84,7.05 7.05,0 0,1 3.69,0.84 7.37,7.37 0,0 1,0.6 3,7.37 7.37,0 0,1 -0.6,3 7.46,7.46 0,0 1,-3.87 0.84,6.49 6.49,0 0,1 -3.69,-0.84zM198.26,10.75a7.37,7.37 0,0 1,-0.6 -3,7.37 7.37,0 0,1 0.6,-3 8.09,8.09 0,0 1,3.87 -0.84,7.05 7.05,0 0,1 3.69,0.84 7.37,7.37 0,0 1,0.6 3,7.37 7.37,0 0,1 -0.6,3 7.46,7.46 0,0 1,-3.87 0.84,6.49 6.49,0 0,1 -3.69,-0.84z"/>
</vector>

View File

@ -1,27 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:id="@+id/main_layout"
android:layout_height="match_parent"
tools:context=".MainActivity">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
</com.google.android.material.appbar.AppBarLayout>
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<include layout="@layout/content_main" />
</com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_main" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:fitsSystemWindows="false"
app:headerLayout="@layout/nav_header_main"
app:menu="@menu/activity_main_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
xmlns:tools="http://schemas.android.com/tools"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".MainActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -38,4 +40,4 @@
android:background="@android:color/black"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?><!--
Copyright 2017 Thomas Schneider
This file is a part of Fedilab
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along with Fedilab; if not,
see <http://www.gnu.org/licenses>
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:background="?colorPrimaryDark"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height">
<ImageView
android:id="@+id/back_ground_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:src="@drawable/mobilizon_logo"
android:contentDescription="@string/mobilizon_banner"
/>
</RelativeLayout>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:showIn="navigation_view">
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_explore"
android:icon="@drawable/ic_baseline_explore_24"
android:title="@string/explore" />
<item
android:id="@+id/nav_my_event"
android:icon="@drawable/ic_baseline_event_24"
android:title="@string/my_events" />
<item
android:id="@+id/nav_my_group"
android:icon="@drawable/ic_baseline_group_24"
android:title="@string/my_groups" />
<item
android:id="@+id/nav_create_event"
android:icon="@drawable/ic_baseline_schedule_24"
android:title="@string/create" />
</group>
</menu>

View File

@ -2,6 +2,12 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="app.fedilab.mobilizon.MainActivity">
<item
android:id="@+id/action_search"
android:icon="@android:drawable/ic_menu_search"
android:title="@string/search"
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="always|collapseActionView" />
<item
android:id="@+id/action_instance"
android:orderInCategory="100"

View File

@ -1,3 +1,4 @@
<resources>
<dimen name="fab_margin">16dp</dimen>
<dimen name="nav_header_height">160dp</dimen>
</resources>

View File

@ -17,4 +17,13 @@
<string name="access_needed">App need access to %1$s</string>
<string name="show_location">Show Location</string>
<string name="ok">OK</string>
<string name="navigation_drawer_open">Open the menu</string>
<string name="navigation_drawer_close">Close the menu</string>
<string name="explore">Explore</string>
<string name="my_events">My events</string>
<string name="my_groups">My groups</string>
<string name="create">Create</string>
<string name="mobilizon_banner">Mobilizon banner</string>
<string name="search">Search</string>
</resources>