Compare commits

..
Author SHA1 Message Date
gdlbo 07ee9269b7 fixes 2022-06-11 20:16:10 +03:00
gdlbo 3ee43f1c50 Animation fragment injector (beta) 2022-06-11 19:46:22 +03:00
gdlbo dd65196af9 fixed games button 2022-06-11 17:29:05 +03:00
gdlbo 5547de006b upgraded ColorStateList recoloring 2022-06-11 16:42:39 +03:00
gdlbo 0fbf571c60 some fixes of color inj 2022-06-11 15:24:04 +03:00
gdlbo f5f05697b6 Merge remote-tracking branch 'origin/master' 2022-06-11 14:26:43 +03:00
gdlbo 5f179f6a26 fixed search color 2022-06-11 14:26:39 +03:00
gdlbo 37c6d29e84 Fix string 2022-06-10 22:22:46 +03:00
gdlbo 0e81ba31cb fixed crash docs 2022-06-10 21:49:12 +03:00
gdlbo 1f24d32109 fixed crash docs 2022-06-10 21:37:52 +03:00
gdlbo ff16f84c43 some improves 2022-06-10 21:00:37 +03:00
gdlbo 5b929bf515 fixed issue with undelete by default (oops) 2022-06-10 19:42:20 +03:00
83 changed files with 625 additions and 219 deletions
@@ -0,0 +1,71 @@
package ru.vtosters.lite.utils;
import static ru.vtosters.lite.utils.Globals.getIdentifier;
import static ru.vtosters.lite.utils.Globals.getPrefsValue;
import android.content.res.Resources;
import android.support.v4.app.FragmentTransaction;
public class FragAnimationKit {
// Q
private static final int actOpenEnter = getIdentifier("q_enter", "anim");
private static final int actCloseExit = getIdentifier("q_pop_exit", "anim");
// Slide
private static final int SactOpenEnter = getIdentifier("legacy_enter", "anim");
private static final int SactCloseExit = getIdentifier("legacy_pop_exit", "anim");
// Fade
private static final int FadeOpenEnter = getIdentifier("vkme_enter_slide_up", "anim");
private static final int FadeCloseExit = getIdentifier("vkme_enter_slide_down", "anim");
// System
private static final Resources resources = Resources.getSystem();
private static final int SSactOpenEnter = resources.getIdentifier("activity_open_enter", "anim","android");
private static final int SSactCloseExit = resources.getIdentifier("activity_close_exit", "anim", "android");
// System [task]
private static final int SSTactOpenEnter = resources.getIdentifier("task_open_enter", "anim","android");
private static final int SSTactCloseExit = resources.getIdentifier("task_close_exit", "anim", "android");
public static void animateOpen(FragmentTransaction transaction) {
setAnimations(transaction);
}
public static void animateClose(FragmentTransaction transaction) {
setAnimations(transaction);
}
public static void setAnimations(FragmentTransaction transaction) {
if (transaction != null && !getPrefsValue("anim_rtrn_type").equals("noanim")) {
switch (getPrefsValue("anim_rtrn_type")) {
case "q":
transaction.a(
actOpenEnter,
actCloseExit
);
break;
case "fade":
transaction.a(
FadeOpenEnter,
FadeCloseExit
);
break;
case "slide":
transaction.a(
SactOpenEnter,
SactCloseExit
);
break;
case "system":
transaction.a(
SSactOpenEnter,
SSactCloseExit
);
break;
case "system_task":
transaction.a(
SSTactOpenEnter,
SSTactCloseExit
);
break;
}
}
}
}
@@ -1,5 +1,6 @@
package ru.vtosters.lite.utils;
import static android.os.Build.VERSION;
import static ru.vtosters.lite.f0x1d.VTVerifications.isVerified;
import static ru.vtosters.lite.ui.fragments.multiaccount.MultiAccountManager.migrate;
import static ru.vtosters.lite.utils.DeletedMessagesHandler.reloadMessagesList;
@@ -16,11 +17,12 @@ import static ru.vtosters.lite.utils.OpusLoader.LoadLibrary;
import static ru.vtosters.lite.utils.Proxy.setProxy;
import static ru.vtosters.lite.utils.Themes.systemThemeChanger;
import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import android.util.Log;
import com.vk.core.util.Screen;
import com.vk.im.engine.models.users.UserSex;
@@ -49,6 +51,13 @@ public class Preferences {
systemThemeChanger();
} // VK Init
public static void forceOffline() {
if (setoffline() && !offline()) {
Users.b();
}
setupFilters();
}
public static boolean getBoolValue(String key, Boolean value) {
if (preferences == null) {
preferences = PreferenceManager.getDefaultSharedPreferences(getContext());
@@ -56,6 +65,10 @@ public class Preferences {
return preferences.getBoolean(key, value);
} // Set bool by default and get value
public static SharedPreferences getPrefsFromFile(String filename) {
return getContext().getSharedPreferences(filename, Context.MODE_PRIVATE);
}
public static boolean opusmodule() {
return getBoolValue("opusmodule", true);
}
@@ -180,13 +193,6 @@ public class Preferences {
return getBoolValue("commentssorting", false);
}
public static void forceOffline() {
if (setoffline() && !offline()) {
Users.b();
}
setupFilters();
}
public static boolean gcmfix() {
return getBoolValue("gcmfix", true);
}
@@ -313,15 +319,15 @@ public class Preferences {
}
public static String MediacontentFix() {
return Build.VERSION.SDK_INT >= 29 ? "date_modified DESC" : "datetaken DESC";
return VERSION.SDK_INT >= 29 ? "date_modified DESC" : "datetaken DESC";
} // Fix photo picker for sdk 29+
public static String MediacontentFix2() {
return Build.VERSION.SDK_INT >= 29 ? "date_modified" : "datetaken";
return VERSION.SDK_INT >= 29 ? "date_modified" : "datetaken";
} // Fix photo picker for sdk 29+
public static String MediacontentFix3() {
return Build.VERSION.SDK_INT >= 29 ? ", date_modified=" : ", dateTaken=";
return VERSION.SDK_INT >= 29 ? ", date_modified=" : ", dateTaken=";
} // Fix photo picker for sdk 29+
public static boolean color_grishka() {
@@ -370,21 +376,24 @@ public class Preferences {
return string.isEmpty() ? Locale.getDefault().getLanguage() : string;
}
public static boolean fulltime() {
return getPrefsValue("dateformat").equals("noyear") || getPrefsValue("dateformat").equals("full") || getPrefsValue("dateformat").equals("noseconds");
}
public static String getDateFormat() {
if (getPrefsValue("dateformat").equals("noyear")) {
return getString("fulltime2");
switch (getPrefsValue("dateformat")) {
case "noyear":
return getString("fulltime2");
case "full":
return getString("fulltime");
default:
return getString("fulltime3");
}
}
if (getPrefsValue("dateformat").equals("full")) {
return getString("fulltime");
}
return getString("fulltime3");
@SuppressLint("SimpleDateFormat")
public static SimpleDateFormat setDateFormat() {
return new SimpleDateFormat(getDateFormat());
}
public static String getFormattedDate(UserSex type, long time){
@@ -393,9 +402,9 @@ public class Preferences {
if(!fulltime()) return null;
try {
return getStringDate(type == UserSex.FEMALE ? getIdentifier("last_seen_profile_f", "string") : getIdentifier("last_seen_profile_m", "string"), new Object[]{date.format(new Date(time))});
return getStringDate(type == UserSex.FEMALE ? getIdentifier("last_seen_profile_f", "string") : getIdentifier("last_seen_profile_m", "string"), date.format(new Date(time)));
} catch (Throwable th) {
Log.d("VTLite", "Format data error, type " + type + " , time " + time);
th.printStackTrace();
return null;
}
@@ -1,15 +1,15 @@
package ru.vtosters.lite.utils;
import static android.view.View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
import static java.util.Arrays.asList;
import static ru.vtosters.lite.utils.Globals.getContext;
import static ru.vtosters.lite.utils.Globals.getIdentifier;
import static ru.vtosters.lite.utils.Globals.getPrefsValue;
import static ru.vtosters.lite.utils.Globals.getResources;
import static ru.vtosters.lite.utils.Preferences.color_grishka;
import static ru.vtosters.lite.utils.Preferences.isBGStickersEnabled;
import static ru.vtosters.lite.utils.Preferences.navbar;
import static ru.vtosters.lite.utils.Preferences.systemtheme;
import static ru.vtosters.lite.utils.Preferences.roundedmsgs;
import static ru.vtosters.lite.utils.Preferences.systemtheme;
import static ru.vtosters.lite.utils.Preferences.vksans;
import android.content.Context;
@@ -32,11 +32,12 @@ import com.vk.im.ui.themes.ImTheme;
import com.vk.im.ui.themes.ImThemeHelper;
import com.vtosters.lite.R;
import java.util.Arrays;
import java.util.List;
public class Themes {
public static List<String> accentColors = asList(
"71AAEB", "3F8AE0", "528BCC", "4986CC", "5181B8", "74A2D6", "518BCC"
public static List<String> accentColors = Arrays.asList(
"5692d7", "528bcc", "7aa0cc", "518bcc", "6296d0", "2f68aa", "638ebf", "5181b8", "71aaeb", "4774a8", "5baaf4", "4186c8", "add3ff", "4774a8", "718198", "5a9eff", "99a2ad", "74a2d6", "e9eef3", "dfe3e7", "eff1f3", "5c9ce6", "4986cc", "4680c2"
);
public static void applyTheme(VKTheme theme, ImTheme imtheme) {
@@ -186,8 +187,12 @@ public class Themes {
return ColorStateList.valueOf(getAccentColor());
} // Recolor ColorStateList to accent color
public static ColorStateList themeCSL(ColorStateList csl) {
int color = csl.getDefaultColor();
public static ColorStateList themeCSL(Context context, int color) {
if (isColorRefAccented(color) && isAndroidMonet()) {
return ColorStateList.valueOf(getAccentColor());
}
ColorStateList csl = context.getColorStateList(color);
try {
int unsel = csl.getColorForState(new int[]{-android.R.attr.state_selected}, Color.BLACK);
int sel = csl.getColorForState(new int[]{android.R.attr.state_selected}, Color.BLACK);
@@ -234,7 +239,7 @@ public class Themes {
}
public static boolean isAccentedColor(int target) {
return accentColors.contains(hex(target).toUpperCase());
return accentColors.contains(hex(target).toLowerCase());
}
public static int getColor(Context context, int i) {
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityDefaultDur"
android:fromXScale="0.9"
android:fromYScale="0.9"
android:interpolator="@android:anim/decelerate_interpolator"
android:pivotX="50.0%"
android:pivotY="100.0%"
android:fromXScale="0.9"
android:toXScale="1.0"
android:fromYScale="0.9"
android:toYScale="1.0" />
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityShortDur"
android:fromAlpha="0.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
+3 -3
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityShortDur"
android:fromAlpha="0.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
+3 -3
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityShortDur"
android:fromAlpha="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="0.0" />
</set>
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityDefaultDur"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:pivotX="50.0%"
android:pivotY="100.0%"
android:fromXScale="1.0"
android:toXScale="0.9"
android:fromYScale="1.0"
android:toYScale="0.9" />
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="@integer/abc_config_activityShortDur"
android:fromAlpha="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="0.0" />
</set>
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@android:interpolator/decelerate_quad"
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@integer/config_tooltipAnimTime"
android:fromAlpha="0.0"
android:toAlpha="1.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
android:interpolator="@android:interpolator/decelerate_quad"
android:toAlpha="1.0" />
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@android:interpolator/accelerate_quad"
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@integer/config_tooltipAnimTime"
android:fromAlpha="1.0"
android:toAlpha="0.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
android:interpolator="@android:interpolator/accelerate_quad"
android:toAlpha="0.0" />
+5 -5
View File
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:zAdjustment="normal"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="normal">
<alpha
android:duration="300"
android:fillBefore="true"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:toAlpha="1.0"
android:fillEnabled="true" />
android:toAlpha="1.0" />
</set>
+14 -14
View File
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
android:zAdjustment="top"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:interpolator="@android:interpolator/decelerate_cubic"
android:duration="300"
android:fillBefore="true"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:fillEnabled="true" />
<scale
android:interpolator="@android:interpolator/decelerate_cubic"
android:toAlpha="0.0" />
<scale
android:duration="300"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:interpolator/decelerate_cubic"
android:pivotX="50.0%p"
android:pivotY="50.0%p"
android:fillBefore="true"
android:fillAfter="true"
android:fromXScale="1.0"
android:toXScale="0.8"
android:fromYScale="1.0"
android:toYScale="0.8"
android:fillEnabled="true" />
android:toYScale="0.8" />
</set>
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:duration="300"
android:fromYDelta="100.0%p"
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/accelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator">
<translate
android:duration="300"
android:fromYDelta="0.0%p"
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="225"
android:interpolator="@android:interpolator/linear_out_slow_in">
<translate
android:fromYDelta="100.0%p"
android:toYDelta="0.0" />
</set>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="195"
android:interpolator="@android:interpolator/fast_out_linear_in">
<translate
android:fromYDelta="0.0%p"
android:toYDelta="100.0%p" />
</set>
+4 -4
View File
@@ -5,15 +5,15 @@
android:state_pressed="true">
<objectAnimator
android:duration="200"
android:propertyName="translationZ"
android:valueTo="2.0dip"
android:valueType="floatType"
android:propertyName="translationZ" />
android:valueType="floatType" />
</item>
<item>
<objectAnimator
android:duration="200"
android:propertyName="translationZ"
android:valueTo="1.0dip"
android:valueType="floatType"
android:propertyName="translationZ" />
android:valueType="floatType" />
</item>
</selector>
+4 -4
View File
@@ -5,15 +5,15 @@
android:state_pressed="true">
<objectAnimator
android:duration="200"
android:propertyName="translationZ"
android:valueTo="4.0dip"
android:valueType="floatType"
android:propertyName="translationZ" />
android:valueType="floatType" />
</item>
<item>
<objectAnimator
android:duration="200"
android:propertyName="translationZ"
android:valueTo="2.0dip"
android:valueType="floatType"
android:propertyName="translationZ" />
android:valueType="floatType" />
</item>
</selector>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/accelerate_decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@integer/bottom_sheet_slide_duration"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:interpolator/fast_out_linear_in">
<translate
android:fromYDelta="20.000004%p"
android:toYDelta="0.0" />
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/accelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@integer/bottom_sheet_slide_duration"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:interpolator/fast_out_slow_in">
<translate
android:fromYDelta="0.0"
android:toYDelta="20.000004%p" />
+3 -3
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<translate android:fromYDelta="100.0%"
android:toYDelta="0.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromYDelta="100.0%"
android:toYDelta="0.0" />
+3 -3
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<translate android:fromYDelta="0.0"
android:toYDelta="100.0%"
xmlns:android="http://schemas.android.com/apk/res/android" />
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromYDelta="0.0"
android:toYDelta="100.0%" />
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@android:anim/accelerate_interpolator"
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fromAlpha="1.0"
android:toAlpha="0.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
android:interpolator="@android:anim/accelerate_interpolator"
android:toAlpha="0.0" />
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:pathData="M 0,0 C 0.05, 0, 0.133333, 0.06, 0.166666, 0.4 C 0.208333, 0.82, 0.25, 1, 1, 1" />
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:controlX1="0.4"
android:controlX2="1.0"
android:controlY1="0.0"
android:controlY2="1.0" />
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:duration="@android:integer/config_shortAnimTime"
android:fromXScale="0.9"
android:fromYScale="0.9"
android:pivotX="50.0%"
android:pivotY="0.0%"
android:toXScale="1.0"
android:toYScale="1.0" />
<alpha
android:duration="@android:integer/config_shortAnimTime"
android:fromAlpha="0.0"
android:toAlpha="1.0" />
</set>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="100">
<translate
android:fromYDelta="-20.000004%"
android:interpolator="@android:anim/decelerate_interpolator"
android:toYDelta="0.0" />
<alpha
android:fromAlpha="0.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="100">
<translate
android:fromYDelta="20.000004%"
android:interpolator="@android:anim/decelerate_interpolator"
android:toYDelta="0.0" />
<alpha
android:fromAlpha="0.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
android:animation="@anim/item_animation_fall_down"
android:animationOrder="normal"
android:delay="14.999998%" />
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
android:animation="@anim/item_animation_fall_up"
android:animationOrder="reverse"
android:delay="14.999998%" />
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="250"
android:fromXDelta="100.0%"
android:fromYDelta="0.0%"
android:toXDelta="0.0%"
android:toYDelta="0.0%" />
</set>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="250"
android:fromXDelta="0.0%"
android:fromYDelta="0.0%"
android:toXDelta="-100.0%"
android:toYDelta="0.0%" />
</set>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="250"
android:fromXDelta="-100.0%"
android:fromYDelta="0.0%"
android:toXDelta="0.0%"
android:toYDelta="0.0%" />
</set>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
android:duration="250"
android:fromXDelta="0.0%"
android:fromYDelta="0.0%"
android:toXDelta="100.0%"
android:toYDelta="0.0%" />
</set>
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<linearInterpolator />
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:controlX1="0.0"
android:controlX2="0.2"
android:controlY1="0.0"
android:controlY2="1.0" />
+6 -6
View File
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<scale
android:interpolator="@android:anim/bounce_interpolator"
android:duration="200"
android:fillAfter="false"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/bounce_interpolator"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fillAfter="false"
android:repeatCount="1"
android:repeatMode="reverse"
android:fromXScale="1.0"
android:toXScale="1.2"
android:fromYScale="1.0"
android:toYScale="1.2" />
</set>
+6 -6
View File
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator">
<scale
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="100"
android:fillAfter="false"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fillAfter="false"
android:repeatCount="1"
android:repeatMode="reverse"
android:fromXScale="1.0"
android:toXScale="0.7"
android:fromYScale="1.0"
android:toYScale="0.7" />
</set>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="0.0"
android:toYDelta="0.0" />
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@android:anim/accelerate_interpolator"
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fromAlpha="0.0"
android:toAlpha="1.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
android:interpolator="@android:anim/accelerate_interpolator"
android:toAlpha="1.0" />
+3 -3
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha android:interpolator="@android:anim/accelerate_interpolator"
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fillAfter="true"
android:fromAlpha="1.0"
android:toAlpha="0.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
android:interpolator="@android:anim/accelerate_interpolator"
android:toAlpha="0.0" />
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<translate android:duration="50"
xmlns:android="http://schemas.android.com/apk/res/android" />
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="50" />
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@android:integer/config_longAnimTime"
android:fromYDelta="0.0"
android:toYDelta="100.0%p" />
<alpha
android:duration="300"
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>
+7 -7
View File
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:shareInterpolator="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:interpolator="@android:anim/overshoot_interpolator"
fromXScale="0.1"
android:duration="400"
android:fromYScale="0.1"
android:interpolator="@android:anim/overshoot_interpolator"
android:pivotX="20.000004%"
android:pivotY="0.0"
android:toXScale="1.0"
android:fromYScale="0.1"
android:toYScale="1.0"
fromXScale="0.1" />
android:toYScale="1.0" />
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:duration="400"
android:fromAlpha="0.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0" />
</set>
+3 -1
View File
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@anim/linear_out_slow_in"
android:shareInterpolator="true">
<translate
android:duration="300"
android:fromYDelta="-100.0%p"
+4 -2
View File
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:ordering="together"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@anim/fast_out_linear_in"
android:ordering="together"
android:shareInterpolator="true">
<translate
android:duration="300"
android:fromYDelta="0.0"
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:duration="50"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromAlpha="0.0"
android:interpolator="@anim/linear"
android:startOffset="50"
android:toAlpha="1.0" />
<scale
android:duration="400"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXScale="0.85"
android:fromYScale="0.85"
android:interpolator="@anim/fast_out_extra_slow_in"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />
</set>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<alpha
android:duration="87"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:interpolator="@anim/linear"
android:startOffset="83"
android:toAlpha="0.4" />
<scale
android:duration="400"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@anim/fast_out_extra_slow_in"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="1.05"
android:toYScale="1.05" />
</set>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:duration="400"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXScale="1.1"
android:fromYScale="1.1"
android:interpolator="@anim/fast_out_extra_slow_in"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="1.0"
android:toYScale="1.0" />
</set>
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="167"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:interpolator="@anim/linear"
android:startOffset="33"
android:toAlpha="0.0" />
<scale
android:duration="400"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@anim/fast_out_extra_slow_in"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="0.9"
android:toYScale="0.9" />
</set>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<scale
android:duration="@android:integer/config_shortAnimTime"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:pivotX="50.0%"
android:pivotY="0.0%"
android:toXScale="0.9"
android:toYScale="0.9" />
<alpha
android:duration="@android:integer/config_shortAnimTime"
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="-4.999995%"
android:toYDelta="0.0" />
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="50.0%"
android:toYDelta="0.0" />
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="-50.0%"
android:toYDelta="0.0" />
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="0.0"
android:toYDelta="50.0%" />
+4 -4
View File
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<rotate
android:fromDegrees="-15.0"
android:toDegrees="0.0"
android:pivotX="50.0%"
android:pivotY="50.0%" />
android:pivotY="50.0%"
android:toDegrees="0.0" />
<translate
android:fromYDelta="-100.0%p"
android:toYDelta="0.0" />
+4 -4
View File
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/accelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/accelerate_interpolator">
<rotate
android:fromDegrees="0.0"
android:toDegrees="15.0"
android:pivotX="50.0%"
android:pivotY="50.0%" />
android:pivotY="50.0%"
android:toDegrees="15.0" />
<translate
android:fromYDelta="0.0"
android:toYDelta="100.0%p" />
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="0.0%"
android:fromYScale="0.0%"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="100.0%"
android:toYScale="100.0%" />
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0" />
</set>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="100.0%"
android:fromYScale="100.0%"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:toXScale="0.0%"
android:toYScale="0.0%" />
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0" />
</set>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:anim/decelerate_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="400"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:anim/decelerate_interpolator">
<translate
android:fromYDelta="100.0%"
android:toYDelta="0.0" />
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@android:interpolator/accelerate_decelerate"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@android:interpolator/fast_out_slow_in">
<translate
android:fromYDelta="0.0"
android:toYDelta="14.999998%" />
+5 -5
View File
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:zAdjustment="normal"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="normal">
<translate
android:duration="200"
android:fillBefore="true"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromXDelta="100.0%"
android:toXDelta="0.0"
android:fillEnabled="true" />
android:toXDelta="0.0" />
</set>
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0" />
+2 -2
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:duration="300"
xmlns:android="http://schemas.android.com/apk/res/android">
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="300">
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0" />
+5 -2
View File
@@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<accelerateInterpolator android:factor="2.0"
xmlns:android="http://schemas.android.com/apk/res/android" />
<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:controlX1="0.4"
android:controlX2="0.2"
android:controlY1="0.0"
android:controlY2="1.0" />
+6 -6
View File
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@anim/vkme_enter_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="180"
android:shareInterpolator="true"
android:fillBefore="true"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@anim/vkme_enter_interpolator"
android:shareInterpolator="true">
<translate
android:fromYDelta="0.0%"
android:toYDelta="3.9999962%" />
<scale
android:pivotX="50.0%"
android:fromXScale="100.0%"
android:toXScale="96.0%"
android:fromYScale="100.0%"
android:pivotX="50.0%"
android:toXScale="96.0%"
android:toYScale="96.0%" />
<alpha
android:fromAlpha="1.0"
+6 -6
View File
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:interpolator="@anim/vkme_enter_interpolator"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:shareInterpolator="true"
android:fillBefore="true"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
xmlns:android="http://schemas.android.com/apk/res/android">
android:interpolator="@anim/vkme_enter_interpolator"
android:shareInterpolator="true">
<translate
android:fromYDelta="3.9999962%"
android:toYDelta="0.0%" />
<scale
android:pivotX="50.0%"
android:fromXScale="96.0%"
android:toXScale="100.0%"
android:fromYScale="96.0%"
android:pivotX="50.0%"
android:toXScale="100.0%"
android:toYScale="100.0%" />
<alpha
android:fromAlpha="0.0"
+4 -4
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:duration="200"
android:fillBefore="true"
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="200"
android:fillAfter="false"
android:fillEnabled="false"
xmlns:android="http://schemas.android.com/apk/res/android">
android:fillBefore="true"
android:fillEnabled="false">
<alpha
android:fromAlpha="1.0"
android:toAlpha="1.0" />
+1 -1
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:textColorHint="@color/music_text_hint"
<TextView android:textColorHint="?header_text"
android:gravity="center_vertical"
android:paddingLeft="60.0dip"
android:paddingRight="56.0dip"
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:textSize="16.0dip"
android:textStyle="normal"
android:textColor="@color/muted_black"
android:textColor="?text_primary"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:drawablePadding="12.0dip"
+1 -1
View File
@@ -32,7 +32,7 @@
android:layout_height="fill_parent"
android:src="@drawable/ic_back_24"
android:scaleType="centerInside"
android:tint="#ff909499"
android:tint="?header_text"
android:contentDescription="@string/music_talkback_go_back"
android:layout_marginStart="8.0dip"
style="@style/ActionButton.Gray" />
+4 -3
View File
@@ -7,6 +7,7 @@
android:orientation="horizontal"
android:id="@id/search_box"
android:background="@drawable/bg_modern_search"
android:backgroundTint="?background_content"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="fill_parent"
@@ -20,12 +21,12 @@
android:layout_height="48.0dip"
android:src="@drawable/ic_back_24"
android:scaleType="centerInside"
android:tint="?text_primary" />
android:tint="?header_text" />
<com.vk.core.view.NoMenuEditText
android:textSize="16.0dip"
android:textColor="?header_text"
android:textColorHint="#ffaaaeb3"
android:textColorHint="?header_text_secondary"
android:gravity="center_vertical"
android:id="@id/query"
android:background="@null"
@@ -42,7 +43,7 @@
<TextView
android:textSize="16.0dip"
android:textColor="?header_text"
android:textColorHint="#ffaaaeb3"
android:textColorHint="?header_text_secondary"
android:ellipsize="end"
android:gravity="center_vertical"
android:id="@id/query_static"
+13
View File
@@ -438,6 +438,19 @@
<item>Видеозапись</item>
<item>Документ</item>
</string-array>
<string-array name="animations2">
<item>Без анимации</item>
<item>Системный</item>
<item>Системный (task)</item>
</string-array>
<string-array name="animations">
<item>Без анимации</item>
<item>Android Q</item>
<item>Fade</item>
<item>Слайд</item>
<item>Системный</item>
<item>Системный (task)</item>
</string-array>
<string-array name="language">
<item>Системный</item>
<item>Английский</item>
+4 -1
View File
@@ -4286,7 +4286,7 @@
<string name="appearance_theme_use_system">Использовать системную тему</string>
<string name="appearance_theme_use_system_summary">Применение системной темы при запуске приложения</string>
<string name="appearance_other_color_navbar_summary">Если семтемно имеется</string>
<string name="appearance_other_color_navbar_summary">Если системно имеется</string>
<string name="appearance_other_color_webview_summary">Покраска страниц, таких как VKID, под тему приложения</string>
<string name="interface_global_old_icons">Старые иконки</string>
@@ -4443,5 +4443,8 @@
<string name="dateformat">Выберите тип показа дат</string>
<string name="franimation">Анимация фрагментов (бета)</string>
<string name="selectfranimation">Выберите анимацию фрагментов</string>
<string name="empty_text" />
</resources>
+11 -11
View File
@@ -2,13 +2,13 @@
<resources>
<style name="ActionBarGrayTheme">
<item name="android:textColorPrimary">@color/attach_title</item>
<item name="android:textColorSecondary">@color/attach_title</item>
<item name="android:textColorPrimary">?header_text</item>
<item name="android:textColorSecondary">?header_text</item>
<item name="android:selectableItemBackground">@drawable/highlight_toolbar</item>
<item name="android:actionBarItemBackground">@drawable/highlight_icon_white_unbounded</item>
<item name="android:colorAccent">@color/attach_title</item>
<item name="colorAccent">@color/attach_title</item>
<item name="colorPrimary">#fffafafa</item>
<item name="android:colorAccent">?accent</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">?header_background</item>
</style>
<style name="ActionBarSpinner" parent="@android:style/Widget.Material.Spinner" />
@@ -19,13 +19,13 @@
<style name="ActionBarTheme" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:textColorPrimary">?header_text</item>
<item name="android:textColorSecondary">?header_tint</item>
<item name="android:textColorSecondary">?header_text</item>
<item name="android:selectableItemBackground">@drawable/highlight_toolbar</item>
<item name="android:actionBarItemBackground">@drawable/highlight_icon_white_unbounded</item>
<item name="android:titleTextAppearance">@style/ToolbarTitle</item>
<item name="android:colorAccent">#ffffffff</item>
<item name="colorAccent">#ffffffff</item>
<item name="colorPrimary">@color/toolbar_blue_background</item>
<item name="android:colorAccent">?accent</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">?header_background</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">?header_text</item>
@@ -41,7 +41,7 @@
<item name="android:titleTextAppearance">@style/ToolbarTitle</item>
<item name="android:colorAccent">?accent</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">@color/toolbar_milk_background</item>
<item name="colorPrimary">?header_background</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">@color/toolbar_milk_textColorSecondary</item>
@@ -53,7 +53,7 @@
<item name="android:titleTextAppearance">@style/ToolbarTitle</item>
<item name="android:colorAccent">?accent</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">@color/toolbar_white_background</item>
<item name="colorPrimary">?header_background</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">?header_text</item>
+16 -4
View File
@@ -559,18 +559,30 @@
<item>Document</item>
</string-array>
<string-array name="animations">
<item>No Animation</item>
<item>Android Q</item>
<item>Fade</item>
<item>Slide</item>
<item>System</item>
<item>System task</item>
<item>AndroidX</item>
<item>Fade</item>
</string-array>
<string-array name="animations_values">
<item>noanim</item>
<item>q</item>
<item>fade</item>
<item>slide</item>
<item>system</item>
<item>system_task</item>
<item>frag_enter</item>
<item>frag_fade</item>
</string-array>
<string-array name="animations2">
<item>No Animation</item>
<item>System</item>
<item>System task</item>
</string-array>
<string-array name="animations_values2">
<item>noanim</item>
<item>system</item>
<item>system_task</item>
</string-array>
<string-array name="language">
<item>System</item>
+3
View File
@@ -4577,6 +4577,9 @@ May look like a fake leaving the online"</string>
<string name="dateformat">Select the date display type</string>
<string name="franimation">Fragment animation (beta)</string>
<string name="selectfranimation">Select fragment animation</string>
<item type="string" name="APKTOOL_DUMMY_10be" />
<item type="string" name="APKTOOL_DUMMY_10bf" />
<item type="string" name="APKTOOL_DUMMY_10c0" />
+13 -11
View File
@@ -30,7 +30,7 @@
<item name="android:selectableItemBackground">@drawable/highlight_toolbar</item>
<item name="android:actionBarItemBackground">@drawable/highlight_icon_white_unbounded</item>
<item name="colorAccent">?header_text</item>
<item name="colorPrimary">@color/toolbar_blue_background</item>
<item name="colorPrimary">?header_background</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">?header_text</item>
@@ -54,17 +54,17 @@
<item name="android:textColorPrimary">@color/toolbar_milk_textColorPrimary</item>
<item name="android:textColorSecondary">@color/toolbar_milk_textColorSecondary</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">@color/toolbar_milk_background</item>
<item name="colorPrimary">?header_background</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">@color/toolbar_milk_textColorSecondary</item>
</style>
<style name="ActionBarTheme.White" parent="@style/ThemeOverlay.AppCompat.ActionBar">
<item name="android:textColorPrimary">@color/toolbar_white_textColorPrimary</item>
<item name="android:textColorSecondary">?header_text</item>
<item name="android:textColorPrimary">?header_text</item>
<item name="android:textColorSecondary">?header_text_secondary</item>
<item name="colorAccent">?accent</item>
<item name="colorPrimary">@color/toolbar_white_background</item>
<item name="colorPrimary">?background_content</item>
<item name="layout_scrollFlags">enterAlways|scroll|snap</item>
<item name="titleTextAppearance">@style/ToolbarTitle</item>
<item name="toolbarIconsColor">?header_text</item>
@@ -78,15 +78,15 @@
<style name="ActionButton" parent="@style/Widget.AppCompat.Light.ActionButton" />
<style name="ActionButton.Blue" parent="@style/ActionButton">
<item name="android:tint">@color/music_action_button_blue</item>
<item name="android:tint">?header_text</item>
</style>
<style name="ActionButton.Gray" parent="@style/ActionButton">
<item name="android:tint">@color/music_action_button_gray</item>
<item name="android:tint">?header_text</item>
</style>
<style name="ActionButton.White" parent="@style/ActionButton">
<item name="android:tint">@color/music_action_button_white</item>
<item name="android:tint">?header_text</item>
</style>
<style name="ActionOverflowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
@@ -2667,8 +2667,9 @@
<style name="MusicSearch">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColorHint">@color/music_text_hint</item>
<item name="android:textColorHint">?header_text</item>
<item name="android:background">@drawable/bg_modern_search</item>
<item name="android:backgroundTint">?background_content</item>
<item name="android:maxLines">1</item>
</style>
@@ -4346,7 +4347,7 @@
</style>
<style name="VKUIButton.White.BigRadius" parent="@style/VKUIButton.White">
<item name="android:background">@drawable/vkui_bg_button_white_big_radius</item>
<item name="android:background">@drawable/vkui_bg_button_white</item>
</style>
<style name="VKUIButton.WhiteTransparent15" parent="@style/VKUIButton">
@@ -6339,7 +6340,7 @@
<style name="VkIm.Theme.Search.Bg.VkApp" parent="@style/VkIm.Theme.Search.Bg">
<item name="android:background">?background_content</item>
<item name="android:text">@string/vkim_msg_search_hint</item>
<item name="android:textColor">?text_secondary</item>
<item name="android:textColor">?header_text</item>
</style>
<style name="VkIm.Theme.Search.Bg.VkMe" parent="@style/VkIm.Theme.Search.Bg">
@@ -6349,6 +6350,7 @@
<style name="VkIm.Theme.Search.VkApp" parent="@style/VkIm.Theme.Search">
<item name="search_bg">@drawable/bg_modern_search</item>
<item name="android:tint">?background_content</item>
</style>
<style name="VkIm.Theme.Search.VkMe" parent="@style/VkIm.Theme.Search">
+1 -1
View File
@@ -2,7 +2,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/activity_undel">
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="default"
android:defaultValue="🗑"
android:dialogTitle="@string/activity_undel_dial"
android:entries="@array/undel_value"
android:entryValues="@array/undel_value"
+7
View File
@@ -10,6 +10,13 @@
android:key="devmenu"
android:title="@string/debug_show_settings_item" />
<PreferenceCategory android:title="@string/debug_experimental">
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="noanim"
android:dialogTitle="@string/selectfranimation"
android:entries="@array/animations"
android:entryValues="@array/animations_values"
android:key="anim_rtrn_type"
android:title="@string/franimation" />
<com.vtosters.lite.ui.MaterialSwitchPreference
android:defaultValue="true"
android:key="msgtails"
+7
View File
@@ -25,6 +25,13 @@
android:entryValues="@array/start_values"
android:key="start_values"
android:title="@string/interfacestartfr" />
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="noanim"
android:dialogTitle="@string/selectfranimation"
android:entries="@array/animations2"
android:entryValues="@array/animations_values2"
android:key="anim_rtrn_type"
android:title="@string/franimation" />
<com.vtosters.lite.ui.SummaryListPreference
android:defaultValue="default"
android:dialogTitle="@string/dateformat"
@@ -358,11 +358,7 @@
.method public static b(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
.locals 2
invoke-virtual {p0, p1}, Landroid/content/Context;->getColorStateList(I)Landroid/content/res/ColorStateList;
move-result-object p0
invoke-static {p0}, Lru/vtosters/lite/utils/Themes;->themeCSL(Landroid/content/res/ColorStateList;)Landroid/content/res/ColorStateList;
invoke-static {p0, p1}, Lru/vtosters/lite/utils/Themes;->themeCSL(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
move-result-object p0
@@ -70,11 +70,7 @@
.method public static a(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
.locals 2
invoke-virtual {p0, p1}, Landroid/content/Context;->getColorStateList(I)Landroid/content/res/ColorStateList;
move-result-object p0
invoke-static {p0}, Lru/vtosters/lite/utils/Themes;->themeCSL(Landroid/content/res/ColorStateList;)Landroid/content/res/ColorStateList;
invoke-static {p0, p1}, Lru/vtosters/lite/utils/Themes;->themeCSL(Landroid/content/Context;I)Landroid/content/res/ColorStateList;
move-result-object p0
@@ -196,6 +196,10 @@
.line 78
iget-object v0, p0, Lcom/vk/core/fragments/b/a/ParentSupportFragmentManager;->c:Landroid/support/v4/app/FragmentTransaction;
invoke-static {v0}, Lru/vtosters/lite/utils/FragAnimationKit;->animateOpen(Landroid/support/v4/app/FragmentTransaction;)V
return-void
if-eqz v0, :cond_0
invoke-virtual {v0, p1, p2}, Landroid/support/v4/app/FragmentTransaction;->a(II)Landroid/support/v4/app/FragmentTransaction;
@@ -542,6 +546,8 @@
move-result-object v0
invoke-static {v0}, Lru/vtosters/lite/utils/FragAnimationKit;->animateClose(Landroid/support/v4/app/FragmentTransaction;)V
iput-object v0, p0, Lcom/vk/core/fragments/b/a/ParentSupportFragmentManager;->c:Landroid/support/v4/app/FragmentTransaction;
return-void