修改demo界面

This commit is contained in:
laoyuyu
2019-03-07 21:09:20 +08:00
parent 0f9f2577b8
commit 3042d06a0e
70 changed files with 691 additions and 377 deletions

View File

@@ -3,5 +3,8 @@
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<color name="icon_color">#FF4081</color>
<color name="black">#2B2B2B</color>
<color name="text_black">#2B2B2B</color>
<color name="bg_grey">#efefef</color>
</resources>

View File

@@ -3,4 +3,16 @@
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="item_h">48dp</dimen>
<dimen name="text_size_smallest">12sp</dimen>
<dimen name="text_size_smaller">13sp</dimen>
<dimen name="text_size_small">14sp</dimen>
<dimen name="text_size_normal">15sp</dimen>
<dimen name="text_size_big">16sp</dimen>
<dimen name="text_size_bigger">17sp</dimen>
<dimen name="text_size_biggest">18sp</dimen>
<dimen name="icon_size">24dp</dimen>
</resources>

View File

@@ -1,19 +1,13 @@
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2014 Lucas Rocha
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="item_click_support" type="id" />
<item name="item_click_support" type="id"/>
<array name="main_icons">
<item>@drawable/ic_http</item>
<item>@drawable/ic_http</item>
<item>@drawable/ic_http</item>
<item>@drawable/ic_ftp</item>
<item>@drawable/ic_ftp_dir</item>
<item>@drawable/ic_ftp</item>
</array>
</resources>

View File

@@ -2,6 +2,23 @@
<string name="app_name">Aria</string>
<string name="action_settings">Settings</string>
<string-array name="main_items">
<item>http 下载</item>
<item>http 上传</item>
<item>http 组合任务下载</item>
<item>FTP 下载</item>
<item>FTP 文件夹下载</item>
<item>FTP 文件上传</item>
</string-array>
<string-array name="download_items">
<item>单任务下载</item>
<item>多任务下载</item>
<item>高优先级任务</item>
<item>Service中使用</item>
<item>组件中使用</item>
</string-array>
<string-array name="test_apk_download_url">
<item>http://static.gaoshouyou.com/d/22/94/822260b849944492caadd2983f9bb624.apk</item> <!--300M的文件-->
<item>http://static.gaoshouyou.com/d/21/e8/61218d78d0e8b79df68dbc18dd484c97.apk</item>