Commit 222378a3 authored by wanglei's avatar wanglei

[迭代]

parent 6b5d46a8
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="40dp"
android:width="327dp"
android:viewportWidth="327"
android:viewportHeight="44">
<group
android:name="button"
android:pivotX="163.5"
android:pivotY="20">
<path
android:fillColor="@color/colorPrimary"
android:pathData="M24,0L303,0A24,22 0,0 1,327 22L327,22A24,22 0,0 1,303 44L24,44A24,22 0,0 1,0 22L0,22A24,22 0,0 1,24 0z"/>
<!-- <path-->
<!-- android:fillColor="#ffffff"-->
<!-- android:pathData="M305,22m-18,0a18,18 0,1 1,36 0a18,18 0,1 1,-36 0"/>-->
<!-- <path-->
<!-- android:fillColor="#00000000"-->
<!-- android:pathData="M302.5,16L308.5,22L302.5,28"-->
<!-- android:strokeColor="@color/colorPrimary"-->
<!-- android:strokeWidth="2"-->
<!-- android:strokeLineCap="round"-->
<!-- android:strokeLineJoin="round"/>-->
<group android:name="foreground_button">
<clip-path android:pathData="M24,0L303,0A24,22 0,0 1,327 22L327,22A24,22 0,0 1,303 44L24,44A24,22 0,0 1,0 22L0,22A24,22 0,0 1,24 0z"/>
<group
android:name="circle"
android:pivotX="163.5"
android:pivotY="22">
<path
android:fillColor="#33ffffff"
android:pathData=" M0,0 A164.973483,164.973483 0 1,1 327,44 A164.973483,164.973483 0 1,1 0,0 Z"/>
</group>
</group>
</group>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/b2x">
<target
android:name="button"
android:animation="@drawable/tjkg"/>
<target
android:name="circle"
android:animation="@drawable/r3yb"/>
</animated-vector>
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="36dp"
android:width="80dp"
android:viewportWidth="80"
android:viewportHeight="36">
<group
android:name="button"
android:pivotX="40"
android:pivotY="18">
<path
android:fillColor="@color/colorPrimary"
android:pathData="M10,0L70,0A10,10 0,0 1,80 10L80,26A10,10 0,0 1,70 36L10,36A10,10 0,0 1,0 26L0,10A10,10 0,0 1,10 0z"/>
<group android:name="foreground_button">
<clip-path android:pathData="M10,0L70,0A10,10 0,0 1,80 10L80,26A10,10 0,0 1,70 36L10,36A10,10 0,0 1,0 26L0,10A10,10 0,0 1,10 0z"/>
<group
android:name="circle"
android:pivotX="40"
android:pivotY="18">
<path
android:fillColor="#33ffffff"
android:pathData=" M0,0 A43.863425,43.863425 0 1,1 80,36 A43.863425,43.863425 0 1,1 0,0 Z"/>
</group>
</group>
</group>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:ordering="together">
<objectAnimator
android:duration="1000"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="restart"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleX"/>
<objectAnimator
android:duration="1000"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="restart"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleY"/>
</set>
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:ordering="together">
<objectAnimator
android:duration="500"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:valueFrom="0.92"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleX"/>
<objectAnimator
android:duration="500"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:valueFrom="0.92"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleY"/>
</set>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:ordering="together">
<objectAnimator
android:duration="1000"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="restart"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleX"/>
<objectAnimator
android:duration="1000"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="restart"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleY"/>
</set>
<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/ny">
<target
android:name="button"
android:animation="@drawable/pvxq"/>
<target
android:name="circle"
android:animation="@drawable/okaq"/>
</animated-vector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:ordering="together">
<objectAnimator
android:duration="500"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:valueFrom="0.98"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleX"/>
<objectAnimator
android:duration="500"
android:startOffset="0"
android:repeatCount="infinite"
android:repeatMode="reverse"
android:valueFrom="0.98"
android:valueTo="1"
android:valueType="floatType"
android:propertyName="scaleY"/>
</set>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="200dp" android:layout_height="wrap_content"
android:background="@drawable/white_background"> android:background="@drawable/white_background"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingVertical="@dimen/dp_8">
<ImageView
android:id="@+id/ivIcon"
android:layout_width="@dimen/dp_60"
android:layout_height="@dimen/dp_60"
android:src="@mipmap/logo"
tools:ignore="ContentDescription" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:orientation="vertical" android:layout_marginStart="6dp"
tools:ignore="UselessParent"> android:layout_marginTop="@dimen/dp_8"
android:layout_marginEnd="6dp"
android:orientation="vertical">
<LinearLayout <TextView
android:id="@+id/tv1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:ellipsize="end"
android:layout_marginTop="24dp" android:maxLines="2"
android:layout_marginEnd="16dp" android:text="notification_junk_clean"
android:layout_weight="1" android:textColor="@color/color_181b1f"
android:gravity="center_horizontal" android:textSize="16sp"
android:orientation="vertical"> android:textStyle="bold"
tools:ignore="HardcodedText" />
<ImageView
android:id="@+id/ivIcon"
android:layout_width="@dimen/dp_60"
android:layout_height="@dimen/dp_60"
android:src="@mipmap/logo"
tools:ignore="ContentDescription" />
<LinearLayout <TextView
android:layout_width="wrap_content" android:id="@+id/tv2"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_marginStart="6dp" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_8" android:layout_marginTop="2dp"
android:layout_marginEnd="6dp" android:ellipsize="end"
android:orientation="vertical"> android:maxLines="2"
android:textColor="@color/color_999999"
<TextView android:textSize="12sp"
android:id="@+id/tv1" android:visibility="gone"
android:layout_width="match_parent" tools:text="Are you sure you want to quit without trying to clean up the garbage again?" />
android:layout_height="wrap_content" </LinearLayout>
android:ellipsize="end"
android:maxLines="2"
android:text="notification_junk_clean"
android:textColor="@color/color_181b1f"
android:textSize="16sp"
android:textStyle="bold"
tools:ignore="HardcodedText" />
<TextView <FrameLayout
android:id="@+id/tv2" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="0dp"
android:layout_height="wrap_content" android:layout_marginTop="20dp"
android:layout_marginTop="2dp" android:layout_weight="1"
android:ellipsize="end" android:gravity="center">
android:maxLines="2"
android:textColor="@color/color_999999"
android:textSize="12sp"
android:visibility="gone"
tools:text="Are you sure you want to quit without trying to clean up the garbage again?" />
</LinearLayout>
</LinearLayout> <ProgressBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true"
android:indeterminateDrawable="@drawable/gvv81" />
<RelativeLayout <TextView
android:id="@+id/tv_btn"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_gravity="center"
android:gravity="center"> android:gravity="center"
android:text="@string/clean_now"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold" />
</FrameLayout>
<TextView
android:id="@+id/tv_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/bg_btn_50"
android:gravity="center"
android:paddingVertical="8dp"
android:text="@string/clean_now"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout> </LinearLayout>
\ No newline at end of file \ No newline at end of file
...@@ -57,17 +57,27 @@ ...@@ -57,17 +57,27 @@
tools:text="Are you sure you want to quit without trying to clean up the garbage again?" /> tools:text="Are you sure you want to quit without trying to clean up the garbage again?" />
</LinearLayout> </LinearLayout>
<TextView <FrameLayout
android:id="@+id/tv_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:background="@drawable/bg_btn_50"
android:paddingHorizontal="14dp" <ProgressBar
android:paddingVertical="6dp" android:layout_width="68dp"
android:text="@string/clean_now" android:layout_height="wrap_content"
android:textColor="@color/white" android:layout_gravity="center"
android:textSize="12sp" android:indeterminate="true"
android:textStyle="bold" /> android:indeterminateDrawable="@drawable/sl3fku" />
<TextView
android:id="@+id/tv_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/clean_now"
android:textColor="@color/white"
android:textSize="12sp"
android:textStyle="bold" />
</FrameLayout>
</LinearLayout> </LinearLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment