直播关闭
This commit is contained in:
7
common/src/main/res/anim/vice_banner_come_in.xml
Normal file
7
common/src/main/res/anim/vice_banner_come_in.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<alpha
|
||||
android:duration="700"
|
||||
android:fromXDelta="100%p"
|
||||
android:toXDelta="0%p" />
|
||||
</set>
|
||||
8
common/src/main/res/anim/vice_screen_come_out.xml
Normal file
8
common/src/main/res/anim/vice_screen_come_out.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<alpha
|
||||
android:duration="1500"
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0" />
|
||||
</set>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="20dp" />
|
||||
<gradient android:angle="360" android:endColor="#f249A6FC" android:startColor="#f2D480FF" />
|
||||
</shape>
|
||||
|
||||
</item>
|
||||
</selector>
|
||||
5
common/src/main/res/drawable/bg_white_clip.xml
Normal file
5
common/src/main/res/drawable/bg_white_clip.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="60dp" />
|
||||
<solid android:color="@color/white" />
|
||||
</shape>
|
||||
36
common/src/main/res/layout/view_home_float_banner.xml
Normal file
36
common/src/main/res/layout/view_home_float_banner.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="123dp"
|
||||
android:layout_height="35.33dp"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="123dp"
|
||||
android:layout_height="35.33dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/background_new_home_folat_banner"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="7dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingEnd="7dp"
|
||||
android:paddingBottom="5dp" />
|
||||
|
||||
<ViewFlipper
|
||||
android:id="@+id/banner"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="25dp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:text="@string/wonderful_live"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="9sp" />
|
||||
</RelativeLayout>
|
||||
34
common/src/main/res/layout/view_home_float_banner_item.xml
Normal file
34
common/src/main/res/layout/view_home_float_banner_item.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/root_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/banner_layout2"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:background="@drawable/bg_white_clip">
|
||||
|
||||
<com.yunbao.common.views.weight.ClipPathCircleImage
|
||||
android:id="@+id/clip_image"
|
||||
android:layout_width="23.5dp"
|
||||
android:layout_height="23.5dp"
|
||||
android:layout_gravity="center" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- <FrameLayout-->
|
||||
<!-- android:id="@+id/banner_layout"-->
|
||||
<!-- android:layout_width="30dp"-->
|
||||
<!-- android:layout_height="30dp"-->
|
||||
|
||||
<!-- android:background="@drawable/bg_white_clip">-->
|
||||
|
||||
<!-- <com.yunbao.common.views.weight.ClipPathCircleImage-->
|
||||
<!-- android:id="@+id/banner_layout_image"-->
|
||||
<!-- android:layout_width="29dp"-->
|
||||
<!-- android:layout_height="29dp"-->
|
||||
<!-- android:layout_gravity="center" />-->
|
||||
<!-- </FrameLayout>-->
|
||||
</FrameLayout>
|
||||
@@ -870,4 +870,5 @@
|
||||
<string name="you_may_also_like">猜你喜歡</string>
|
||||
<string name="anchor">主播</string>
|
||||
<string name="anchor_more">更多</string>
|
||||
<string name="wonderful_live">精彩直播</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user