0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-13 22:35:06 +00:00

experiments.avi

This commit is contained in:
X1nto 2020-05-05 23:28:53 +04:00
parent 71c3f13c78
commit 9d1534e10f
22 changed files with 97 additions and 121 deletions

View file

@ -70,15 +70,15 @@
<output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" /> <output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" />
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/out" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugUnitTest/out" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugUnitTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" /> <sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />

View file

@ -70,17 +70,17 @@
<output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" /> <output-test url="file://$MODULE_DIR$/build/intermediates/javac/debugUnitTest/classes" />
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kaptKotlin/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debug" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/out" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kaptKotlin/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugAndroidTest" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugAndroidTest" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debugAndroidTest/out" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugUnitTest" isTestSource="true" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/build/generated/source/kapt/debugUnitTest" isTestSource="true" generated="true" />
@ -135,10 +135,10 @@
<library name="Gradle: kaptGeneratedClasses"> <library name="Gradle: kaptGeneratedClasses">
<CLASSES> <CLASSES>
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debugAndroidTest" /> <root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debugAndroidTest" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debug" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debugUnitTest" /> <root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debugUnitTest" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/release" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/releaseUnitTest" /> <root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/releaseUnitTest" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/release" />
<root url="file://$MODULE_DIR$/build/tmp/kapt3/classes/debug" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View file

