0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-25 12:45:12 +00:00

Merge pull request #3 from X1nto/master

this should be fixed now
This commit is contained in:
Paulis Gributs 2020-03-17 17:39:55 +00:00 committed by GitHub
commit 35cd314732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 138 additions and 65 deletions

3
.idea/.gitignore vendored
View file

@ -1,3 +0,0 @@
# Default ignored files
/workspace.xml

View file

@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

20
.idea/gradle.xml Normal file
View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>

9
.idea/misc.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>

View file

@ -13,13 +13,13 @@ class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val navView: BottomNavigationView = findViewById(R.id.nav_view)
val navView: BottomNavigationView = findViewById(R.id.navigation_home)
val navController = findNavController(R.id.nav_host_fragment)
val navController = findNavController(R.id.mobile_navigation)
// Passing each menu ID as a set of Ids because each
// menu should be considered as top level destinations.
val appBarConfiguration = AppBarConfiguration(setOf(
R.id.navigation_home, R.id.navigation_dashboard, R.id.navigation_notifications))
R.id.navigation_home))
setupActionBarWithNavController(navController, appBarConfiguration)
navView.setupWithNavController(navController)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

0
app/src/main/res/drawable/brave_panel_bg.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_cloud_download.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_dashboard_black_24dp.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_discord.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_github.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_home_black_24dp.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_launcher_background.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_launcher_foreground.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_microg.xml Normal file → Executable file
View file

View file

0
app/src/main/res/drawable/ic_reddit.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_settings.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_telegram.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_vanced1.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_vanced2.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/ic_vanced3.xml Normal file → Executable file
View file

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM19,18L6,18c-2.21,0 -4,-1.79 -4,-4 0,-2.05 1.53,-3.76 3.56,-3.97l1.07,-0.11 0.5,-0.95C8.08,7.14 9.94,6 12,6c2.62,0 4.88,1.86 5.39,4.43l0.3,1.5 1.53,0.11c1.56,0.1 2.78,1.41 2.78,2.96 0,1.65 -1.35,3 -3,3zM10,14.18l-2.09,-2.09L6.5,13.5 10,17l6.01,-6.01 -1.41,-1.41z"/>
</vector>

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM19,18L6,18c-2.21,0 -4,-1.79 -4,-4 0,-2.05 1.53,-3.76 3.56,-3.97l1.07,-0.11 0.5,-0.95C8.08,7.14 9.94,6 12,6c2.62,0 4.88,1.86 5.39,4.43l0.3,1.5 1.53,0.11c1.56,0.1 2.78,1.41 2.78,2.96 0,1.65 -1.35,3 -3,3zM13.45,10h-2.9v3L8,13l4,4 4,-4h-2.55z"/>
</vector>

0
app/src/main/res/drawable/rectangle_1.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_2.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_3.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_4.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_5.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_6.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_7.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_8.xml Normal file → Executable file
View file

0
app/src/main/res/drawable/rectangle_9.xml Normal file → Executable file
View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

0
app/src/main/res/drawable/site_panel_bg.xml Normal file → Executable file
View file

View file

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 468 B

View file

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View file

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

View file

Before

Width:  |  Height:  |  Size: 756 B

After

Width:  |  Height:  |  Size: 756 B

View file

Before

Width:  |  Height:  |  Size: 534 B

After

Width:  |  Height:  |  Size: 534 B

View file

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

View file

