Android项目模板仓库

DoggyZhang 71b37c4b9b feat: init 5 months ago
app 71b37c4b9b feat: init 5 months ago
audio 71b37c4b9b feat: init 5 months ago
buildSrc 71b37c4b9b feat: init 5 months ago
channel 71b37c4b9b feat: init 5 months ago
frame 71b37c4b9b feat: init 5 months ago
gradle 71b37c4b9b feat: init 5 months ago
keystore 71b37c4b9b feat: init 5 months ago
module 71b37c4b9b feat: init 5 months ago
native 71b37c4b9b feat: init 5 months ago
patch 71b37c4b9b feat: init 5 months ago
third-party-libs 71b37c4b9b feat: init 5 months ago
tool 71b37c4b9b feat: init 5 months ago
.gitignore 71b37c4b9b feat: init 5 months ago
.tolgeerc 71b37c4b9b feat: init 5 months ago
README.md 71b37c4b9b feat: init 5 months ago
build.gradle 71b37c4b9b feat: init 5 months ago
gradle.properties 71b37c4b9b feat: init 5 months ago
gradlew 71b37c4b9b feat: init 5 months ago
gradlew.bat 71b37c4b9b feat: init 5 months ago
keystore.properties 71b37c4b9b feat: init 5 months ago
pull_and_fill_translations.py 71b37c4b9b feat: init 5 months ago
push_translations.py 71b37c4b9b feat: init 5 months ago
settings.gradle 71b37c4b9b feat: init 5 months ago

README.md

WeParty工程规范

资源命名规范

  • 独立模块专属资源文件统一到AAB模块相应res下
  • 通用的drawable、anim、color等资源文件统一App res下
  • 资源文件命名规范:<模块>_<功能>_<描述>

    //字符串
    <!-- 通用文案模块名:common -->
    <string name="common_network_error">网络错误!</string>
    <!-- 房间礼物功能 -->
    <string name="room_gift_parse_error">礼物资源解析错误!</string>
     
    //color,颜色命名使用color_前缀,颜色值统一大写
    <color name="color_7EBA3E">#7EBA3E</color>
     
    //drawable文件:<模块>_<功能>_<颜色>_<size>_<ic/bg>.png,其中size单位dp,width等于height时写一个值,width不同于height时<width>_<height>,如果资源是图标使用ic后缀,如果资源是背景使用bg后缀
    common_close_white_24_ic.png //通用白色width=height=24dp的关闭图标
    room_create_purple_375_667_bg.png //紫色width=375dp&height=667dp的房间创建页面背景