Archived
App is now fully converted to Kotlin
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="300"
|
||||
android:interpolator="@android:anim/accelerate_decelerate_interpolator">
|
||||
<alpha
|
||||
android:fromAlpha="0.0"
|
||||
android:toAlpha="1.0">
|
||||
</alpha>
|
||||
</set>
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="@android:integer/config_shortAnimTime">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="-20%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
<alpha
|
||||
android:fromAlpha="1"
|
||||
android:toAlpha="0"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
<scale
|
||||
android:fromXScale="100%"
|
||||
android:fromYScale="100%"
|
||||
android:toXScale="105%"
|
||||
android:toYScale="105%"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
</set>
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:duration="125">
|
||||
|
||||
<translate
|
||||
android:fromYDelta="-20%"
|
||||
android:toYDelta="0"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
<alpha
|
||||
android:fromAlpha="0"
|
||||
android:toAlpha="1"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
<scale
|
||||
android:fromXScale="105%"
|
||||
android:fromYScale="105%"
|
||||
android:toXScale="100%"
|
||||
android:toYScale="100%"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:interpolator="@android:anim/decelerate_interpolator"
|
||||
/>
|
||||
|
||||
</set>
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layoutAnimation
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:animation="@anim/item_animation_fall_down_out"
|
||||
android:delay="15%"
|
||||
android:animationOrder="normal"/>
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layoutAnimation
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:animation="@anim/item_animation_fall_down_quick"
|
||||
android:delay="6%"
|
||||
android:animationOrder="normal"/>
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layoutAnimation
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:animation="@anim/fade_in"
|
||||
android:delay="15%"
|
||||
android:animationOrder="normal"/>
|
||||
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">
|
||||
<item android:drawable="?attr/colorBackground"/>
|
||||
</layer-list>
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
tools:context=".Main">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbarlayout"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity"
|
||||
tools:context=".Main"
|
||||
tools:showIn="@layout/app_bar_main"
|
||||
android:id="@+id/content"
|
||||
android:background="@color/background"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginBottom="3dp"
|
||||
app:cardElevation="2dp">
|
||||
app:cardElevation="1dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.card.MaterialCardView android:layout_width="match_parent"
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:backgroundTint="@color/lightbackground"
|
||||
@@ -10,8 +12,7 @@
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginBottom="3dp"
|
||||
app:cardElevation="2dp"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
app:cardElevation="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:focusable="false">
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@color/background"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down">
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/searchbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:animateLayoutChanges="true"
|
||||
android:ems="10"
|
||||
android:gravity="center"
|
||||
android:hint="@string/keyphrase"
|
||||
android:imeOptions="flagNoExtractUi"
|
||||
android:inputType="textNoSuggestions"
|
||||
android:singleLine="true"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||
android:textColor="@color/accent"
|
||||
android:textColorHint="@color/hintcolor"
|
||||
android:textSize="20sp"
|
||||
android:theme="@style/EditTextTheme"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:fillViewport="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/searchbar">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/linearRecyclerSearch"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down"/>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -2,7 +2,6 @@
|
||||
<resources>
|
||||
<string name="app_name">AvH-Plan</string>
|
||||
<string name="filter">Filter</string>
|
||||
<string name="lastupdated">Zuletzt aktualisiert</string>
|
||||
<string name="nointernet">Keine Internetverbindung</string>
|
||||
<string name="general">Allgemein</string>
|
||||
<string name="classes">Klasse</string>
|
||||
@@ -12,11 +11,9 @@
|
||||
<string name="settings">Einstellungen</string>
|
||||
<string name="plan">Plan</string>
|
||||
<string name="darkbg">Dunkler Hintergrund</string>
|
||||
<string name="restart">App-Neustart erforderlich</string>
|
||||
<string name="notifications">Aktiviere Benachrichtigungen</string>
|
||||
<string name="notifiedabout">Aktiviert ebenfalls Hintergrund-Sync</string>
|
||||
<string name="personalplan">Persönlicher Plan</string>
|
||||
<string name="keyphrase">Gib ein Stichwort ein</string>
|
||||
<string name="personalise">Personalisieren</string>
|
||||
<string name="misc">Diverses</string>
|
||||
<string name="defplan">Standardmäßig ansonsten normaler Plan</string>
|
||||
@@ -25,7 +22,6 @@
|
||||
<string name="butwhy">Falls nötig</string>
|
||||
<string name="menu">Menü</string>
|
||||
<string name="foodmenu">Speiseplan</string>
|
||||
<string name="bestclass">17a ist das beste Profil</string>
|
||||
<string name="letsgo">Los geht\'s!</string>
|
||||
<string name="welcome">Willkommen!</string>
|
||||
<string name="firstsomethings">Lass uns erst einige Sachen einrichten.</string>
|
||||
@@ -86,12 +82,8 @@
|
||||
<string name="error">Ein Fehler ist aufgetreten!</string>
|
||||
<string name="wantnotif">Benachrichtigungen und Hintergrund-Synchronisation aktivieren</string>
|
||||
<string name="nosubst">Kein Entfall für dich</string>
|
||||
<string name="chinaNotif">Auf diesem Gerät nicht unterstützt</string>
|
||||
<string name="chinaAuto">Auf diesem Gerät automatisch aktiviert</string>
|
||||
<string name="chinaDialog">Einige chinesische Hersteller, wie Huawei/Honor und Xiaomi, unterdrücken Hintergrund-Services, weshalb Benachrichtungen und Hintergrund-Synchronisation nicht funktionieren.\n\nIch habe feststellen müssen, dass es keine einfache Lösung dafür gibt, die ich einbauen könnte.\n\nStattdessen kannst du jedoch versuchen, App-Optimierungen für diese App zu deaktivieren:\n\nSchließe die App und öffne \"Einstellungen\" -> \"Apps\" -> \"AvH-Plan\" -> \"Akku\" -> \"App-Start\" -> \"Automatisch verwalten\" deaktivieren, \"Im Hintergrund ausführen\" aktivieren.\n\nDies kann unter Umständen keinen Einfluss haben.</string>
|
||||
<string name="orbuy">Oder kauf dir ein gutes Smartphone</string>
|
||||
<string name="chinaTitle">Informationen bezüglich deines Gerätes</string>
|
||||
<string name="searchonline">Suche online</string>
|
||||
<string name="customisecolor1">Benutzerdefinierte Farben</string>
|
||||
<string name="customisecolor2">Farben für jedes Fach einstellen</string>
|
||||
<string name="courseDeu">Deutsch (+ DAZ)</string>
|
||||
@@ -123,7 +115,6 @@
|
||||
<string name="clearall">Alle löschen</string>
|
||||
<string name="allcolourscleared">Farben für alle Kurse wurden gelöscht</string>
|
||||
<string name="clearcolour">Farbe löschen</string>
|
||||
<string name="finish">Fertigstellen</string>
|
||||
<string name="chromecompatible">Kein Chrome-kompatibler Browser gefunden</string>
|
||||
<string name="noyoutube">YouTube-App nicht gefunden</string>
|
||||
<string name="swipeindependent">Unabhängig von Wischgeste</string>
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme0.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1,40 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<color name="background">#eeeeee</color>
|
||||
<color name="background">#e0e0e0</color>
|
||||
<color name="lightbackground">#f5f5f5</color>
|
||||
<color name="accent">#448aff</color>
|
||||
<color name="textcolor">#212121</color>
|
||||
<color name="hintcolor">#757575</color>
|
||||
<color name="lighthintcolor">#bdbdbd</color>
|
||||
|
||||
<!-- <color name="background">#FFFFFF</color>-->
|
||||
<!-- <color name="colorChipLight">#f5f5f5</color>-->
|
||||
<!-- <color name="colorChipDark">#1E1E1E</color>-->
|
||||
|
||||
<!-- <color name="white">#FFFFFF</color>-->
|
||||
<!-- <color name="black">#000000</color>-->
|
||||
<!-- <color name="accent">#448aff</color>-->
|
||||
<!-- <color name="accentPastel">#64b5f6</color>-->
|
||||
<!-- <color name="dark">#121212</color>-->
|
||||
<!-- <color name="lessdark">#1E1E1E</color>-->
|
||||
<!-- <color name="lightgrey">#bdbdbd</color>-->
|
||||
|
||||
<!-- <color name="textcolor">#212121</color>-->
|
||||
<!-- <color name="textLight">#e0e0e0</color>-->
|
||||
|
||||
<!-- <color name="darkdivider">#313131</color>-->
|
||||
|
||||
<!-- <color name="darkwhite">#eeeeee</color>-->
|
||||
<!-- <color name="lightwhite">#f5f5f5</color>-->
|
||||
|
||||
<color name="datingPink">#d81b60</color>
|
||||
|
||||
<!-- <color name="hint">#9e9e9e</color>-->
|
||||
<!-- <color name="hintdark">#757575</color>-->
|
||||
|
||||
<color name="slighttransparency">#42000000</color>
|
||||
|
||||
<color name="red">#e53935</color>
|
||||
<color name="pink">#E91E63</color>
|
||||
<color name="purple">#9C27B0</color>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<string name="app_name">AvH Plan</string>
|
||||
<string name="subst">Substitution Plan</string>
|
||||
<string name="filter">Filters</string>
|
||||
<string name="lastupdated">Last updated</string>
|
||||
<string name="nointernet">No internet connection</string>
|
||||
<string name="general">General</string>
|
||||
<string name="classes">Grade</string>
|
||||
@@ -14,12 +13,10 @@
|
||||
|
||||
<!-- for Settings fragment -->
|
||||
<string name="darkbg">Dark background</string>
|
||||
<string name="restart">App restart required</string>
|
||||
<string name="notifications">Enable notifications</string>
|
||||
<string name="notifiedabout">Also enables background sync</string>
|
||||
|
||||
<string name="personalplan">Personal Plan</string>
|
||||
<string name="keyphrase">Enter a keyphrase</string>
|
||||
<string name="personalise">Personalise</string>
|
||||
<string name="misc">Miscellaneous</string>
|
||||
<string name="personalised">Set personalised plan as default</string>
|
||||
@@ -28,7 +25,6 @@
|
||||
<string name="butwhy">In case you need to</string>
|
||||
<string name="menu">Menu</string>
|
||||
<string name="foodmenu">Food Menu</string>
|
||||
<string name="bestclass">17a is the best profile</string>
|
||||
<string name="letsgo">Let\'s Go!</string>
|
||||
<string name="welcome">Welcome!</string>
|
||||
<string name="firstsomethings">First, let\'s setup some things.</string>
|
||||
@@ -96,14 +92,8 @@
|
||||
<string name="error">An error occurred!</string>
|
||||
<string name="nosubst">No substitutions for you</string>
|
||||
|
||||
<string name="chinaNotif">Not supported this device</string>
|
||||
<string name="chinaAuto">Automatically enabled on your device</string>
|
||||
|
||||
<string name="chinaTitle">Information regarding your device</string>
|
||||
<string name="chinaDialog">Some Chinese manufacturers, such as Huawei/Honor and Xiaomi, heavily suppress background services, which results in notifications and background synchronisation not working.\n\nFrom my current research, I have determined that there\'s no easy workaround I can implement.\n\nYou can, however, try to disable power optimisation for this app in the settings:\n\nClose the app and open \"Settings\" -> \"Apps\" -> \"AvH Plan\" -> \"Battery\" -> \"Launch\" -> disable \"Manage automatically\", enable \"Run in background\"\n\nThis is not guaranteed to work.</string>
|
||||
<string name="orbuy">Or, you know, buy a good device</string>
|
||||
|
||||
<string name="searchonline">Search online</string>
|
||||
|
||||
<string name="customisecolor1">Customise colours</string>
|
||||
<string name="customisecolor2">Customise every subject individually</string>
|
||||
@@ -139,7 +129,6 @@
|
||||
<string name="clearall">Clear all</string>
|
||||
<string name="clearcolour">Clear colour</string>
|
||||
<string name="allcolourscleared">Colours for all courses have been cleared</string>
|
||||
<string name="finish">Finish</string>
|
||||
|
||||
<string name="chromecompatible">No Chrome-compatible browser found</string>
|
||||
<string name="noyoutube">YouTube app not found</string>
|
||||
|
||||
Reference in New Issue
Block a user