generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(youtube/settings): fix non functional back button in settings (#2178
- Loading branch information
1 parent
95bbf46
commit 46da834
Showing
10 changed files
with
85 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-200 Bytes
...in/resources/settings/drawable-ldrtl-xxxhdpi/quantum_ic_arrow_back_white_24.png
Binary file not shown.
Binary file removed
BIN
-194 Bytes
src/main/resources/settings/drawable-xxxhdpi/quantum_ic_arrow_back_white_24.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
src/main/resources/settings/layout/revanced_settings_toolbar.xml
This file was deleted.
Oops, something went wrong.
33 changes: 31 additions & 2 deletions
33
src/main/resources/settings/layout/revanced_settings_with_toolbar.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<merge> | ||
<include layout="@layout/revanced_settings_with_toolbar_layout"/> | ||
<merge xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fitsSystemWindows="true" | ||
android:orientation="vertical" | ||
android:transitionGroup="true"> | ||
|
||
<FrameLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@color/yt_white1" | ||
android:elevation="4dp"> | ||
|
||
<android.support.v7.widget.Toolbar | ||
android:id="@+id/revanced_toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="?attr/actionBarSize" | ||
android:background="?attr/ytBrandBackgroundSolid" | ||
app:navigationIcon="@drawable/yt_outline_arrow_left_black_24" | ||
app:title="@string/revanced_settings" /> | ||
</FrameLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/revanced_settings_fragments" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
|
||
</LinearLayout> | ||
</merge> |
5 changes: 0 additions & 5 deletions
5
src/main/resources/settings/layout/revanced_settings_with_toolbar_layout.xml
This file was deleted.
Oops, something went wrong.