diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-05 16:06:49 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-05 16:06:49 +0000 |
commit | b031047d122bd665f20741effa28d350a247cf0a (patch) | |
tree | 6597f7aa3d2201dc24fc204f4857c537b7e6b0fc /app/src/main/res | |
parent | bd0068eb6c3bd14b86dc44788291c7cf9471af1b (diff) | |
download | infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar.gz infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar.bz2 infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar.lz infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar.xz infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.tar.zst infinity-for-reddit-b031047d122bd665f20741effa28d350a247cf0a.zip |
Minor UI tweaks in RPANActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_rpanactivity.xml | 17 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 4 |
2 files changed, 4 insertions, 17 deletions
diff --git a/app/src/main/res/layout/activity_rpanactivity.xml b/app/src/main/res/layout/activity_rpanactivity.xml index 8d1c85fb..570fddb2 100644 --- a/app/src/main/res/layout/activity_rpanactivity.xml +++ b/app/src/main/res/layout/activity_rpanactivity.xml @@ -8,23 +8,6 @@ android:id="@+id/coordinator_layout_rpan_activity" tools:context=".activities.RPANActivity"> - <com.google.android.material.appbar.AppBarLayout - android:id="@+id/appbar_layout_rpan_activity" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:theme="@style/AppTheme.AppBarOverlay"> - - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar_rpan_activity" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@android:color/transparent" - android:minHeight="?attr/actionBarSize" - app:popupTheme="@style/AppTheme.PopupOverlay" - app:navigationIcon="?attr/homeAsUpIndicator" /> - - </com.google.android.material.appbar.AppBarLayout> - <androidx.viewpager2.widget.ViewPager2 android:id="@+id/view_pager_2_rpan_activity" android:layout_width="match_parent" diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 7790eee5..350b0f29 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -48,6 +48,10 @@ <item name="android:fontFamily">?attr/font_family</item> </style> + <style name="AppTheme.TranslucentStatusBar" parent="AppTheme"> + <item name="android:windowTranslucentStatus">true</item> + </style> + <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar"> <item name="android:fontFamily">?attr/font_family</item> </style> |