add: uploaded script options

This commit is contained in:
hyb1996
2017-10-21 15:10:34 +08:00
parent 2b93091f5d
commit 1e50e6d9da
29 changed files with 583 additions and 68 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.stardust.widget.EWebView xmlns:android="http://schemas.android.com/apk/res/android"
<com.stardust.scriptdroid.ui.main.community.CommunityWebView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/eweb_view"
android:layout_width="match_parent"

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<com.stardust.scriptdroid.ui.common.OptionListView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:textColor="#77000000"
android:textSize="16sp"
android:visibility="gone"
tools:text="标题"
tools:visibility="visible"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.stardust.scriptdroid.ui.common.OptionListView>

View File

@@ -132,7 +132,7 @@
<string name="text_download_url">下载地址</string>
<string name="text_directly_download">直接下载</string>
<string name="text_downloading">下载中</string>
<string name="text_download_failed">下载失败~请到应用商店下载</string>
<string name="text_download_failed">下载失败</string>
<string name="text_do_not_ask_again_for_this_version">此版本不再提示</string>
<string name="text_code_beautify">格式化代码</string>
<string name="text_processing">处理中</string>
@@ -237,6 +237,11 @@
<string name="text_close">关闭</string>
<string name="text_adjust">调整</string>
<string name="text_exit_floating_window">退出悬浮窗</string>
<string name="text_save_and_edit">下载并编辑</string>
<string name="text_select_save_path">保存到</string>
<string name="text_cancel_download">取消下载</string>
<string name="text_download">下载</string>
<string name="format_file_downloaded" formatted="true">文件已保存到 %s</string>
<string-array name="ad_showing_mode_keys">