Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from X1nto/master
Browse files Browse the repository at this point in the history
this should be fixed now
  • Loading branch information
KevinX8 committed Mar 17, 2020
2 parents 27295c7 + 2b03103 commit 35cd314
Show file tree
Hide file tree
Showing 88 changed files with 137 additions and 64 deletions.
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/src/main/java/com/vanced/manager/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified app/src/main/res/drawable/brave_panel_bg.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_cloud_download.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_dashboard_black_24dp.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_discord.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_github.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_home_black_24dp.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_launcher_background.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_launcher_foreground.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_microg.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_notifications_black_24dp.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_reddit.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_settings.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_telegram.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_vanced1.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_vanced2.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/ic_vanced3.xml
100644 → 100755
Empty file.
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/outline_cloud_done_24.xml
Original file line number Diff line number Diff line change
@@ -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>
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/outline_cloud_download_24.xml
Original file line number Diff line number Diff line change
@@ -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>
Empty file modified app/src/main/res/drawable/rectangle_1.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_2.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_3.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_4.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_5.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_6.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_7.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_8.xml
100644 → 100755
Empty file.
Empty file modified app/src/main/res/drawable/rectangle_9.xml
100644 → 100755
Empty file.
Binary file added app/src/main/res/drawable/rectangle_9_logo.png
Empty file modified app/src/main/res/drawable/site_panel_bg.xml
100644 → 100755
Empty file.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
103 changes: 64 additions & 39 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,94 +49,119 @@
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"
android:layout_width="wrap_content"
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" />
android:layout_marginStart="31dp"
android:layout_marginBottom="45dp"
app:layout_constraintBottom_toBottomOf="@+id/imageView4"
app:layout_constraintStart_toStartOf="parent"
app:srcCompat="@drawable/rectangle_7" />

<ImageView
android:id="@+id/imageView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/rectangle_5"
<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="486dp" />
tools:layout_editor_absoluteY="498dp" />

<Button
android:id="@+id/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>
5 changes: 0 additions & 5 deletions app/src/main/res/menu/bottom_nav_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
11 changes: 0 additions & 11 deletions app/src/main/res/navigation/mobile_navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
7 changes: 4 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -21,4 +22,4 @@
<string name="github_manager">Manager</string>
<string name="github_bot">Bot</string>
<string name="github_website">Website</string>
</resources>
</resources>

0 comments on commit 35cd314

Please sign in to comment.