Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Commit

Permalink
Cleanup unused assets and code
Browse files Browse the repository at this point in the history
Use a vectorial icon for the launcher
  • Loading branch information
edhelas committed Sep 27, 2020
1 parent 5681351 commit e959d52
Show file tree
Hide file tree
Showing 35 changed files with 52 additions and 936 deletions.
4 changes: 2 additions & 2 deletions Movim/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:icon="@drawable/ic_vectorial"
android:label="@string/app_name"
android:hardwareAccelerated="true"
android:theme="@style/AppTheme">
<activity android:name=".ShareActivity"
android:label="@string/share_new_post"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.SEND" />
Expand All @@ -44,5 +45,4 @@
</intent-filter>
</activity>
</application>

</manifest>
3 changes: 0 additions & 3 deletions Movim/src/main/assets/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
<body>
<div id="error">
<h1>Oops !</h1>

<h2>It seems that Movim is currently unreachable</h2>

<p>Please check your connectivity or try again later</p>

<a class="button main" href="index.html">Try again</a>
</div>
</body>
Expand Down
Binary file not shown.
773 changes: 0 additions & 773 deletions Movim/src/main/assets/fonts/Material-Design-Iconic-Font.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
137 changes: 0 additions & 137 deletions Movim/src/main/assets/img/logo.svg

This file was deleted.

13 changes: 0 additions & 13 deletions Movim/src/main/assets/img/puff.svg

This file was deleted.

3 changes: 0 additions & 3 deletions Movim/src/main/assets/ssl.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
<body>
<div id="error">
<h1>Oops !</h1>

<h2>Your connection is not secure</h2>

<p>To protect your information from being stolen, Movim has not connected to this website.</p>

<a class="button main" href="index.html">Try again</a>
</div>
</body>
Expand Down
6 changes: 3 additions & 3 deletions Movim/src/main/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ body {
padding: 0 2rem;
padding-top: 3rem;

background-image: /*url("img/logo_cloud.svg"), */radial-gradient(circle farthest-corner at right bottom,#5265ce 0,#213399 100%);
background-size: /*auto 27px, */100% 100%;
background-position: /*center 20px, */center;
background-image: radial-gradient(circle farthest-corner at right bottom,#5265ce 0,#213399 100%);
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;

font-size: 2rem;
Expand Down
Binary file added Movim/src/main/ic_logo-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Movim/src/main/java/com/movim/movim/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public void showNotification(String title, String body, String picture, String a
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
Notification summaryNotification = new NotificationCompat.Builder(this, channelId)
.setSmallIcon(R.drawable.ic_stat_name)
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher))
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_vectorial))
.setGroup(groupId)
.setGroupSummary(true)
.setAutoCancel(true)
Expand Down
Binary file removed Movim/src/main/res/drawable-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed Movim/src/main/res/drawable-hdpi/logo.png
Binary file not shown.
Binary file removed Movim/src/main/res/drawable-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed Movim/src/main/res/drawable-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed Movim/src/main/res/drawable-xxhdpi/ic_launcher.png
Binary file not shown.
41 changes: 41 additions & 0 deletions Movim/src/main/res/drawable/ic_vectorial.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="240dp"
android:height="240dp"
android:viewportWidth="240"
android:viewportHeight="240">
<path
android:pathData="M120,120m-110,0a110,110 0,1 1,220 0a110,110 0,1 1,-220 0"
android:strokeWidth="3">
<aapt:attr name="android:fillColor">
<gradient
android:startY="40"
android:startX="40"
android:endY="200"
android:endX="200"
android:type="linear">
<item android:offset="0" android:color="#FF345CCA"/>
<item android:offset="1" android:color="#FF5D47C6"/>
</gradient>
</aapt:attr>
<aapt:attr name="android:strokeColor">
<gradient
android:startY="65"
android:startX="125"
android:endY="210.1"
android:endX="174.95"
android:type="linear">
<item android:offset="0" android:color="#FF344394"/>
<item android:offset="1" android:color="#FF7C45DF"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="m103.507,75.203c-18.801,0 -34.042,15.241 -34.042,34.042 0,1.461 0.098,2.906 0.277,4.319 -0.269,-0.008 -0.537,-0.021 -0.809,-0.021 -15.981,-0 -28.937,12.955 -28.937,28.937 0,15.981 12.955,28.937 28.937,28.937l112.237,0c13.161,0 23.83,-10.669 23.83,-23.83 0,-13.161 -10.669,-23.83 -23.83,-23.83 -0.043,0 -0.085,-0 -0.128,0 0.031,-0.594 0.064,-1.185 0.064,-1.787 0,-18.801 -15.241,-34.042 -34.042,-34.042 -5.247,0 -10.221,1.199 -14.659,3.319 -6.013,-9.631 -16.703,-16.043 -28.893,-16.043z"
android:strokeAlpha="0.45896"
android:fillColor="#332949"
android:fillAlpha="0.45896"/>
<path
android:pathData="m101.59,73.35c-18.232,0 -33.011,14.78 -33.011,33.011 0,1.417 0.095,2.818 0.268,4.188 -0.261,-0.008 -0.521,-0.021 -0.784,-0.021 -15.497,-0 -28.059,12.562 -28.059,28.059 0,15.497 12.563,28.059 28.059,28.059h108.83c12.762,0 23.108,-10.346 23.108,-23.108 0,-12.762 -10.346,-23.108 -23.108,-23.108 -0.042,0 -0.083,-0 -0.124,0 0.03,-0.576 0.062,-1.149 0.062,-1.733 0,-18.231 -14.78,-33.011 -33.011,-33.011 -5.088,0 -9.911,1.162 -14.215,3.219 -5.831,-9.34 -16.197,-15.556 -28.018,-15.556z"
android:fillColor="#fff"/>
</vector>
2 changes: 1 addition & 1 deletion Movim/src/main/res/drawable/splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
android:gravity="center"
android:width="100dp"
android:height="100dp"
android:drawable="@drawable/logo">
android:drawable="@drawable/ic_vectorial">
</item>
</layer-list>
Binary file removed Movim/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-hdpi/in_notification.png
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-mdpi/in_notification.png
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-xhdpi/in_notification.png
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Movim/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions fastlane/metadata/android/en-US/changelog/13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* Fits with the 0.18 Movim release
* Grouped notifications
* Better video-conference integration
* Add Share to Post intent

0 comments on commit e959d52

Please sign in to comment.