mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-06-03 00:58:06 -04:00
优化
This commit is contained in:
parent
7ecf0dacd7
commit
7e40852426
@ -15,7 +15,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@drawable/touchicon144"
|
android:roundIcon="@drawable/touchicon144"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.Material3.Dark.NoActionBar"
|
android:theme="@style/jellyfin"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
@ -120,7 +120,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
layoutManager.setOrientation(layoutManager.HORIZONTAL);
|
layoutManager.setOrientation(layoutManager.HORIZONTAL);
|
||||||
tvRecyclerView.setLayoutManager(layoutManager);
|
tvRecyclerView.setLayoutManager(layoutManager);
|
||||||
int spm = Utils.getPixelsFromDp(mActivity, tvContiner.getResources().getDimensionPixelSize(R.dimen.vh_space_width));
|
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 jAdapter = new JAdapter(data, horizon);
|
||||||
jAdapter.setOnItemClickListener(new JAdapter.OnItemClickListener() {
|
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…
x
Reference in New Issue
Block a user