refactor(ui): refactor ScriptListView
This commit is contained in:
BIN
app/src/main/res/drawable-xhdpi/ic_sample_dir.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_sample_dir.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
@@ -24,7 +24,7 @@
|
||||
</com.stardust.theme.widget.ThemeColorToolbar>
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<org.autojs.autojs.ui.main.scripts.ScriptListView
|
||||
<org.autojs.autojs.ui.main.scripts.ExplorerView
|
||||
android:id="@+id/script_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
|
||||
<org.autojs.autojs.ui.main.scripts.ScriptListView
|
||||
<org.autojs.autojs.ui.main.scripts.ExplorerView
|
||||
android:id="@+id/script_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.autojs.autojs.ui.main.sample.SampleListView
|
||||
android:id="@+id/sample_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
@@ -4,7 +4,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.autojs.autojs.ui.main.scripts.ScriptListView
|
||||
<org.autojs.autojs.ui.main.scripts.ExplorerView
|
||||
android:id="@+id/script_file_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
@@ -21,13 +21,12 @@
|
||||
android:paddingTop="16dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:src="@drawable/ic_folder_yellow_100px"
|
||||
android:tint="#ffda93"/>
|
||||
android:layout_marginRight="16dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
<string name="text_registering">注册中</string>
|
||||
<string name="text_register_fail">注册失败</string>
|
||||
<string name="text_register_succeed">注册成功</string>
|
||||
<string name="text_sample">示例</string>
|
||||
<string name="text_sample">示例代码</string>
|
||||
<string name="text_copy_to_my_script">导入到我的脚本</string>
|
||||
<string name="text_reset_to_initial_content">重置为初始内容</string>
|
||||
<string name="text_reset_fail">重置失败</string>
|
||||
|
||||
Reference in New Issue
Block a user