fix: user login; refactor: move package widget to package ui
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<com.stardust.widget.EWebView
|
||||
<com.stardust.scriptdroid.ui.widget.EWebView
|
||||
android:id="@+id/eweb_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
android:layout_gravity="right"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/edit"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
@@ -35,7 +35,7 @@
|
||||
app:icon_color="@android:color/white"
|
||||
app:text="@string/text_edit"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/run"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
android:textSize="18sp"/>
|
||||
|
||||
<com.stardust.widget.CommonMarkdownView
|
||||
<com.stardust.scriptdroid.ui.widget.CommonMarkdownView
|
||||
android:id="@+id/release_notes"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
android:textSize="14sp"
|
||||
tools:text="@string/text_auto_operate_service"/>
|
||||
|
||||
<com.stardust.widget.PrefSwitch
|
||||
<com.stardust.scriptdroid.ui.widget.PrefSwitch
|
||||
android:id="@+id/sw"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:layout_gravity="right"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/run"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
@@ -39,21 +39,21 @@
|
||||
app:icon_color="@android:color/white"
|
||||
app:text="@string/text_run"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/undo"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
app:icon="@drawable/ic_undo_white_48dp"
|
||||
app:text="@string/text_undo"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/redo"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
app:icon="@drawable/ic_redo_white_48dp"
|
||||
app:text="@string/text_redo"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/save"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
@@ -70,21 +70,21 @@
|
||||
android:layout_gravity="right"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/replace"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
app:icon="@drawable/ic_ali_replace"
|
||||
app:text="@string/text_replace"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/find_prev"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
app:icon="@drawable/ic_ali_up"
|
||||
app:text="@string/text_find_prev"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/find_next"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
@@ -92,7 +92,7 @@
|
||||
app:text="@string/text_find_next"/>
|
||||
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/cancel"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
@@ -161,7 +161,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<com.stardust.widget.EWebView
|
||||
<com.stardust.scriptdroid.ui.widget.EWebView
|
||||
android:id="@+id/docs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
android:paddingBottom="16dp"
|
||||
android:paddingTop="16dp">
|
||||
|
||||
<com.stardust.widget.CheckBoxCompat
|
||||
<com.stardust.scriptdroid.ui.widget.CheckBoxCompat
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
android:orientation="horizontal"
|
||||
android:padding="8dp">
|
||||
|
||||
<com.stardust.widget.CheckBoxCompat
|
||||
<com.stardust.scriptdroid.ui.widget.CheckBoxCompat
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/close"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
app:icon="@drawable/ic_close_white_48dp"
|
||||
app:text="@string/text_close"/>
|
||||
|
||||
<com.stardust.widget.ToolbarMenuItem
|
||||
<com.stardust.scriptdroid.ui.widget.ToolbarMenuItem
|
||||
android:id="@+id/move_or_resize"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
android:background="#cccccc"/>
|
||||
|
||||
|
||||
<com.stardust.widget.EWebView
|
||||
<com.stardust.scriptdroid.ui.widget.EWebView
|
||||
android:id="@+id/eweb_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.stardust.widget.EWebView 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"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
<com.stardust.scriptdroid.ui.widget.EWebView 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"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
@@ -6,7 +6,7 @@
|
||||
android:layout_height="32dp"
|
||||
android:padding="5dp">
|
||||
|
||||
<com.stardust.widget.LevelBeamView
|
||||
<com.stardust.scriptdroid.ui.widget.LevelBeamView
|
||||
android:id="@+id/dataItemLevelBeam"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="32dp"/>
|
||||
|
||||
@@ -264,6 +264,8 @@
|
||||
<string name="text_floating_edit">悬浮编辑</string>
|
||||
<string name="text_select_icon">选择图标</string>
|
||||
<string name="text_use_android_n_shortcut">添加到图标快捷方式</string>
|
||||
<string name="text_login_succeed">登录成功</string>
|
||||
<string name="text_login_fail">登录失败</string>
|
||||
|
||||
|
||||
<string-array name="ad_showing_mode_keys">
|
||||
|
||||
Reference in New Issue
Block a user