mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-19 13:08:59 -04:00
App Details : Fix screenshot theme issue being always light
This commit is contained in:
@@ -35,6 +35,7 @@ import com.aurora.store.R;
|
||||
import com.aurora.store.adapter.BigScreenshotsAdapter;
|
||||
import com.aurora.store.fragment.DetailsFragment;
|
||||
import com.aurora.store.utility.Log;
|
||||
import com.aurora.store.utility.ThemeUtil;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
@@ -46,9 +47,13 @@ public class FullscreenImageActivity extends AppCompatActivity {
|
||||
@BindView(R.id.gallery)
|
||||
RecyclerView recyclerView;
|
||||
|
||||
|
||||
private ThemeUtil themeUtil = new ThemeUtil();
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
themeUtil.onCreate(this);
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
getWindow().setFlags(
|
||||
WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||
@@ -59,6 +64,12 @@ public class FullscreenImageActivity extends AppCompatActivity {
|
||||
onNewIntent(getIntent());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
themeUtil.onResume(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Aurora Store
|
||||
~ Copyright (C) 2019, Rahul Kumar Patel <whyorean@gmail.com>
|
||||
~
|
||||
@@ -20,6 +19,8 @@
|
||||
-->
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/gallery"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="match_parent"
|
||||
tools:listitem="@layout/item_screenshots_big" />
|
||||
Reference in New Issue
Block a user