mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-05-26 06:20:20 -04:00
优化
This commit is contained in:
parent
7ecf0dacd7
commit
7e40852426
@ -15,7 +15,7 @@
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@drawable/touchicon144"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Material3.Dark.NoActionBar"
|
||||
android:theme="@style/jellyfin"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
@ -120,7 +120,7 @@ public class MainActivity extends BaseActivity {
|
||||
layoutManager.setOrientation(layoutManager.HORIZONTAL);
|
||||
tvRecyclerView.setLayoutManager(layoutManager);
|
||||
int spm = Utils.getPixelsFromDp(mActivity, tvContiner.getResources().getDimensionPixelSize(R.dimen.vh_space_width));
|
||||
tvRecyclerView.setSpacingWithMargins(0, spm);
|
||||
tvRecyclerView.setSpacingWithMargins(0, 12);
|
||||
|
||||
JAdapter jAdapter = new JAdapter(data, horizon);
|
||||
jAdapter.setOnItemClickListener(new JAdapter.OnItemClickListener() {
|
||||
|
7
app/src/main/res/values/theme.xml
Normal file
7
app/src/main/res/values/theme.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="jellyfin" parent="Theme.Material3.Dark.NoActionBar">
|
||||
<item name="android:background">@null</item>
|
||||
<item name="android:windowBackground">@drawable/app_bg</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user