Android Studio 中的启动画面是否填满了徽标?
Splash Screen in Android Studio with logo filling up?
有谁知道任何 android 工作室教程来制作带有填充图像或徽标的启动画面?好像是进度条而是图片。
我找不到任何东西。
希望你能帮助我,谢谢。
(如果你不明白我的想法请告诉我)
编辑:
为了更清楚,我画了一个油漆。
假设星星是我想要的标志。星号将填充一种颜色(在本例中为黄色),一旦填充完毕,它将进入应用程序,就像启动画面一样。
您可以根据自己的目的使用此库。
https://github.com/JorgeCastilloPrz/AndroidFillableLoaders
示例演示视频:
示例代码
<com.github.jorgecastillo.FillableLoader
android:id="@+id/fillableLoader"
android:layout_width="200dp"
android:layout_height="100dp"
app:fl_originalWidth="@integer/original_svg_width"
app:fl_originalHeight="@integer/original_svg_height"
app:fl_strokeColor="@color/stroke_color"
app:fl_fillColor="@color/fill_color"
app:fl_strokeWidth="@dimen/stroke_width"
app:fl_strokeDrawingDuration="@integer/stroke_drawing_duration"
app:fl_fillDuration="@integer/fill_duration"
app:fl_clippingTransform="waves"
app:fl_fillPercentage="@integer/fill_percentage"
/>
有谁知道任何 android 工作室教程来制作带有填充图像或徽标的启动画面?好像是进度条而是图片。
我找不到任何东西。
希望你能帮助我,谢谢。
(如果你不明白我的想法请告诉我)
编辑: 为了更清楚,我画了一个油漆。
假设星星是我想要的标志。星号将填充一种颜色(在本例中为黄色),一旦填充完毕,它将进入应用程序,就像启动画面一样。
您可以根据自己的目的使用此库。
https://github.com/JorgeCastilloPrz/AndroidFillableLoaders
示例演示视频:
示例代码
<com.github.jorgecastillo.FillableLoader
android:id="@+id/fillableLoader"
android:layout_width="200dp"
android:layout_height="100dp"
app:fl_originalWidth="@integer/original_svg_width"
app:fl_originalHeight="@integer/original_svg_height"
app:fl_strokeColor="@color/stroke_color"
app:fl_fillColor="@color/fill_color"
app:fl_strokeWidth="@dimen/stroke_width"
app:fl_strokeDrawingDuration="@integer/stroke_drawing_duration"
app:fl_fillDuration="@integer/fill_duration"
app:fl_clippingTransform="waves"
app:fl_fillPercentage="@integer/fill_percentage"
/>