mirror of
https://github.com/sifacaii/VlcJellyfin
synced 2025-05-26 06:20:20 -04:00
优化
This commit is contained in:
parent
5f4e9ddbda
commit
7ecf0dacd7
5
.idea/misc.xml
generated
5
.idea/misc.xml
generated
@ -3,10 +3,15 @@
|
||||
<component name="DesignSurface">
|
||||
<option name="filePathToZoomLevelMap">
|
||||
<map>
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/drawable/shape_user_focus.xml" value="0.1625" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/drawable/shape_user_focus_VH.xml" value="0.1625" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/drawable/shape_user_focus_vholder.xml" value="0.1625" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/activity_collection.xml" value="0.14895833333333333" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/activity_detail.xml" value="0.14895833333333333" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/activity_main.xml" value="0.2957427536231884" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/activity_vlc_player.xml" value="0.14895833333333333" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/item_h.xml" value="0.14895833333333333" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/item_v.xml" value="0.14895833333333333" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/loading.xml" value="0.2957427536231884" />
|
||||
<entry key="..\:/work/VlcJellyfin/app/src/main/res/layout/loading_alert.xml" value="0.14895833333333333" />
|
||||
</map>
|
||||
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -10,7 +10,7 @@
|
||||
<item android:state_focused="false">
|
||||
<shape>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/color_6C3D3D3D"/>
|
||||
<solid android:color="#00000000"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
16
app/src/main/res/drawable/shape_user_focus_vholder.xml
Normal file
16
app/src/main/res/drawable/shape_user_focus_vholder.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true">
|
||||
<shape>
|
||||
<corners android:radius="1dp" />
|
||||
<stroke android:width="2dp" android:color="@color/color_FFFFFF" />
|
||||
<solid android:color="@color/color_6C3D3D3D" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_focused="false">
|
||||
<shape>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/color_6C3D3D3D"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
@ -45,7 +45,7 @@
|
||||
android:id="@+id/tvGenres"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="28dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="风格:"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="20dp" />
|
||||
@ -85,27 +85,27 @@
|
||||
<TextView
|
||||
android:id="@+id/tvOverview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"
|
||||
android:layout_height="110dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="8"
|
||||
android:maxLines="4"
|
||||
android:text="简介:"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tvPlay"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="60dp"
|
||||
android:padding="20dp"
|
||||
android:layout_marginTop="120dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:focusable="true"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_outline_play_arrow_48"
|
||||
android:background="@drawable/shape_user_focus"
|
||||
android:background="@drawable/shape_user_focus_vholder"
|
||||
android:visibility="gone"/>
|
||||
|
||||
|
||||
<org.sifacai.vlcjellyfin.JRecyclerView
|
||||
android:id="@+id/mGridView"
|
||||
android:layout_width="match_parent"
|
||||
@ -115,11 +115,12 @@
|
||||
android:padding="@dimen/padding_border"
|
||||
android:layout_marginTop="20dp"
|
||||
android:visibility="gone"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
app:tv_horizontalSpacingWithMargins="@dimen/vh_space_width"
|
||||
app:tv_selectedItemIsCentered="true"
|
||||
app:tv_verticalSpacingWithMargins="@dimen/vh_space_width" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_user_focus"
|
||||
android:background="@drawable/shape_user_focus_vholder"
|
||||
android:focusable="true"
|
||||
android:padding="@dimen/vh_padding_border">
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_user_focus"
|
||||
android:background="@drawable/shape_user_focus_vholder"
|
||||
android:focusable="true"
|
||||
android:padding="@dimen/vh_padding_border">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user