@ -1,15 +1,14 @@
package com.vanced.manager.ui package com.vanced.manager.ui
import android.content.SharedPreferences import android.content.SharedPreferences
import android.content.res.Configuration
import android.os.Bundle import android.os.Bundle
import android.view.MenuItem import android.view.MenuItem
import androidx.appcompat.widget.Toolbar
import androidx.navigation.NavDestination import androidx.navigation.NavDestination
import androidx.navigation.findNavController import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.setupWithNavController import androidx.navigation.ui.setupWithNavController
import androidx.preference.PreferenceManager //import com.google.android.material.appbar.MaterialToolbar
import com.google.android.material.appbar.MaterialToolbar
import com.vanced.manager.R import com.vanced.manager.R
import com.vanced.manager.core.Main import com.vanced.manager.core.Main
@ -17,15 +16,13 @@ import com.vanced.manager.core.Main
class MainActivity : Main() { class MainActivity : Main() {
private var isParent = true private var isParent = true
private lateinit var currentTheme: String
private lateinit var pref: SharedPreferences
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main) setContentView(R.layout.activity_main)
val toolbar: MaterialToolbar = findViewById(R.id.home_toolbar) val toolbar: Toolbar = findViewById(R.id.home_toolbar)
setSupportActionBar(toolbar) setSupportActionBar(toolbar)
val navHost = findNavController(R.id.bottom_nav_host) val navHost = findNavController(R.id.bottom_nav_host)
@ -73,7 +70,7 @@ class MainActivity : Main() {
} }
private fun setDisplayHomeAsUpEnabled(isNeeded: Boolean) { private fun setDisplayHomeAsUpEnabled(isNeeded: Boolean) {
val toolbar: MaterialToolbar = findViewById(R.id.home_toolbar) val toolbar: Toolbar = findViewById(R.id.home_toolbar)
when { when {
isNeeded -> toolbar.setNavigationIcon(R.drawable.ic_keyboard_backspace_black_24dp) isNeeded -> toolbar.setNavigationIcon(R.drawable.ic_keyboard_backspace_black_24dp)
else -> toolbar.navigationIcon = null else -> toolbar.navigationIcon = null

View file

@ -12,20 +12,11 @@
android:name="androidx.navigation.fragment.NavHostFragment" android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/home_appbar" android:layout_below="@id/home_toolbar"
app:defaultNavHost="true" app:defaultNavHost="true"
app:navGraph="@navigation/mobile_navigation"/> app:navGraph="@navigation/mobile_navigation"/>
<!--android:layout_above="@id/bottom_nav"-->
<com.google.android.material.appbar.AppBarLayout <androidx.appcompat.widget.Toolbar
android:id="@+id/home_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="1dp"
android:background="?colorSurface"
android:layout_alignParentTop="true">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/home_toolbar" android:id="@+id/home_toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
@ -35,17 +26,5 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
android:background="@android:color/transparent"/> android:background="@android:color/transparent"/>
</com.google.android.material.appbar.AppBarLayout>
<!--
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorSurface"
android:layout_alignParentBottom="true"
app:labelVisibilityMode="unlabeled"
app:menu="@menu/bottom_nav_menu" />
-->
</RelativeLayout> </RelativeLayout>

View file

@ -3,7 +3,8 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:paddingBottom="12dp"
android:fillViewport="true" android:fillViewport="true"
android:scrollbars="none"> android:scrollbars="none">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -47,18 +47,18 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"> app:layout_constraintEnd_toEndOf="parent">
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/update_center_dismiss" android:id="@+id/update_center_dismiss"
style="@style/Widget.MaterialComponents.Button.OutlinedButton" style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
android:text="@string/close" android:text="@string/close"
android:textAllCaps="false"/> android:textAllCaps="false"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/update_center_recheck" android:id="@+id/update_center_recheck"
style="@style/Widget.MaterialComponents.Button.UnelevatedButton" style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="4dp" android:layout_marginStart="4dp"
@ -69,4 +69,4 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -62,7 +62,7 @@
</FrameLayout> </FrameLayout>
<com.google.android.material.button.MaterialButton <Button
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:id="@+id/vanced_install_finish" android:id="@+id/vanced_install_finish"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -41,7 +41,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
android:checkedButton="@id/button_light_dark"> android:checkedButton="@id/button_light_dark">
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/button_light_dark" android:id="@+id/button_light_dark"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -49,7 +49,7 @@
android:text="@string/install_light_dark" android:text="@string/install_light_dark"
android:fontFamily="@font/exo_semibold"/> android:fontFamily="@font/exo_semibold"/>
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/button_light_black" android:id="@+id/button_light_black"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -59,7 +59,7 @@
</RadioGroup> </RadioGroup>
<com.google.android.material.button.MaterialButton <Button
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:id="@+id/vanced_next_to_variant" android:id="@+id/vanced_next_to_variant"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -41,7 +41,7 @@
app:layout_constraintTop_toBottomOf="@id/install_theme_title" app:layout_constraintTop_toBottomOf="@id/install_theme_title"
app:layout_constraintStart_toStartOf="parent"> app:layout_constraintStart_toStartOf="parent">
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/button_nonroot" android:id="@+id/button_nonroot"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -49,7 +49,7 @@
android:text="@string/install_nonroot" android:text="@string/install_nonroot"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/button_root" android:id="@+id/button_root"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -59,7 +59,7 @@
</RadioGroup> </RadioGroup>
<com.google.android.material.button.MaterialButton <Button
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:id="@+id/vanced_next_to_language" android:id="@+id/vanced_next_to_language"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -64,7 +64,6 @@
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -35,4 +35,4 @@
</LinearLayout> </LinearLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -28,7 +28,7 @@
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent" /> app:layout_constraintStart_toStartOf="parent" />
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
android:id="@+id/about_github_container" android:id="@+id/about_github_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -49,7 +49,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/about_github_button" android:id="@+id/about_github_button"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_gravity="start" android:layout_gravity="start"
@ -66,7 +66,7 @@
app:iconGravity="textStart" app:iconGravity="textStart"
app:iconPadding="0dp"/> app:iconPadding="0dp"/>
<com.google.android.material.button.MaterialButton <Button
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
android:id="@+id/about_license_button" android:id="@+id/about_license_button"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
@ -87,8 +87,8 @@
</LinearLayout> </LinearLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -67,4 +67,4 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -56,5 +56,5 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -17,7 +17,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:checkedButton="@id/English"> android:checkedButton="@id/English">
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/English" android:id="@+id/English"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -25,7 +25,7 @@
android:text="English (default)" android:text="English (default)"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Bahasa_Indonesia" android:id="@+id/Bahasa_Indonesia"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -33,7 +33,7 @@
android:text="Bahasa Indonesia" android:text="Bahasa Indonesia"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Catalian" android:id="@+id/Catalian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -41,7 +41,7 @@
android:text="Català" android:text="Català"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Deutsch" android:id="@+id/Deutsch"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -49,7 +49,7 @@
android:text="Deutsch" android:text="Deutsch"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Spanish" android:id="@+id/Spanish"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -57,7 +57,7 @@
android:text="Espanól" android:text="Espanól"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/French" android:id="@+id/French"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -65,7 +65,7 @@
android:text="Français" android:text="Français"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Hrvatski" android:id="@+id/Hrvatski"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -73,7 +73,7 @@
android:text="Hrvatski" android:text="Hrvatski"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Italian" android:id="@+id/Italian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -81,7 +81,7 @@
android:text="Italiano" android:text="Italiano"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Magyar" android:id="@+id/Magyar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -89,7 +89,7 @@
android:text="Magyar" android:text="Magyar"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Nederlands" android:id="@+id/Nederlands"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -97,7 +97,7 @@
android:text="Nederlands" android:text="Nederlands"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Polish" android:id="@+id/Polish"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -105,7 +105,7 @@
android:text="Polski" android:text="Polski"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Portugees" android:id="@+id/Portugees"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -113,7 +113,7 @@
android:text="Português (Brasil)" android:text="Português (Brasil)"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Romanian" android:id="@+id/Romanian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -121,7 +121,7 @@
android:text="Română" android:text="Română"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Suomi" android:id="@+id/Suomi"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -129,7 +129,7 @@
android:text="Suomi" android:text="Suomi"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Svenska" android:id="@+id/Svenska"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -137,7 +137,7 @@
android:text="Svenska" android:text="Svenska"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Tieng" android:id="@+id/Tieng"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -145,7 +145,7 @@
android:text="Tiếng Việt" android:text="Tiếng Việt"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Turkish" android:id="@+id/Turkish"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -153,7 +153,7 @@
android:text="Türkçe" android:text="Türkçe"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Armenian" android:id="@+id/Armenian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -161,7 +161,7 @@
android:text="Ελληνικά" android:text="Ελληνικά"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Bulgarian" android:id="@+id/Bulgarian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -169,7 +169,7 @@
android:text="Български (България)" android:text="Български (България)"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Russian" android:id="@+id/Russian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -177,7 +177,7 @@
android:text="Русский" android:text="Русский"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Ukrainian" android:id="@+id/Ukrainian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -185,7 +185,7 @@
android:text="Українська" android:text="Українська"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Arabic" android:id="@+id/Arabic"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -193,7 +193,7 @@
android:text="العربية" android:text="العربية"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Georgian" android:id="@+id/Georgian"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -201,7 +201,7 @@
android:text="ქართული" android:text="ქართული"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Japanese" android:id="@+id/Japanese"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -209,7 +209,7 @@
android:text="日本語" android:text="日本語"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Chinese" android:id="@+id/Chinese"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -217,7 +217,7 @@
android:text="繁體中文" android:text="繁體中文"
android:textSize="18sp" /> android:textSize="18sp" />
<com.google.android.material.radiobutton.MaterialRadioButton <RadioButton
android:id="@+id/Korean" android:id="@+id/Korean"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -31,7 +31,7 @@
android:drawableStart="@drawable/ic_microg" android:drawableStart="@drawable/ic_microg"
android:drawablePadding="8dp"/> android:drawablePadding="8dp"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/microg_installbtn" android:id="@+id/microg_installbtn"
style="@style/Widget.AppCompat.Button.Borderless.Colored" style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -138,4 +138,4 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -17,7 +17,7 @@
<TextView <TextView
android:id="@+id/network_errortxt" android:id="@+id/network_errortxt"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
android:text="@string/network_error" android:text="@string/network_error"
@ -31,4 +31,4 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -66,5 +66,5 @@
</LinearLayout> </LinearLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -42,7 +42,7 @@
app:layout_constraintBottom_toTopOf="@id/vanced_title_buttons_barrier" app:layout_constraintBottom_toTopOf="@id/vanced_title_buttons_barrier"
android:layout_marginStart="8dp"/> android:layout_marginStart="8dp"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/vanced_installbtn" android:id="@+id/vanced_installbtn"
style="@style/Widget.AppCompat.Button.Borderless.Colored" style="@style/Widget.AppCompat.Button.Borderless.Colored"
app:backgroundTint="?colorPrimary" app:backgroundTint="?colorPrimary"
@ -135,5 +135,5 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView <androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/social_media_card" android:id="@+id/social_media_card"
@ -22,11 +22,11 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/eightdp" android:layout_marginStart="@dimen/eightdp"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:layout_marginEnd="8dp"
android:fontFamily="@font/exo_semibold" android:fontFamily="@font/exo_semibold"
android:text="@string/vanced_medias" android:text="@string/vanced_medias"
android:textColor="#ffffff" android:textColor="#ffffff"
android:textSize="18sp" android:textSize="18sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<LinearLayout <LinearLayout
@ -43,7 +43,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/discordbtn" android:id="@+id/discordbtn"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -58,7 +58,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/> app:layout_constraintTop_toTopOf="parent"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/tgbtn" android:id="@+id/tgbtn"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -74,7 +74,7 @@
app:layout_constraintStart_toEndOf="@id/discordbtn"/> app:layout_constraintStart_toEndOf="@id/discordbtn"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/twitterbtn" android:id="@+id/twitterbtn"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -89,7 +89,7 @@
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toEndOf="@id/tgbtn"/> app:layout_constraintStart_toEndOf="@id/tgbtn"/>
<com.google.android.material.button.MaterialButton <Button
android:id="@+id/redditbtn" android:id="@+id/redditbtn"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -110,4 +110,4 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView> </androidx.cardview.widget.CardView>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="DarkTheme.Blue" parent="Theme.MaterialComponents.NoActionBar"> <style name="DarkTheme.Blue" parent="Theme.AppCompat.NoActionBar">
<item name="colorPrimary">#1490D7</item> <item name="colorPrimary">#1490D7</item>
<item name="colorPrimaryVariant">#804EAFF5</item> <item name="colorPrimaryVariant">#804EAFF5</item>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="LightTheme.Blue" parent="Theme.MaterialComponents.Light.NoActionBar"> <style name="LightTheme.Blue" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">#1490D7</item> <item name="colorPrimary">#1490D7</item>
<item name="colorPrimaryVariant">#2C7EB9</item> <item name="colorPrimaryVariant">#2C7EB9</item>