move the icons in drawables folder + add Commons library

This commit is contained in:
tibbi 2017-01-06 18:43:45 +01:00
parent 605d062e6f
commit 9585c3912d
55 changed files with 30 additions and 35 deletions

View File

@ -32,18 +32,13 @@ android {
} }
dependencies { dependencies {
compile 'com.android.support:appcompat-v7:25.0.1' compile 'com.simplemobiletools:commons:2.1.6'
compile 'com.github.yukuku:ambilwarna:2.0.1'
compile 'com.android.support:design:25.0.1'
compile 'com.facebook.stetho:stetho:1.4.1' compile 'com.facebook.stetho:stetho:1.4.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.simplemobiletools:filepicker:1.6.1@aar'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
} }
buildscript { buildscript {
ext.kotlin_version = '1.0.5-2' ext.kotlin_version = '1.0.3'
repositories { repositories {
mavenCentral() mavenCentral()
} }

View File

@ -6,7 +6,7 @@
<application <application
android:name=".App" android:name=".App"
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_launcher_name" android:label="@string/app_launcher_name"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
@ -45,7 +45,7 @@
<receiver <receiver
android:name=".MyWidgetProvider" android:name=".MyWidgetProvider"
android:icon="@mipmap/widget_preview"> android:icon="@drawable/img_widget_preview">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter> </intent-filter>

View File

@ -8,9 +8,9 @@ import android.view.Gravity
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
import android.view.View import android.view.View
import com.simplemobiletools.filepicker.dialogs.ConfirmationDialog import com.simplemobiletools.commons.dialogs.ConfirmationDialog
import com.simplemobiletools.filepicker.extensions.toast import com.simplemobiletools.commons.extensions.toast
import com.simplemobiletools.filepicker.extensions.value import com.simplemobiletools.commons.extensions.value
import com.simplemobiletools.notes.R import com.simplemobiletools.notes.R
import com.simplemobiletools.notes.TYPE_NOTE import com.simplemobiletools.notes.TYPE_NOTE
import com.simplemobiletools.notes.adapters.NotesPagerAdapter import com.simplemobiletools.notes.adapters.NotesPagerAdapter

View File

@ -3,8 +3,8 @@ package com.simplemobiletools.notes.dialogs
import android.app.Activity import android.app.Activity
import android.app.AlertDialog import android.app.AlertDialog
import android.view.WindowManager import android.view.WindowManager
import com.simplemobiletools.filepicker.extensions.toast import com.simplemobiletools.commons.extensions.toast
import com.simplemobiletools.filepicker.extensions.value import com.simplemobiletools.commons.extensions.value
import com.simplemobiletools.notes.R import com.simplemobiletools.notes.R
import com.simplemobiletools.notes.databases.DBHelper import com.simplemobiletools.notes.databases.DBHelper
import kotlinx.android.synthetic.main.new_note.view.* import kotlinx.android.synthetic.main.new_note.view.*

View File

@ -4,8 +4,8 @@ import android.app.Activity
import android.app.AlertDialog import android.app.AlertDialog
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.WindowManager import android.view.WindowManager
import com.simplemobiletools.filepicker.extensions.toast import com.simplemobiletools.commons.extensions.toast
import com.simplemobiletools.filepicker.extensions.value import com.simplemobiletools.commons.extensions.value
import com.simplemobiletools.notes.R import com.simplemobiletools.notes.R
import com.simplemobiletools.notes.databases.DBHelper import com.simplemobiletools.notes.databases.DBHelper
import com.simplemobiletools.notes.models.Note import com.simplemobiletools.notes.models.Note

View File

@ -8,7 +8,7 @@ import android.view.LayoutInflater
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager import android.view.inputmethod.InputMethodManager
import com.simplemobiletools.filepicker.extensions.value import com.simplemobiletools.commons.extensions.value
import com.simplemobiletools.notes.NOTE_ID import com.simplemobiletools.notes.NOTE_ID
import com.simplemobiletools.notes.R import com.simplemobiletools.notes.R
import com.simplemobiletools.notes.databases.DBHelper import com.simplemobiletools.notes.databases.DBHelper
@ -18,7 +18,6 @@ import com.simplemobiletools.notes.extensions.updateWidget
import com.simplemobiletools.notes.models.Note import com.simplemobiletools.notes.models.Note
import kotlinx.android.synthetic.main.fragment_note.view.* import kotlinx.android.synthetic.main.fragment_note.view.*
class NoteFragment : Fragment() { class NoteFragment : Fragment() {
var noteId = 0 var noteId = 0
lateinit var view: ViewGroup lateinit var view: ViewGroup

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 271 B

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 201 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 336 B

After

Width:  |  Height:  |  Size: 336 B

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

View File

@ -99,7 +99,7 @@
android:layout_width="@dimen/social_logo" android:layout_width="@dimen/social_logo"
android:layout_height="@dimen/social_logo" android:layout_height="@dimen/social_logo"
android:layout_below="@+id/about_follow_us" android:layout_below="@+id/about_follow_us"
android:src="@mipmap/facebook"/> android:src="@drawable/ic_facebook"/>
<ImageView <ImageView
android:id="@+id/about_gplus" android:id="@+id/about_gplus"
@ -110,7 +110,7 @@
android:layout_marginRight="@dimen/social_padding" android:layout_marginRight="@dimen/social_padding"
android:layout_toEndOf="@+id/about_facebook" android:layout_toEndOf="@+id/about_facebook"
android:layout_toRightOf="@+id/about_facebook" android:layout_toRightOf="@+id/about_facebook"
android:src="@mipmap/gplus"/> android:src="@drawable/ic_gplus"/>
<TextView <TextView
android:id="@+id/about_copyright" android:id="@+id/about_copyright"

View File

@ -3,27 +3,27 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/open_note" android:id="@+id/open_note"
android:icon="@mipmap/open_note" android:icon="@drawable/open_note"
android:title="@string/open_note" android:title="@string/open_note"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/new_note" android:id="@+id/new_note"
android:icon="@mipmap/plus" android:icon="@drawable/ic_plus"
android:title="@string/new_note" android:title="@string/new_note"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/rename_note" android:id="@+id/rename_note"
android:icon="@mipmap/rename" android:icon="@drawable/ic_rename"
android:title="@string/rename" android:title="@string/rename"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/share" android:id="@+id/share"
android:icon="@mipmap/share" android:icon="@drawable/ic_share"
android:title="@string/share" android:title="@string/share"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/delete_note" android:id="@+id/delete_note"
android:icon="@mipmap/delete" android:icon="@drawable/ic_delete"
android:title="@string/delete_note" android:title="@string/delete_note"
app:showAsAction="never"/> app:showAsAction="never"/>
<item <item

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 851 B

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

View File

@ -68,7 +68,7 @@
Ne contient pas de publicités ou d\'autorisations inutiles. Complèetement opensource, fournit un thème sombre également. Ne contient pas de publicités ou d\'autorisations inutiles. Complèetement opensource, fournit un thème sombre également.
Cette application est juste une pièce d\'une plus grande série d'applications. Vous pouvez trouver le reste de celles-ci à http://www.simplemobiletools.com Cette application est juste une pièce d\'une plus grande série d\'applications. Vous pouvez trouver le reste de celles-ci à http://www.simplemobiletools.com
</string> </string>
<!-- <!--

View File

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" <appwidget-provider
android:configure="com.simplemobiletools.notes.activities.WidgetConfigureActivity" xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/widget" android:configure="com.simplemobiletools.notes.activities.WidgetConfigureActivity"
android:minHeight="110dp" android:initialLayout="@layout/widget"
android:minResizeHeight="40dp" android:minHeight="110dp"
android:minResizeWidth="40dp" android:minResizeHeight="40dp"
android:minWidth="110dp" android:minResizeWidth="40dp"
android:previewImage="@mipmap/widget_preview" android:minWidth="110dp"
android:resizeMode="horizontal|vertical"/> android:previewImage="@drawable/img_widget_preview"
android:resizeMode="horizontal|vertical"/>