Android简易音乐重构MVVM Java版-新增启动动画
Posted Tobey_r1
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android简易音乐重构MVVM Java版-新增启动动画相关的知识,希望对你有一定的参考价值。
android简易音乐重构MVVM Java版-新增启动动画(九)
关于
本篇内容主要是启动动画和登录页面的重构。
效果图
修改color.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#FFB6C1</color>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="white33">#33FFFFFF</color>
<color name="settings_top_bg_color">#2A2A2A</color>
<color name="settings_text_notes">#828282</color>
<color name="background_gray">#1A181B</color>
<color name="text_gray_05">#E0E0E0</color>
<color name="pureBlack">#000000</color>
<color name="black25">#40000000</color>
<color name="black30">#4C000000</color>
<color name="black70">#B3000000</color>
<color name="blackB23">#B2333333</color>
<color name="black80">#CC000000</color>
<color name="white35">#59ffffff</color>
<color name="white80">#CCffffff</color>
<color name="grays_02">#787878</color>
<color name="grays_01">#333333</color>
<color name="grays_03">#979797</color>
<color name="grays_66">#66000000</color>
<color name="grays_0350">#7f979797</color>
<color name="grays_04">#e7e7e7</color>
<color name="grays_04_B3">#B3e7e7e7</color>
<color name="grays_04_4d">#4De7e7e7</color>
<color name="grays_05">#f1f1f1</color>
<color name="grays_06">#80F1F1F1</color>
<color name="primary_black">#19000000</color>
<color name="primaryBlue">#0099ff</color>
<color name="primaryBlue40">#660099ff</color>
<color name="blue_33007A">#33007AFF</color>
<color name="blue_007a">#007AFF</color>
<color name="grays_00">#00CCCCCC</color>
<color name="grays_10">#10CCCCCC</color>
<color name="grays_20">#20CCCCCC</color>
<color name="grays_30">#30CCCCCC</color>
<color name="grays_50">#50CCCCCC</color>
<color name="circle_progress_color1">#086593</color>
<color name="circle_progress_color2">#308A67</color>
<color name="circle_progress_color3">#69BE28</color>
<color name="gray_828282">#828282</color>
<color name="gray_4F4F4F">#4F4F4F</color>
<color name="transparent">#00000000</color>
<color name="tv_white">#ffffff</color>
<color name="tv_gray_01">#353636</color>
<color name="tv_black">#333333</color>
<color name="tv_hint">#c9c9c9</color>
<color name="tv_black_2c">#2c2c2c</color>
<color name="color_border">#515151</color>
<color name="dark_grey">#a9a9a9</color><!--暗灰色 -->
<color name="boundary_gray">#f0f0f0</color>
</resources>
添加dimens.xml
在values/下新增dimens.xml
:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="dp_0">0dp</dimen>
<dimen name="dp_40">40dp</dimen>
<dimen name="dp_80">80dp</dimen>
<dimen name="dp_30">30dp</dimen>
<dimen name="dp_10">10dp</dimen>
<dimen name="dp_120">120dp</dimen>
<dimen name="dp_35">35dp</dimen>
<dimen name="dp_12">12dp</dimen>
<dimen name="dp_5">5dp</dimen>
<dimen name="dp_7">7dp</dimen>
<dimen name="sp_14">14sp</dimen>
<dimen name="sp_16">16sp</dimen>
<dimen name="dp_16">16dp</dimen>
<dimen name="sp_17">17sp</dimen>
<dimen name="dp_15">15dp</dimen>
<dimen name="dp_60">60dp</dimen>
<dimen name="dp_45">45dp</dimen>
<dimen name="dp_20">20dp</dimen>
<dimen name="dp_50">50dp</dimen>
<dimen name="sp_18">18sp</dimen>
<dimen name="dp_25">25dp</dimen>
<dimen name="dp_2">2dp</dimen>
<dimen name="dp_55">55dp</dimen>
<dimen name="sp_12">12sp</dimen>
<dimen name="sp_15">15sp</dimen>
<dimen name="sp_22">22sp</dimen>
<dimen name="dp_3">3dp</dimen>
<dimen name="dp_200">200dp</dimen>
<dimen name="dp_4">4dp</dimen>
<dimen name="dp_160">160dp</dimen>
<dimen name="dp_64">64dp</dimen>
<dimen name="dp_8">8dp</dimen>
<dimen name="dp_1">1dp</dimen>
<dimen name="sp_13">13sp</dimen>
<dimen name="dp_100">100dp</dimen>
<dimen name="dp_70">70dp</dimen>
<dimen name="dp_130">130dp</dimen>
<dimen name="dp_140">140dp</dimen>
<dimen name="dp_150">150dp</dimen>
<dimen name="dp_110">110dp</dimen>
<dimen name="sp_24">24sp</dimen>
<dimen name="sp_21">21sp</dimen>
<dimen name="dp_13">13dp</dimen>
<dimen name="sp_10">10sp</dimen>
<dimen name="sp_11">11sp</dimen>
<dimen name="dp_170">170dp</dimen>
<dimen name="dp_165">165dp</dimen>
<dimen name="dp_320">320dp</dimen>
<dimen name="dp_640">640dp</dimen>
<dimen name="dp_250">250dp</dimen>
<dimen name="dp_90">90dp</dimen>
<dimen name="dp_220">220dp</dimen>
<dimen name="dp_22">22dp</dimen>
<dimen name="dp_27">27dp</dimen>
<dimen name="dp_48">48dp</dimen>
<dimen name="dp_28">28dp</dimen>
<dimen name="dp_18">18dp</dimen>
<dimen name="dp_23">23dp</dimen>
<dimen name="dp_58">58dp</dimen>
<dimen name="dp_75"Android简易音乐重构MVVM Java版-新增启动动画
Android简易音乐重构MVVM Java版-新增推荐菜单及侧边栏展示
Android简易音乐重构MVVM Java版-BottomNavigationView+viewpager主界面结构
Android简易音乐重构MVVM Java版-新增推荐雷达歌单详情列表界面(十八)