@ -49,24 +49,26 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_3"
tools:layout_editor_absoluteX="13dp"
tools:layout_editor_absoluteY="76dp" />
tools:layout_editor_absoluteX="14dp"
tools:layout_editor_absoluteY="67dp" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_3"
tools:layout_editor_absoluteX="14dp"
tools:layout_editor_absoluteY="212dp" />
android:layout_marginStart="14dp"
android:layout_marginTop="16dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2"
app:srcCompat="@drawable/rectangle_3" />
<ImageView
android:id="@+id/imageView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="384dp"
android:layout_height="454dp"
app:srcCompat="@drawable/rectangle_4"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="364dp" />
tools:layout_editor_absoluteX="12dp"
tools:layout_editor_absoluteY="306dp" />
<ImageView
android:id="@+id/imageView5"
@ -74,69 +76,92 @@
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_6"
tools:layout_editor_absoluteX="31dp"
tools:layout_editor_absoluteY="366dp" />
tools:layout_editor_absoluteY="379dp" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="10dp"
android:fontFamily="@font/exo_semibold"
android:text="@string/vanced_medias"
android:textColor="#FFFFFF"
android:textSize="18sp"
tools:layout_editor_absoluteX="39dp"
tools:layout_editor_absoluteY="376dp" />
<ImageView
android:id="@+id/imageView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="@+id/imageView5"
app:layout_constraintEnd_toEndOf="@+id/imageView5"
app:layout_constraintHorizontal_bias="0.133"
app:layout_constraintStart_toStartOf="@+id/imageView5"
app:layout_constraintTop_toBottomOf="@+id/textView2"
app:layout_constraintVertical_bias="0.195"
app:srcCompat="@drawable/Vectordiscord" />
app:layout_constraintTop_toTopOf="@+id/imageView5" />
<ImageView
android:id="@+id/imageView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_7"
tools:layout_editor_absoluteX="31dp"
tools:layout_editor_absoluteY="603dp" />
<ImageView
android:id="@+id/imageView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_5"
tools:layout_editor_absoluteX="31dp"
tools:layout_editor_absoluteY="486dp" />
android:layout_marginStart="31dp"
android:layout_marginBottom="45dp"
app:layout_constraintBottom_toBottomOf="@+id/imageView4"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@drawable/rectangle_7" />
<Button
android:id="@+id/button"
android:layout_width="172dp"
android:layout_height="96dp"
android:background="@drawable/rectangle_5"
android:fontFamily="@font/exo_semibold"
android:text="@string/support_us_"
android:textAllCaps="false"
android:textColor="@android:color/white"
tools:layout_editor_absoluteX="31dp"
tools:layout_editor_absoluteY="498dp" />
<Button
android:id="@+id/button2"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="176dp"
android:layout_height="108dp"
android:layout_width="171dp"
android:layout_height="92dp"
android:background="@drawable/rectangle_8"
android:fontFamily="@font/exo_semibold"
android:text="@string/website_text"
android:textAllCaps="false"
android:textColor="#FFFFFF"
tools:layout_editor_absoluteX="203dp"
tools:layout_editor_absoluteY="487dp" />
tools:layout_editor_absoluteX="208dp"
tools:layout_editor_absoluteY="501dp" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="11dp"
android:layout_marginTop="4dp"
android:fontFamily="@font/exo_bold"
android:text="@string/website"
android:textColor="#FFFFFF"
tools:layout_editor_absoluteX="214dp"
tools:layout_editor_absoluteY="491dp" />
app:layout_constraintStart_toStartOf="@+id/button"
app:layout_constraintTop_toTopOf="@+id/button" />
<Button
android:id="@+id/button3"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_marginEnd="9dp"
android:fontFamily="@font/exo_semibold"
android:text="@string/install"
android:textAppearance="@style/install"
app:layout_constraintBottom_toBottomOf="@+id/imageView2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.983"
app:layout_constraintStart_toEndOf="@+id/imageView6"
app:layout_constraintTop_toBottomOf="@+id/imageView"
app:layout_constraintVertical_bias="0.013" />
<ImageView
android:id="@+id/imageView9"
android:layout_width="36dp"
android:layout_height="29dp"
app:srcCompat="@drawable/outline_cloud_download_black_18"
tools:layout_editor_absoluteX="295dp"
tools:layout_editor_absoluteY="80dp" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -6,9 +6,4 @@
android:icon="@drawable/ic_home_black_24dp"
android:title="@string/home" />
<item
android:id="@+id/navigation_notifications"
android:icon="@drawable/ic_notifications_black_24dp"
android:title="@string/settings" />
</menu>

View file

@ -11,15 +11,4 @@
android:label="@string/title_home"
tools:layout="@layout/fragment_home" />
<fragment
android:id="@+id/navigation_dashboard"
android:name="com.vanced.manager.ui.dashboard.DashboardFragment"
android:label="@string/title_dashboard"
tools:layout="@layout/fragment_dashboard" />
<fragment
android:id="@+id/navigation_notifications"
android:name="com.vanced.manager.ui.notifications.NotificationsFragment"
android:label="@string/title_notifications"
tools:layout="@layout/fragment_notifications" />
</navigation>

View file

@ -1,11 +1,12 @@
<resources>
<string name="app_name">Vanced Manager</string>
<string name="title_home">Home</string>
<string name="home">Home</string>
<string name="vanced">Vanced</string>
<string name="install">Install</string>
<string name="latest_inst">Latest\nInstalled</string>
<string name="n_a">15.05.54\nN/A</string>
<string name="n_a">N/A</string>
<string name="microg">MicroG</string>
<string name="n_a">0.2.6\nN/A</string>
<string name="settings">Settings</string>
<string name="github_link">GitHub links</string>
<string name="vanced_medias">Vanced on Social Medias</string>
@ -21,4 +22,4 @@
<string name="github_manager">Manager</string>
<string name="github_bot">Bot</string>
<string name="github_website">Website</string>
</resources>
</resources>