续费卡片更新

This commit is contained in:
coldmint 2022-04-28 18:30:45 +08:00
parent 61cf34c513
commit 17d7528b9b
113 changed files with 140 additions and 3786 deletions

View File

@ -27,8 +27,8 @@ android {
applicationId "com.coldmint.rust.pro" applicationId "com.coldmint.rust.pro"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 32 targetSdkVersion 32
versionCode 14 versionCode 18
versionName "2.0 Release 7(2022-4-6)" versionName "2.0 release8 p3(2022-4-26)"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="280"
android:propertyName="rotation"
android:valueFrom="180"
android:valueTo="360" />

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="280"
android:propertyName="rotation"
android:valueFrom="0"
android:valueTo="180" />

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/expand_icon">
<target
android:name="expand"
android:animation="@animator/rotation_off" />
</animated-vector>

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/expand_icon">
<target
android:name="expand"
android:animation="@animator/rotation_on" />
</animated-vector>

View File

@ -1,18 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="200dp"
android:height="200dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<group
android:name="expand"
android:pivotX="512"
android:pivotY="512">
<path
android:fillColor="#333333"
android:pathData="M508.29,696.77a27.66,27.66 0,0 1,-19.64 -8.13L174.71,374.71a27.77,27.77 0,0 1,39.29 -39.24l313.93,313.88a27.77,27.77 0,0 1,-19.64 47.42" />
<path
android:fillColor="#333333"
android:pathData="M508.29,696.77a27.66,27.66 0,0 1,-19.64 -47.36l321.36,-321.31a27.77,27.77 0,0 1,39.24 39.24l-321.25,321.31a27.88,27.88 0,0 1,-19.7 8.13" />
</group>
</vector>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108"
android:tint="#F5F5F5">
<group android:scaleX="0.17033143"
android:scaleY="0.17033143"
android:translateX="30.1536"
android:translateY="39.6223">
<group android:translateY="136.82812">
<path android:pathData="M30,-42L30,-17.625Q30,-12.46875,30.390625,-10.125Q30.78125,-7.796875,31.546875,-6.609375Q32.328125,-5.4375,33.65625,-4.6875Q35,-3.9375,38.234375,-3L38.234375,-0L8.78125,-0L8.78125,-3Q13.140625,-4.140625,14.609375,-5.515625Q16.09375,-6.90625,16.546875,-9.453125Q17,-12.015625,17,-17.28125L17,-78.71875Q17,-83.625,16.640625,-85.859375Q16.296875,-88.09375,15.484375,-89.328125Q14.6875,-90.578125,13.34375,-91.328125Q12.015625,-92.078125,8.78125,-93L8.78125,-96L43.421875,-96Q59.78125,-96,67.890625,-90.046875Q76,-84.109375,76,-71.59375Q76,-62,70.703125,-55.28125Q65.421875,-48.578125,54.828125,-44.796875L54.828125,-44.234375Q59.0625,-42.46875,62.078125,-39.15625Q65.109375,-35.859375,68.78125,-28.90625L75.03125,-17.28125Q77.75,-12.171875,79.6875,-9.359375Q81.640625,-6.546875,83.65625,-5.0625Q85.671875,-3.59375,89,-3L89,-0L69.53125,-0Q66.890625,-3.75,64.53125,-8.0625Q62.1875,-12.390625,59.890625,-16.859375L53.796875,-28.6875Q51.015625,-34.0625,49.234375,-36.609375Q47.46875,-39.171875,45.96875,-40.1875Q44.46875,-41.21875,42.765625,-41.609375Q41.0625,-42,37.65625,-42L30,-42ZM30,-89.71875L30,-48L37.953125,-48Q44.0625,-48,47.859375,-48.875Q51.65625,-49.75,54.890625,-52.203125Q58.125,-54.671875,60.0625,-59.0625Q62,-63.453125,62,-69.84375Q62,-76.515625,59.703125,-80.9375Q57.421875,-85.359375,52.78125,-87.671875Q48.140625,-90,40.265625,-90Q33.9375,-90,30,-89.71875Z"
android:fillColor="#F5F5F5"/>
<path android:pathData="M94.125,-67L114,-67L114,-31.15625Q114,-22.921875,114.640625,-18.625Q115.28125,-14.328125,116.546875,-12.140625Q117.828125,-9.953125,120.171875,-8.46875Q122.515625,-7,126.625,-7Q129.3125,-7,131.79688,-8.046875Q134.28125,-9.109375,137.32812,-11.75Q140.375,-14.390625,141.6875,-17.015625Q143,-19.65625,143,-23.125L143,-49.78125Q143,-53.84375,142.78125,-55.890625Q142.57812,-57.953125,142.07812,-59.203125Q141.59375,-60.453125,140.92188,-61.234375Q140.25,-62.015625,139.01562,-62.65625Q137.79688,-63.296875,135.04688,-64L135.04688,-67L155,-67L155,-18.640625Q155,-13.1875,155.20312,-10.78125Q155.42188,-8.375,156.125,-6.953125Q156.82812,-5.546875,158.29688,-4.65625Q159.78125,-3.78125,163.57812,-3L163.57812,0L147.53125,1L143.28125,1L143.70312,-10.515625L142.64062,-10.796875Q136.79688,-4.6875,131.46875,-1.84375Q126.15625,1,120.8125,1Q114.390625,1,110.234375,-1.53125Q106.078125,-4.078125,104.03125,-9.109375Q102,-14.140625,102,-23.296875L102,-49.921875Q102,-55.828125,101.53125,-58.046875Q101.078125,-60.265625,99.78125,-61.5625Q98.484375,-62.875,94.125,-64L94.125,-67Z"
android:fillColor="#F5F5F5"/>
<path android:pathData="M223,-51L216,-51Q214.46875,-55.203125,212.375,-57.609375Q210.29688,-60.03125,207.64062,-61.015625Q205,-62,201.17188,-62Q195.60938,-62,192.29688,-59.453125Q189,-56.921875,189,-52.53125Q189,-49.40625,190.34375,-47.375Q191.6875,-45.34375,194.51562,-43.578125Q197.34375,-41.828125,204.48438,-38.921875Q211.70312,-35.828125,215.625,-33.234375Q219.54688,-30.640625,221.76562,-27.203125Q224,-23.765625,224,-19Q224,-13.453125,222.09375,-9.65625Q220.20312,-5.875,216.76562,-3.484375Q213.32812,-1.109375,208.59375,-0.046875Q203.85938,1,198.25,1Q192.34375,1,186.79688,0.109375Q181.26562,-0.765625,176,-2.1875L176,-17L183,-17Q184.875,-10.6875,188.5625,-7.84375Q192.25,-5,198.71875,-5Q201.21875,-5,203.60938,-5.515625Q206.01562,-6.03125,207.89062,-7.234375Q209.78125,-8.4375,210.89062,-10.5Q212,-12.578125,212,-15.671875Q212,-19.1875,210.57812,-21.390625Q209.17188,-23.59375,206.1875,-25.421875Q203.21875,-27.25,195.70312,-30.34375Q189.25,-32.984375,185.35938,-35.484375Q181.46875,-37.984375,179.23438,-41.390625Q177,-44.796875,177,-49.453125Q177,-55.140625,180.14062,-59.34375Q183.28125,-63.546875,189.20312,-65.765625Q195.125,-68,203.10938,-68Q207.76562,-68,212.09375,-67.53125Q216.4375,-67.0625,223,-65.6875L223,-51Z"
android:fillColor="#F5F5F5"/>
<path android:pathData="M233.59375,-63Q237.10938,-63.640625,239.28125,-65.234375Q241.46875,-66.828125,242.6875,-69Q243.92188,-71.171875,244.625,-74.4375Q245.32812,-77.71875,246.09375,-84L256,-84L256,-67L279,-67L279,-60L256,-60L256,-28.546875Q256,-21.703125,256.57812,-17.640625Q257.15625,-13.578125,258.75,-11.28125Q260.34375,-8.984375,262.35938,-7.984375Q264.39062,-7,267.57812,-7Q270.46875,-7,273,-8.28125Q275.54688,-9.578125,278,-12L281,-8.5Q275.95312,-3.5,271.4375,-1.25Q266.9375,1,262.10938,1Q252.95312,1,248.46875,-4.359375Q244,-9.71875,244,-21.125L244,-60L233.59375,-60L233.59375,-63Z"
android:fillColor="#F5F5F5"/>
</group>
</group>
</vector>

View File

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/appListView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/tipView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/load_application" />
</LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<TextView
android:id="@+id/displayView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/unable_open_database"
android:visibility="gone" />
<ExpandableListView
android:layout_gravity="top"
android:id="@+id/expandableListView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<!--ExpandableListView-->
</LinearLayout>

View File

@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView android:layout_height="match_parent"
android:layout_width="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:padding="15dp">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinput1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:counterEnabled="true"
app:counterMaxLength="20">
<com.google.android.material.textfield.TextInputEditText
android:hint="@string/mod_name"
android:maxLines="1"
android:id="@+id/mod_name_edit"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:maxLength="20"
android:inputType="text"
android:imeOptions="actionNext"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinput2"
android:layout_below="@id/textinput1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="500">
<com.google.android.material.textfield.TextInputEditText
android:hint="@string/mod_describe"
android:imeOptions="actionDone"
android:inputType="text"
android:id="@+id/mod_describe_edit"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:maxLength="500" />
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/createbutton"
android:layout_below="@id/textinput2"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/create" />
</RelativeLayout>
</ScrollView>

View File

@ -1,135 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="15dp">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:counterEnabled="true"
app:counterMaxLength="20">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_name_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_name"
android:imeOptions="actionNext"
android:inputType="text"
android:maxLength="20"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="500">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_describe_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_description"
android:imeOptions="actionNext"
android:inputType="text"
android:maxLength="500" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="20">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_developer_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_developer"
android:imeOptions="actionNext"
android:inputType="text"
android:maxLength="20" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="200">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_update_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_update"
android:imeOptions="actionDone"
android:inputType="textUri"
android:maxLength="200" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="20">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_version_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_version_name"
android:imeOptions="actionNext"
android:inputType="text"
android:maxLength="20"
android:text="1.0" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
app:counterEnabled="true"
app:counterMaxLength="9">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_version_num"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/template_version_num"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLength="9"
android:text="1" />
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/createbutton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/create" />
</LinearLayout>
</ScrollView>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/unit_path_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/select_path_button"
android:text="@string/unit_path" />
<Button
android:id="@+id/select_path_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/change_path" />
</RelativeLayout>
<ExpandableListView
android:id="@+id/expandable_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>

View File

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/rootLayout">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:layout_toLeftOf="@id/updateButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="@string/update_database" />
<Button
android:id="@+id/updateButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/update_off" />
</RelativeLayout>
</LinearLayout>

View File

@ -1,132 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/edit_drawerlayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_Layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
app:tabMode="scrollable"
app:tabTextAppearance="@style/TabLayoutTextStyle">
</com.google.android.material.tabs.TabLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/recyclerview"
android:layout_below="@id/tab_Layout"
android:gravity="center">
<ProgressBar
android:id="@+id/myProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<io.github.rosemoe.editor.widget.CodeEditor
android:id="@+id/codeEditor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:visibility="invisible"
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="end"
android:background="?android:windowBackground"
android:clickable="true"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/imageview"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/ui_compile" />
<TextView
android:id="@+id/textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/compilation_prompt"
android:textSize="15dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/logView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="?android:windowBackground">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/file_swipe"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/file_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/loading_files" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/file_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:src="@mipmap/ui_add"
app:tint="@color/white"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -1,289 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardElevation="2dp"
card_view:cardCornerRadius="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:orientation="vertical">
<!--模组图标-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mod_icon" />
<ImageView
android:id="@+id/iconView"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_margin="8dp"
android:src="@mipmap/ui_image" />
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinput1"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/mod_name_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/mod_name"
android:imeOptions="actionNext"
android:inputType="text"
android:maxLength="20"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinput2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textinput1"
android:paddingTop="8dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/mod_describe_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/mod_describe"
android:imeOptions="actionDone"
android:inputType="text"
android:maxLength="500" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardElevation="2dp"
card_view:cardCornerRadius="2dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:animateLayoutChanges="true">
<TextView
android:id="@+id/backgroundMusicView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/background_music"
android:textSize="16dp" />
<TextView
android:id="@+id/musicPathView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="未启用" />
<TextView
android:id="@+id/enabledMusic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/backgroundMusicView"
android:layout_marginTop="8dp"
android:text="@string/enabled"
android:textColor="?attr/colorPrimary" />
<TextView
android:id="@+id/addMusic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/enabledMusic"
android:layout_marginLeft="16dp"
android:layout_toRightOf="@id/enabledMusic"
android:text="@string/add"
android:textColor="?attr/colorPrimary" />
<ImageView
android:id="@+id/expandMusicList"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_below="@id/musicPathView"
android:layout_alignBottom="@id/enabledMusic"
android:layout_alignParentRight="true"
android:src="@drawable/expand_icon" />
<LinearLayout
android:id="@+id/musicOperation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/addMusic"
android:orientation="vertical"
android:visibility="gone">
<Switch
android:id="@+id/playExclusively"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/addMusic"
android:layout_marginTop="5dp"
android:text="@string/play_exclusively" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/musicListView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardElevation="2dp"
card_view:cardCornerRadius="2dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp"
android:animateLayoutChanges="true">
<TextView
android:id="@+id/mapView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/map"
android:textSize="16dp" />
<TextView
android:id="@+id/mapPathView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="未启用" />
<TextView
android:id="@+id/enabledMap"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/mapView"
android:layout_marginTop="8dp"
android:text="@string/enabled"
android:textColor="?attr/colorPrimary" />
<TextView
android:id="@+id/addMap"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/enabledMap"
android:layout_marginLeft="16dp"
android:layout_toRightOf="@id/enabledMap"
android:text="@string/add"
android:textColor="?attr/colorPrimary" />
<ImageView
android:id="@+id/expandMapList"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_below="@id/mapPathView"
android:layout_alignBottom="@id/enabledMap"
android:layout_alignParentRight="true"
android:src="@drawable/expand_icon" />
<LinearLayout
android:id="@+id/mapOperation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/addMap"
android:orientation="vertical"
android:visibility="gone">
<Switch
android:id="@+id/addExtraMapsForPathSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/addMap"
android:layout_marginTop="5dp"
android:text="@string/add_extra_maps" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/mapListView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp" />
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/file_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/file_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/loading_files" />
</LinearLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:src="@mipmap/ui_add" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp"
android:orientation="vertical">
<TextView
android:id="@+id/importer_tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/import_effor7" />
<Button
android:visibility="gone"
android:id="@+id/ok_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:text="@string/import_name" />
<Button
android:id="@+id/cancel_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:text="@string/dialog_close" />
</LinearLayout>
</ScrollView>

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerlayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<fragment
android:id="@+id/fragemnt"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/main_nav" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="24dp"
android:src="@mipmap/ui_add"
app:tint="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:ignore="MissingConstraints" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.navigation.NavigationView
android:id="@+id/navaiagtion"
android:layout_width="260dp"
android:layout_height="match_parent"
android:layout_gravity="start"
app:headerLayout="@layout/head_layout"
app:menu="@menu/menu_drawer_left" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -1,48 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/optimizationButton"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:gravity="center"
android:orientation="vertical">
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/load_optimized_item"
android:textSize="16dp" />
<ExpandableListView
android:id="@+id/optimizationList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
<Button
android:id="@+id/optimizationButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_margin="8dp"
android:text="@string/optimization" />
</RelativeLayout>

View File

@ -1,31 +0,0 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<FrameLayout
android:id="@+id/settings"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".StartActivity">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher"
android:layout_centerInParent="true"/>
</RelativeLayout>

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/attach" />
</com.google.android.material.tabs.TabLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</androidx.viewpager.widget.ViewPager>
</LinearLayout>

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true">
<LinearLayout
android:id="@+id/root_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/name_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="@string/file_name" />
<EditText
android:id="@+id/file_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_toRightOf="@id/name_view"
android:imeOptions="actionDone"
android:inputType="text" />
</RelativeLayout>
</LinearLayout>
</ScrollView>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:src="@mipmap/ui_complete" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</com.google.android.material.appbar.AppBarLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<TextView
android:textSize="16dp"
android:id="@+id/unit_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/loading_units" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/unit_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:src="@mipmap/ui_add" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp">
<LinearLayout
android:id="@+id/layout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_type" />
<Spinner
android:id="@+id/type_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:id="@+id/layout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/layout1">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_name" />
<EditText
android:id="@+id/edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<Button
android:id="@+id/close_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/layout2"
android:layout_marginRight="8dp"
android:layout_toLeftOf="@id/save_action"
android:text="@string/dialog_cancel" />
<Button
android:id="@+id/save_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/layout2"
android:layout_alignParentRight="true"
android:text="@string/edit_function" />
</RelativeLayout>

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<ImageView
android:id="@+id/appIconView"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_centerVertical="true"
android:layout_marginRight="8dp"
android:src="@mipmap/ui_image" />
<TextView
android:id="@+id/appNameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/appIconView"
android:text="app名称"
android:textSize="16dp" />
<TextView
android:id="@+id/appVersionView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/appNameView"
android:layout_marginTop="5dp"
android:layout_toRightOf="@id/appIconView"
android:text="版本" />
<TextView
android:id="@+id/packageNameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/appVersionView"
android:layout_marginTop="5dp"
android:layout_toRightOf="@id/appIconView"
android:text="包名" />
</RelativeLayout>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mcxtzhang.swipemenulib.SwipeMenuLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:elevation="2dp"
app:ios="false"
app:leftSwipe="true">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:id="@+id/file_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="文件名"
android:textSize="15dp" />
<TextView
android:id="@+id/file_path"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="路径" />
</LinearLayout>
<Button
android:id="@+id/del"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/del_mod" />
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>

View File

@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/icon_tip" />
<ImageView
android:id="@+id/icon_view"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@mipmap/ui_image" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/addFileButton"
android:text="@string/attach_tip" />
<Button
android:id="@+id/addFileButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/add_file" />
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/files_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<TextView
android:id="@+id/nameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:text="表名"
android:textSize="16dp" />
<TextView
android:id="@+id/numView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="代码数" />
</RelativeLayout>

View File

@ -1,58 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<TextView
android:id="@+id/titleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="名称"
android:textColor="?attr/colorPrimary"
android:textSize="16dp" />
<TextView
android:id="@+id/subTitleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/titleView"
android:layout_marginLeft="16dp"
android:layout_toRightOf="@id/titleView"
android:text="副标题"
android:textColor="?attr/colorSecondary" />
<TextView
android:id="@+id/descriptionView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/titleView"
android:layout_marginTop="5dp"
android:text="描述" />
<TextView
android:id="@+id/valueTypeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/descriptionView"
android:layout_marginTop="5dp"
android:text="值类型" />
<TextView
android:id="@+id/versionView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/valueTypeView"
android:layout_marginLeft="8dp"
android:layout_toRightOf="@id/valueTypeView"
android:text="版本信息" />
<com.kongzue.stacklabelview.StackLabel
android:id="@+id/belongStackLabelView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/valueTypeView"
android:layout_marginTop="5dp" />
</RelativeLayout>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/touchView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="8dp">
<TextView
android:id="@+id/codeTextItemView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15dp"
android:text="项目"/>
</LinearLayout>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/database_swipe"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/database_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/not_find_database" />
<ListView
android:id="@+id/database_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

View File

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp">
<TextView
android:textColor="@color/green"
android:textSize="16dp"
android:id="@+id/database_name_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="数据库名" />
<TextView
android:textColor="@color/green"
android:layout_marginTop="8dp"
android:textSize="14dp"
android:id="@+id/database_introduce"
android:layout_below="@+id/database_name_view"
android:layout_toLeftOf="@+id/database_use"
android:layout_alignParentLeft="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="简介" />
<TextView
android:textColor="@color/green"
android:id="@+id/database_other"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/database_introduce"
android:layout_marginTop="8dp"
android:text="作者|版本"
android:textSize="14dp" />
<Button
android:id="@+id/database_use"
android:textSize="14dp"
android:layout_alignParentRight="true"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="使用"/>
</RelativeLayout>

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/delete_unit"
android:textSize="18dp" />
<TextView
android:id="@+id/descriptionView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/delete_unit_text" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="right"
android:orientation="horizontal">
<Button
android:id="@+id/cancelButton"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/dialog_cancel" />
<Button
android:id="@+id/okButton"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:text="@string/dialog_ok" />
</LinearLayout>
</LinearLayout>

View File

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:id="@+id/rootLayout">
<ImageView
android:id="@+id/iconView"
android:src="@mipmap/ui_image"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_centerVertical="true" />
<TextView
android:id="@+id/titleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/iconView"
android:text="标题"
android:textSize="16dp"
android:textColor="@color/blue_500"/>
<TextView
android:textColor="@color/pink_200"
android:id="@+id/subTitleView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/titleView"
android:layout_marginLeft="8dp"
android:layout_toRightOf="@id/titleView"
android:text="副标题"
android:textSize="14dp" />
<TextView
android:id="@+id/contentView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/titleView"
android:layout_toRightOf="@id/iconView"
android:text="内容" />
</RelativeLayout>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/name_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="名称"/>
<EditText
android:inputType="text"
android:imeOptions="actionDone"
android:layout_toRightOf="@id/name_view"
android:layout_alignParentRight="true"
android:id="@+id/input_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="80dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/file_icon"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@mipmap/ui_file"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:textSize="16dp"
android:id="@+id/file_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="文件名"/>
<TextView
android:textSize="14dp"
android:id="@+id/file_time"
android:layout_marginTop="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="创建时间"/>
</LinearLayout>
</androidx.appcompat.widget.LinearLayoutCompat>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/path_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/select_path_button"
android:text="@string/unit_path" />
<Button
android:id="@+id/select_path_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/change_path" />
</RelativeLayout>

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:orientation="vertical"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textSize="25dp"/>
<TextView
android:id="@+id/subTitleView"
android:layout_marginTop="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="你好,世界!"/>
</LinearLayout>

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/dialog_edit"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right">
<TextView
android:id="@+id/cancel_button_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:text="@string/dialog_cancel" />
<TextView
android:id="@+id/completion_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:text="@string/dialog_ok" />
</LinearLayout>
</LinearLayout>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<TextView
android:id="@+id/logInfoView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/compilation_prompt" />
</LinearLayout>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/file_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="文件名" />
</LinearLayout>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<TextView
android:id="@+id/codeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="代码"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<Button
android:id="@+id/actionView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/set_action"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:id="@+id/mod_action_item">
<TextView
android:id="@+id/operation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/mod_tags"
android:textSize="16dp"/>
</LinearLayout>

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/mod_icon"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_margin="8dp"
android:src="@mipmap/ic_launcher" />
<LinearLayout
android:id="@+id/mod_linearlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/mod_name_View"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:text="模组名称"
android:textSize="16dp" />
<TextView
android:id="@+id/mod_name_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:text="介绍"
android:textSize="14dp" />
</LinearLayout>
</LinearLayout>
<ListView
android:id="@+id/mod_action_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mod_swipe"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/mod_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/not_find_game" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/mod_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

View File

@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mcxtzhang.swipemenulib.SwipeMenuLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="88dp"
android:clickable="true"
android:elevation="2dp"
app:ios="false"
app:leftSwipe="true">
<LinearLayout
android:id="@+id/mod_linearlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<ImageView
android:id="@+id/mod_icon"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:src="@mipmap/ui_image" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/mod_name_View"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="模组名称"
android:textSize="16dp" />
<TextView
android:id="@+id/mod_introduction_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="介绍"
android:textSize="14dp" />
<TextView
android:id="@+id/mod_up_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="更新时间"
android:textSize="14dp" />
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/mod_del"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/del_mod" />
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<TextView
android:id="@+id/nameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:text="优化项目"
android:textSize="16dp" />
<TextView
android:id="@+id/numView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/groupCheckBox"
android:text="@string/filenum" />
<CheckBox
android:id="@+id/groupCheckBox"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_marginLeft="8dp"
android:checked="false"
android:focusable="false"/>
</RelativeLayout>

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<TextView
android:id="@+id/nameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
android:text="优化项目"
android:textSize="16dp" />
<TextView
android:id="@+id/descriptionView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/nameView"
android:layout_alignLeft="@id/nameView"
android:layout_marginTop="5dp"
android:layout_toLeftOf="@id/itemCheckBox"
android:text="描述" />
<CheckBox
android:id="@+id/itemCheckBox"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:checked="true" />
</RelativeLayout>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="8dp">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="@string/select_template"
android:textSize="15dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title" />
<Button
android:id="@+id/createbutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/recyclerview"
android:layout_toLeftOf="@id/saveButton"
android:text="@string/create_template"
android:layout_marginRight="8dp"/>
<Button
android:id="@+id/saveButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/recyclerview"
android:layout_alignParentRight="true"
android:text="@string/edit_function" />
</RelativeLayout>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="5dp">
<CheckBox
android:id="@+id/template_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="模板名称" />
</LinearLayout>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/template_swipe"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/template_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/not_find_template" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/template_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</LinearLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<TextView
android:id="@+id/template_name"
android:textSize="16dp"
android:layout_alignParentLeft="true"
android:layout_marginLeft="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="模板名"/>
<TextView
android:id="@+id/template_num"
android:textSize="14dp"
android:layout_alignParentRight="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="项目数"/>
</RelativeLayout>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<ImageView
android:id="@+id/template_icon_view"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:src="@mipmap/ui_template" />
<TextView
android:id="@+id/name_view"
android:layout_marginLeft="16dp"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/template_icon_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14dp"
android:text="模板名称" />
</RelativeLayout>

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mcxtzhang.swipemenulib.SwipeMenuLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:elevation="2dp"
app:ios="false"
app:leftSwipe="true">
<androidx.constraintlayout.widget.ConstraintLayout xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="模板名称"
android:textColor="@color/green"
android:textSize="15dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="开发者|版本"
android:textColor="@color/green"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="描述(错误信息)"
android:textColor="@color/green"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2" />
</androidx.constraintlayout.widget.ConstraintLayout>
<Button
android:id="@+id/delButton"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/del_mod" />
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>

View File

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mcxtzhang.swipemenulib.SwipeMenuLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:elevation="2dp"
app:ios="false"
app:leftSwipe="true">
<LinearLayout
android:id="@+id/rootLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="8dp">
<ImageView
android:id="@+id/iconView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_launcher" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:orientation="vertical">
<TextView
android:id="@+id/unitNameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="单位名称"
android:textSize="16dp" />
<TextView
android:id="@+id/unitDescribeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="单位描述" />
<TextView
android:id="@+id/unitTimeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="修改时间" />
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/delButton"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/del_mod" />
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/unit_search1" />
<EditText
android:id="@+id/unit_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/advanced_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/unit_search2" />
<LinearLayout
android:id="@+id/advanced_view"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/rule_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/unit_search3" />
<EditText
android:id="@+id/unit_rule_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/rule_mode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/unit_search4" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right">
<Button
android:id="@+id/cancel_button_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:text="@string/dialog_cancel" />
<Button
android:id="@+id/completion_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:text="@string/dialog_ok" />
</LinearLayout>
</LinearLayout>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/load_system_application"
android:checkable="true"
android:checked="false"
android:title="@string/load_system_application" />
</menu>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/filter_units"
android:title="@string/filter" />
</menu>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/save_action"
android:title="@string/edit_function" />
</menu>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<group android:checkableBehavior="single">
<item
android:id="@+id/mod_item"
android:icon="@mipmap/ui_mod"
android:title="@string/menu_title1" />
<item
android:id="@+id/database_item"
android:icon="@mipmap/ui_database"
android:title="@string/menu_title3" />
<item
android:id="@+id/template_item"
android:icon="@mipmap/ui_template"
android:title="@string/template_title" />
</group>
<group android:id="@+id/set_up_group">
<item
android:id="@+id/set_up"
android:icon="@mipmap/ui_set_up"
android:title="@string/set_up" />
</group>
</menu>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/save_text"
android:icon="@mipmap/ui_save"
android:title="@string/edit_function"
app:showAsAction="always" />
<item
android:id="@+id/code_navigation"
android:title="@string/code_navigation" />
<item
android:id="@+id/open_game_test"
android:title="@string/open_game_test" />
<item
android:id="@+id/show_line_number"
android:checkable="true"
android:checked="true"
android:title="@string/editer_show_line_num" />
<item
android:id="@+id/convertToTemplate"
android:title="@string/convert_template" />
</menu>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/reloadFile"
android:title="@string/reload_files" />
<item android:title="@string/filter" />
<item
android:id="@+id/new_folder"
android:title="@string/create_folder" />
<item android:title="@string/select_file">
<menu>
<item
android:id="@+id/photo_album"
android:title="@string/photo_album" />
<item
android:id="@+id/system_file_manager"
android:title="@string/system_file_manager" />
</menu>
</item>
</menu>

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/search_units"
android:title="@string/search" />
<item
android:id="@+id/filter_units"
android:title="@string/filter" />
</menu>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
app:startDestination="@id/mod_item">
<fragment
android:id="@+id/mod_item"
android:label="@string/menu_title1"
android:name="com.coldmint.rust.pro.ui.ModFragment"
tools:layout="@layout/mod_fragment"/>
<fragment
android:id="@+id/database_item"
android:label="@string/menu_title3"
android:name="com.coldmint.rust.pro.ui.DatabaseFragment"
tools:layout="@layout/database_fragment"/>
<fragment
android:id="@+id/template_item"
android:label="@string/template_title"
android:name="com.coldmint.rust.pro.ui.TemplateFragment"
tools:layout="@layout/template_fragemnt"/>
</navigation>

View File

@ -1,278 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Rust Assistant</string>
<string name="dialog_title">Application permission</string>
<string name="dialog_msg">We need storage permissions to read module lists, edit source files, import and export modules, and so on.</string>
<string name="dialog_confirm">Authorization</string>
<string name="dialog_close">Exit</string>
<string name="dialog_msg29">We need to manage file permissions to read module lists, edit source files, import and export modules, and so on.</string>
<string name="not_find_game">Unable to load module, please install game first.</string>
<string name="not_find_mod">Not Find Mod</string>
<string name="menu_title1">Mod</string>
<string name="menu_title3">Database</string>
<string name="del_mod">Delete</string>
<string name="FileImporter">Import to Rust Assistant</string>
<string name="not_find_describe">No description</string>
<string name="mod_name">Name</string>
<string name="mod_describe">Description</string>
<string name="mod_tags">Tags</string>
<string name="create_mod_lable">Create Mod</string>
<string name="filter">Filter</string>
<string name="create">Create</string>
<string name="name_error">Please enter the mod name.</string>
<string name="describe_error">Please enter the description.</string>
<string name="describe_error2">Please use \\n instead of newline.</string>
<string name="directory_error">Unable to create, the Mod is exists.</string>
<string name="mod_action1">Edit units</string>
<string name="mod_action2">Edit information</string>
<string name="mod_action4">Optimization</string>
<string name="mod_action8">Unzip</string>
<string name="not_find_units">Units was not found</string>
<string name="not_find_database">Database was not found</string>
<string name="use_database">Use</string>
<string name="unuse_dataabse">Used</string>
<string name="import_error1">Error unzipping file.</string>
<string name="import_error2">Error analysis file.</string>
<string name="import_error3">The mod already exists.</string>
<string name="import_error4">Error creating mod.</string>
<string name="database_null">This database can not load.</string>
<string name="import_effor7">Unrecognized paths:</string>
<string name="unit_search1">Search by unit name (support wild card characters * and ?)</string>
<string name="unit_search2">Advanced Search</string>
<string name="unit_search3">Include:</string>
<string name="unit_search4">Retrieve content by regular expression</string>
<string name="unit_search5">Rule:</string>
<string name="compiler_text1">Auto Add:</string>
<string name="edit_function">Save</string>
<string name="symbol9">Code code</string>
<string name="dialog_ok">Determination</string>
<string name="dialog_cancel">cancel</string>
<string name="search">Search</string>
<string name="unit_name_error">Please enter the unit name .</string>
<string name="loading_units">Loading units...</string>
<string name="dialog_close2">Background</string>
<string name="dialog_close_tip">Background Uziping.</string>
<string name="open_type">Open mode</string>
<string name="select_directents">Select a Directory</string>
<string name="select_file">Select a File</string>
<string name="no_file_was_selected">No file</string>
<string name="open">Open</string>
<string name="create_unit_complete">Unit Create Complete</string>
<string name="dialog_title2">Unzip</string>
<string name="dialog_unziping">Unziping %1$s...</string>
<string name="file_name">File Name:</string>
<string name="del_moding">Deleting</string>
<string name="file_manager">File Manager</string>
<string name="unit_error">Unable to create, the Unit is exists.</string>
<string name="mod_action9">Rename</string>
<string name="open_action1">Edit text</string>
<string name="open_action2">Import the mod</string>
<string name="open_action3">Unzip</string>
<string name="open_action4">System default mode</string>
<string name="loading_files">Load files...</string>
<string name="return_directents">Return</string>
<string name="filenum">Total of %1$s items</string>
<string name="create_unit">Create Unit</string>
<string name="unit_path">Create Path:%1$s</string>
<string name="key_notfind">key %1$s was found</string>
<string name="template_num">Total of %1$s template</string>
<string name="template_info">Template Information</string>
<string name="template_not_find_info">Not found template-info.txt</string>
<string name="change_path">Change</string>
<string name="copy_file_error">Failed to copy file.</string>
<string name="compiler_error1">\"%1$s\" Not a legal %2$s.</string>
<string name="symbol10">Undo</string>
<string name="editer_show_line_num">Show Line Number</string>
<string name="optimization1">Empty Files</string>
<string name="optimization2">Empty Folders</string>
<string name="optimization3">Backup files</string>
<string name="optimization4">Empty Line</string>
<string name="optimization5">Organize Code</string>
<string name="optimization6">Notes</string>
<string name="optimization7">Other language translation</string>
<string name="optimization8">Unused resource file</string>
<string name="messages_header">General</string>
<string name="sync_header">Developer options</string>
<string name="mod_title">Mod</string>
<string name="edit_title">Code</string>
<string name="reply_title">Language</string>
<string name="developers_mode">Developer Mode</string>
<string name="developers_mode_off">Template database developer options.</string>
<string name="database_directent">Database storage directory</string>
<string name="template_directent">Template storage directory</string>
<string name="auto_create_nomedia">Shield system map gallery scanning</string>
<string name="auto_create_nomedia_off">The media files will be scanned by the system photo album.</string>
<string name="auto_create_nomedia_on">The system album is prohibited from scanning the media files.</string>
<string name="auto_add_notes">Auto add notes</string>
<string name="auto_add_notes_off">Add comments to unrecognized code in case the game miserrors.</string>
<string name="create_unit_failed">Unit create failed</string>
<string name="create_uniting">Building Unit...</string>
<string name="folder_error">Cannot create, this folder already exists.</string>
<string name="unexpected_error">An unexpected error occurred and soft keyboard evoke failed</string>
<string name="create_folder">Create a Folder</string>
<string name="reload_files">Refresh</string>
<string name="open_game_test">Test this unit</string>
<string name="set_up">Settings</string>
<string name="template_title">Template</string>
<string name="only_load_coniant_language_template">Only load coniant language templates</string>
<string name="only_load_coniant_language_template_off">Other language templates will be hidden.</string>
<string name="set_action">Set Action</string>
<string name="action_type2">selectFile</string>
<string name="action_type1">input</string>
<string name="dialog_close_tip2">Background repairing.</string>
<string name="dialog_title3">Repair</string>
<string name="dialog_repair">repair %1$s Mod-info...</string>
<string name="repair_complete">"Repair complete "</string>
<string name="repair_failed">Repair failed</string>
<string name="file_not_exist">The file does not exist.</string>
<string name="not_find_template">Template was not found</string>
<string name="convert_template">Make template</string>
<string name="select_template">Select a template</string>
<string name="mod_action10">Repair the information file</string>
<string name="action">Action</string>
<string name="attach_tip">Additional files generated when building units using this template.</string>
<string name="add_attach_error">The file cannot be added repeatedly.</string>
<string name="attach">Attach</string>
<string name="template_name">Template name</string>
<string name="create_template">Create a template package</string>
<string name="template_name_error">Please enter a template name.</string>
<string name="template_developer_error">Please enter the developer.</string>
<string name="template_description_error">Please enter a description.</string>
<string name="template_update_error">Please enter an update link.</string>
<string name="template_version_num_error">Please enter the version number.</string>
<string name="template_version_name_error">Please enter a version name.</string>
<string name="template_developer">Developer</string>
<string name="template_error">Cannot create, this template already exists.</string>
<string name="template_description">Description</string>
<string name="template_update">Update link</string>
<string name="template_version_name">Version name</string>
<string name="template_version_num">Version number</string>
<string name="compiler_error2">No referenced section %1$s was found.</string>
<string name="compiler_error3">No file named %1$s was found, and should be at %2$s.</string>
<string name="type_information">explicate %1$s</string>
<string name="create_section">create %1$s section</string>
<string name="importing">Importing...</string>
<string name="import_name">Import</string>
<string name="import_complete">%1$s Import successed</string>
<string name="import_tip1">Open this file (%1$s)?</string>
<string name="import_tip2">Import this mod (%1$s)?</string>
<string name="auto_add_notes_complete">Comment was automatically added.</string>
<string name="set_up_auto_add_notes">Go to the settings off auto add notes</string>
<string name="format_failed">Foratting failed.</string>
<string name="developers_mode_on">Additional options have been provided within some features.</string>
<string name="add_file">Add file</string>
<string name="action_type">Type</string>
<string name="action_name">Display text:</string>
<string name="icon_tip">Template icon:</string>
<string name="add_icon_error">Invalid icon</string>
<string name="compilation_prompt">Compile log</string>
<string name="compilationing">Compile %1$.2f%%...</string>
<string name="location_info">at %1$s line %2$d :</string>
<string name="is_know">Not a code.</string>
<string name="need_name_error1">Section %1$s does not require an additional name.</string>
<string name="need_name_error2">Section %1$s requires an additional name.</string>
<string name="table_not_exist">[Database]The %1$s table is missing to achieve compilation consistent with your national language.</string>
<string name="goto_line">Jump to the wrong position</string>
<string name="know_data_tag">[Database Error]Unknown data label %1$s</string>
<string name="code_navigation">Code navigation</string>
<string name="not_find_code_navigation">There is no navigational code.</string>
<string name="night_mode">Dark theme</string>
<string name="night_mode_off">Do not turn on automatically.</string>
<string name="night_mode_on">Dark theme is enabled.</string>
<string name="code_language_on">English</string>
<string name="code_language_off">Chinese</string>
<string name="save_tip">Save the current content first.</string>
<string name="compilation_result_tip">Compilation completed with %1$s error in %2$s milliseconds.</string>
<string name="copy_rule">Copy rule</string>
<string name="copy_complete">Replicate %1$s.</string>
<string name="text_changed">You have files not yet saved, Do you want to save your changes?</string>
<string name="load_system_application">Display the system applications</string>
<string name="game_pack">Game pack</string>
<string name="select_the_game_pack">Select the game pack</string>
<string name="select_the_game_package_description">Set up the game package within your application list.</string>
<string name="code_report">[Code Report] Code %1$s is located in section %2$s</string>
<string name="copy_code_report">Copy the code reports</string>
<string name="copy_error_info">Copy the error message</string>
<string name="cannot_set_self_to_a_game">Cannot set self to a game</string>
<string name="no_game_installed">No game is installed.</string>
<string name="details">Details</string>
<string name="update_num">Updated %1$s record.</string>
<string name="update_on">Updateing...</string>
<string name="update_off">Update</string>
<string name="update_database">Update the database by using the existing Mod data.</string>
<string name="section">section</string>
<string name="enabled">Enabled</string>
<string name="disabled">Disabled</string>
<string name="add_extra_maps">Add additional maps for the path</string>
<string name="play_exclusively">Play exclusively when using this module</string>
<string name="parse_file_exception">File resolution exception</string>
<string name="select_image">Select image</string>
<string name="change_image">Change image</string>
<string name="del_image">Remove image</string>
<string name="select_game_pack">Select the game pack</string>
<string name="set_game_pack">Set up the game pack</string>
<string name="not_find_units_name">No unit found with a name containing %1$s, undo filtering</string>
<string name="not_find_units_action">undo filtering</string>
<string name="not_find_code_name">No code found for %1$s section, undo filtering</string>
<string name="not_find_section_name">No code for %1$s section found, unfiltering</string>
<string name="filtering">Filfiltering...</string>
<string name="unable_open_database">Unable not open the database</string>
<string name="enable_loop">Enable loop</string>
<string name="disabled_loop">Disable loop</string>
<string name="noloop">[noloop]</string>
<string name="change_path_ok">The creation directory was changed.</string>
<string name="symbol1">file</string>
<string name="no_enabled">Not enabled</string>
<string name="copy_file_error_change_directory">Copying file failed, please change the creation directory.</string>
<string name="copy">copy</string>
<string name="cut_off">cut</string>
<string name="copy_to_this">Copy to this</string>
<string name="identifier">identifier</string>
<string name="copy_failed">Copy failed</string>
<string name="cut_failed">Move failed</string>
<string name="cut_to_this">Move to this</string>
<string name="cut_board_operation">Cut-board operation</string>
<string name="copy_file_name">Copy the file name</string>
<string name="copy_file_path">Copy the file path</string>
<string name="file_operation">File operation</string>
<string name="copy_file_absolutely_path">Copy the absolute path (starting with ROOT)</string>
<string name="copy_file_absolutely_path_error">Copy the absolute path error.</string>
<string name="photo_album">photo album</string>
<string name="system_file_manager">file manager</string>
<string name="code_table">code table</string>
<string name="upgrade_database">The database you are using is outdated. Do you want to upgrade to the latest version?</string>
<string name="upgrade">upgrade</string>
<string name="upgrade_succeeded">Upgrade completed.</string>
<string name="upgrade_failed">Upgrade failed.</string>
<string name="uncategorized">uncategorized</string>
<string name="compiler_error4">No identifier %1$s was found.</string>
<string name="compiler_error5">Cannot find the %2$s key in the %1$s section.(bug)</string>
<string name="compiler_error7">Missing the necessary code %1$s, located in section %2$s.</string>
<string name="compiler_error8">The necessary section %1$s is missing</string>
<string name="compiler_error6">The %1$s should be located in the %2$s section.</string>
<string name="compiler_error9">%1$s is not entered.</string>
<string name="not_save_exit">quit</string>
<string name="saveing">Saving%1$s...</string>
<string name="save_complete">%1$s save is complete.</string>
<string name="create_key">Create%1$s</string>
<string name="symbol11">colour</string>
<string name="delete_unit">Delete Unit</string>
<string name="delete_unit_text">Do you want to delete the %1$s?</string>
<string name="bad_file_type">File format is illegal.</string>
<string name="set_success">Settings succeeded</string>
<string name="set_failed">Settings failed</string>
<string name="close">close</string>
<string name="load_database">Load the database...</string>
<string name="load_database_failed">The database load failed</string>
<string name="get_source_code">Get the source code</string>
<string name="source_code_prompt">Get the source code on the Github</string>
<string name="application_information">application message</string>
<string name="load_application">Load the application list...</string>
<string name="mod_icon">Mod icon:</string>
<string name="background_music">background music</string>
<string name="map">map</string>
<string name="add">add</string>
<string name="donation">"Donation "</string>
<string name="sub_donation">Donation of a rust assistant on aifadian</string>
<string name="subtitle">Hello,world!|A new start, a new experience.|2.0 Reset version</string>
</resources>

View File

@ -1,189 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">サビアシスタント</string>
<string name="dialog_title">権限申請</string>
<string name="dialog_msg29">モジュールリストの読み込み、ソースファイルの編集、モジュールのインポート、エクスポートなどのファイル権限を管理する必要があります。</string>
<string name="dialog_msg">モジュールリストの読み込み、ソースファイルの編集、モジュールのインポートとエクスポートなどのための保存権限が必要です。</string>
<string name="dialog_confirm">オーソライズ</string>
<string name="dialog_close">退く</string>
<string name="not_find_game">モジュールをロードできません。まずゲームをインストールしてください。</string>
<string name="not_find_mod">モジュールはありません。</string>
<string name="menu_title1">モジュール</string>
<string name="menu_title3">データベース</string>
<string name="FileImporter">サビアシスタントにインポート</string>
<string name="del_mod">削除</string>
<string name="not_find_describe">説明なし</string>
<string name="mod_name">名前</string>
<string name="mod_describe">説明</string>
<string name="mod_tags">ラベル</string>
<string name="create_mod_lable">モジュールの作成</string>
<string name="filter">フィルタリング</string>
<string name="create">作成</string>
<string name="name_error">モジュール名を入力してください。</string>
<string name="describe_error">説明を入力してください。</string>
<string name="describe_error2">改行の代わりに\\nを使用してください。</string>
<string name="directory_error">作成できません。モジュールはすでに存在します。</string>
<string name="mod_action1">単位の編集</string>
<string name="mod_action2">情報の編集</string>
<string name="mod_action4">最適化</string>
<string name="mod_action8">解凍</string>
<string name="not_find_units">ユニットが見つかりません</string>
<string name="not_find_database">データベースが見つかりません</string>
<string name="use_database">使用</string>
<string name="unuse_dataabse">使用済み</string>
<string name="import_error1">ファイルの解凍中にエラーが発生しました。</string>
<string name="import_error2">ファイルの解析エラー。</string>
<string name="import_error3">モジュールはすでに存在します。</string>
<string name="import_error4">モジュールの作成中にエラーが発生しました。</string>
<string name="database_null">このデータベースはロードできません。</string>
<string name="dialog_ok">確定</string>
<string name="dialog_cancel">キャンセル</string>
<string name="search">検索</string>
<string name="unit_name_error">単位名を入力してください。</string>
<string name="import_effor7">認識できないパス:</string>
<string name="unit_search1">単位名で検索(ワイルドカード*および?をサポート):</string>
<string name="unit_search2">高度な検索</string>
<string name="unit_search3">コンテンツを含める:</string>
<string name="unit_search4">正規表現によるコンテンツの取得</string>
<string name="unit_search5">正則を満たす:</string>
<string name="compiler_text1">自動追加:</string>
<string name="loading_units">単位をロード。。。</string>
<string name="symbol9">コードの照合</string>
<string name="edit_function">保存</string>
<string name="editer_show_line_num">表示行号</string>
<string name="optimization1">空のファイル</string>
<string name="optimization2">空のフォルダ</string>
<string name="optimization3">バックアップファイル</string>
<string name="optimization4">空行</string>
<string name="optimization5">コードの照合</string>
<string name="optimization6">コメント</string>
<string name="optimization7">その他の言語への翻訳</string>
<string name="optimization8">使用されていないリソースファイル</string>
<string name="symbol10">とりけす</string>
<string name="copy_file_error">ファイルのコピーに失敗しました。</string>
<string name="compiler_error1">\"%1$s\"は合法ではありません%2$s。</string>
<string name="dialog_close2">バックグラウンドタスク</string>
<string name="dialog_close_tip">バックグラウンド解凍中</string>
<string name="open_type">開く方法</string>
<string name="select_directents">ディレクトリを選択</string>
<string name="select_file">ファイルを選択</string>
<string name="no_file_was_selected">ファイルが選択されていません</string>
<string name="open">開く</string>
<string name="create_unit_complete">単位作成完了</string>
<string name="dialog_title2">解凍</string>
<string name="dialog_unziping">解凍 %1$s ...</string>
<string name="file_name">ファイル名:</string>
<string name="del_moding">削除中</string>
<string name="file_manager">"ファイルマネージャー "</string>
<string name="unit_error">作成できません。この単位はすでに存在します。</string>
<string name="mod_action9">名前の変更</string>
<string name="open_action1">テキストの編集</string>
<string name="open_action2">モジュールのインポート</string>
<string name="open_action3">ファイルの解凍</string>
<string name="open_action4">システムデフォルトでオン</string>
<string name="loading_files">ファイルをロード...</string>
<string name="return_directents">引き返す</string>
<string name="filenum">合計 %1$s 項目</string>
<string name="create_unit">単位の作成</string>
<string name="unit_path">パスの作成:%1$s</string>
<string name="key_notfind">見つかりませんでした %1$s キー</string>
<string name="template_num">合計%1$sつのテンプレート</string>
<string name="template_info">テンプレート情報</string>
<string name="template_not_find_info">見つかりませんでした template-info.txt</string>
<string name="change_path">変更</string>
<string name="create_unit_failed">単位の作成に失敗しました</string>
<string name="create_uniting">単位を作成中...</string>
<string name="folder_error">作成できません。このフォルダはすでに存在します。</string>
<string name="unexpected_error">予期しないエラーが発生しました。ソフトキーボードの起動に失敗しました</string>
<string name="create_folder">フォルダの作成</string>
<string name="reload_files">リフレッシュ</string>
<string name="open_game_test">この単位をテスト</string>
<string name="set_up">設定</string>
<string name="messages_header">一般</string>
<string name="sync_header">開発者オプション</string>
<string name="mod_title">モジュール</string>
<string name="edit_title">コード編集</string>
<string name="reply_title">言語</string>
<string name="developers_mode">開発者モード</string>
<string name="developers_mode_off">テンプレート、データベース開発者向けのオプション。</string>
<string name="database_directent">データベースのステージング・ディレクトリ</string>
<string name="template_directent">テンプレートのステージングディレクトリ</string>
<string name="auto_create_nomedia">マスクシステムギャラリースキャン</string>
<string name="auto_create_nomedia_off">メディアファイルはシステムアルバムでスキャンされます。</string>
<string name="auto_create_nomedia_on">システムアルバムでメディアファイルをスキャンできないようにした。</string>
<string name="auto_add_notes">コメントの自動追加</string>
<string name="auto_add_notes_off">認識されないコードにコメントを追加して、ゲームエラーが報告されないようにします。</string>
<string name="template_title">テンプレート</string>
<string name="only_load_coniant_language_template">言語に準拠したテンプレートのみをロード</string>
<string name="only_load_coniant_language_template_off">他の言語テンプレートは非表示になります。</string>
<string name="dialog_close_tip2">バックグラウンドしゅうふく</string>
<string name="dialog_title3">しゅうふく</string>
<string name="dialog_repair">%1$sの情報ファイルを修復中...</string>
<string name="repair_complete">修復完了</string>
<string name="repair_failed">修復に失敗しました</string>
<string name="file_not_exist">ファイルが存在しません。</string>
<string name="mod_action10">情報ファイルの修復</string>
<string name="not_find_template">テンプレートが見つかりません</string>
<string name="convert_template">テンプレートの作成</string>
<string name="select_template">テンプレートの選択</string>
<string name="set_action">アクティビティの設定</string>
<string name="action">活動</string>
<string name="attach_tip">このテンプレートを使用して単位を構築したときに生成される添付ファイル。</string>
<string name="add_attach_error">ファイルを繰り返し追加することはできません。</string>
<string name="attach">付け加える</string>
<string name="template_name">テンプレート名</string>
<string name="create_template">テンプレートパッケージの作成</string>
<string name="template_name_error">テンプレート名を入力してください。</string>
<string name="template_developer_error">開発者を入力してください。</string>
<string name="template_description_error">説明を入力してください。</string>
<string name="template_update_error">更新リンクを入力してください。</string>
<string name="template_version_num_error">バージョン番号を入力してください。</string>
<string name="template_version_name_error">バージョン名を入力してください。</string>
<string name="template_developer">開発者</string>
<string name="template_error">作成できません。このテンプレートはすでに存在します。</string>
<string name="template_description">説明</string>
<string name="template_update">リンクの更新</string>
<string name="template_version_name">バージョン名</string>
<string name="template_version_num">バージョン番号</string>
<string name="action_type1">にゅうりょく</string>
<string name="action_type2">ファイルを選択</string>
<string name="compiler_error2">参照されている%1$s節が見つかりません。</string>
<string name="compiler_error3">%1$sという名前のファイルが見つかりませんでした。%2$sにあります。</string>
<string name="type_information">解釈%1$s</string>
<string name="create_section">%1$s セクションの作成</string>
<string name="importing">インポート中...</string>
<string name="import_name">インポート</string>
<string name="import_complete">%1$sインポートに成功しました。</string>
<string name="import_tip1">このファイルを開く(%1$s)?</string>
<string name="import_tip2">このモジュールをインポート(%1$s)?</string>
<string name="auto_add_notes_complete">コメントが自動的に追加されました。</string>
<string name="set_up_auto_add_notes">設定オフに移動コメントの自動追加</string>
<string name="format_failed">フォーマットに失敗しました。</string>
<string name="add_file">ファイルを追加</string>
<string name="action_type">タイプ</string>
<string name="action_name">テキストの表示:</string>
<string name="icon_tip">テンプレートアイコン:</string>
<string name="add_icon_error">無効なアイコン。</string>
<string name="compilation_prompt">ログのコンパイル</string>
<string name="compilationing">コンパイル%1$.2f%%...</string>
<string name="location_info">%1$sの%2$d行目:</string>
<string name="is_know">コードではありません。</string>
<string name="need_name_error1">%1$sセクションには追加名は必要ありません。</string>
<string name="need_name_error2">%1$sセクションには追加名が必要です。</string>
<string name="table_not_exist">[データベース]お使いの国の言語に合わせてコンパイルするための %1$s テーブルがありません。</string>
<string name="goto_line">間違った場所にジャンプ</string>
<string name="know_data_tag">[データベースエラー]不明なデータラベル %1$s。</string>
<string name="code_navigation">コードナビゲーション</string>
<string name="not_find_code_navigation">ナビゲートするコードがありません。</string>
<string name="night_mode">暗いテーマ</string>
<string name="night_mode_off">すべて自動的にオンにしません。</string>
<string name="night_mode_on">暗いテーマが有効になっています。</string>
<string name="code_language_on">英語</string>
<string name="code_language_off">日本語</string>
<string name="save_tip">まず現在のコンテンツを保存してください。</string>
<string name="copy_rule">規則のコピー</string>
<string name="copy_complete">コピー済み%1$s。</string>
<string name="compilation_result_tip">コンパイルが完了し、合計%1$s個のエラーが発生し、%2$sミリ秒かかりました。</string>
<string name="developers_mode_on">一部の機能に追加オプションが用意されています。</string>
<string name="subtitle">こんにちは、世界!|新しいスタート、新しい体験。|バージョン2.0のリセット|こんにちは!</string>
</resources>

View File

@ -1,25 +0,0 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!--夜间主题 -->
<style name="Theme.rust.Base" parent="Theme.MaterialComponents.DayNight">
<!--主要颜色-->
<item name="colorPrimary">@color/blue_500</item>
<item name="colorPrimaryVariant">@color/blue_200</item>
<item name="colorOnPrimary">@color/white_500</item>
<!--次要颜色-->
<item name="colorSecondary">@color/pink_200</item>
<item name="colorSecondaryVariant">@color/pink_700</item>
<item name="colorOnSecondary">@color/white</item>
<!-- Status bar color. -->
<!--item name="android:windowBackground">@color/gray_200</item-->
<!--item name="android:statusBarColor" tools:targetApi="l">@color/gray_700</item-->
<!-- Customize your theme here. -->
</style>
<style name="Theme.rust.NoActionBar" parent="Theme.rust.Base">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
</resources>

View File

@ -1,188 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="dialog_title">權限申請</string>
<string name="app_name">鐵銹助手</string>
<string name="dialog_msg29">我們需要管理文件權限,用於讀取模組列表,編輯源文件,導入導出模組等等。</string>
<string name="dialog_msg">我們需要存儲權限,用於讀取模組列表,編輯源文件,導入導出模組等等。</string>
<string name="dialog_confirm">授權</string>
<string name="dialog_close">退出</string>
<string name="not_find_game">無法加載模組,請先安裝遊戲。</string>
<string name="not_find_mod">沒有模組。</string>
<string name="menu_title1">模組</string>
<string name="menu_title3">數據庫</string>
<string name="del_mod">刪除</string>
<string name="FileImporter">導入到鐵銹助手</string>
<string name="not_find_describe">沒有描述</string>
<string name="mod_name">名稱</string>
<string name="mod_describe">描述</string>
<string name="mod_tags">標簽</string>
<string name="create_mod_lable">創建模組</string>
<string name="filter">過濾</string>
<string name="create">創建</string>
<string name="name_error">請輸入模組名稱。</string>
<string name="describe_error">請輸入描述。</string>
<string name="describe_error2">請使用\\n代替換行。</string>
<string name="directory_error">無法創建,此模組已存在。</string>
<string name="mod_action1">編輯單位</string>
<string name="mod_action2">編輯信息</string>
<string name="mod_action4">優化</string>
<string name="mod_action8">解壓</string>
<string name="import_error1">解壓文件時出錯。</string>
<string name="import_error2">解析文件錯誤。</string>
<string name="import_error3">模組已存在。</string>
<string name="import_error4">創建模組出錯。</string>
<string name="database_null">此數據庫無法加載。</string>
<string name="not_find_units">沒有找到單位</string>
<string name="not_find_database">沒有找到數據庫</string>
<string name="use_database">使用</string>
<string name="unuse_dataabse">已使用</string>
<string name="dialog_ok">確定</string>
<string name="dialog_cancel">取消</string>
<string name="search">搜索</string>
<string name="unit_name_error">請輸入單位名稱。</string>
<string name="loading_units">加載單位...</string>
<string name="symbol9">整理代碼</string>
<string name="edit_function">保存</string>
<string name="unit_search1">按單位名搜索(支持通配符*和?):</string>
<string name="unit_search2">高級搜索</string>
<string name="unit_search3">包含内容:</string>
<string name="unit_search4">按正則表達式檢索內容</string>
<string name="unit_search5">滿足正則:</string>
<string name="compiler_text1">自動添加</string>
<string name="import_effor7">不可識別的路徑:</string>
<string name="dialog_close2">後臺</string>
<string name="dialog_close_tip">已轉到後臺解壓。</string>
<string name="open_type">打開方式</string>
<string name="select_directents">選擇目錄</string>
<string name="select_file">選擇文件</string>
<string name="no_file_was_selected">沒有選擇任何文件</string>
<string name="open">打開</string>
<string name="create_unit_complete">單位創建完成</string>
<string name="create_unit_failed">單位創建失敗</string>
<string name="create_uniting">正在構建單位...</string>
<string name="dialog_title2">解壓</string>
<string name="dialog_unziping">正在解壓%1$s...</string>
<string name="file_name">文件名:</string>
<string name="del_moding">正在刪除</string>
<string name="file_manager">文件管理器</string>
<string name="unit_error">無法創建,此單位已存在。</string>
<string name="folder_error">無法創建,此文件夾已存在。</string>
<string name="mod_action9">重命名</string>
<string name="open_action1">編輯文本</string>
<string name="open_action2">導入模組</string>
<string name="open_action3">解壓文件</string>
<string name="open_action4">系統默認方式打開</string>
<string name="loading_files">加載文件...</string>
<string name="return_directents">返回</string>
<string name="filenum">共 %1$s 個項目</string>
<string name="set_up">設置</string>
<string name="messages_header">常規</string>
<string name="auto_add_notes_off">為無法識別的代碼添加註釋,以防遊戲報錯。</string>
<string name="auto_add_notes">自動添加註釋</string>
<string name="auto_create_nomedia_on">已禁止系統相冊掃描媒體文件。</string>
<string name="auto_create_nomedia_off">媒體文件將被系統相冊掃描。</string>
<string name="only_load_coniant_language_template_off">其他語言模板將被隱藏。</string>
<string name="create_unit">創建單位</string>
<string name="unit_path">創建路徑:%1$s</string>
<string name="key_notfind">沒有找到 %1$s 鍵</string>
<string name="template_num">共%1$s個模板</string>
<string name="template_info">模板信息</string>
<string name="template_not_find_info">沒有找到 template-info.txt</string>
<string name="change_path">更改</string>
<string name="copy_file_error">復製文件失敗。</string>
<string name="unexpected_error">發生了一次意外錯誤,軟鍵盤喚起失敗</string>
<string name="symbol10">撤銷</string>
<string name="create_folder">創建文件夾</string>
<string name="reload_files">刷新</string>
<string name="open_game_test">測試此單位</string>
<string name="compiler_error1">\"%1$s\"不是合法的%2$s。</string>
<string name="editer_show_line_num">展示行號</string>
<string name="optimization1">空文件</string>
<string name="optimization2">空文件夾</string>
<string name="optimization3">備份文件</string>
<string name="optimization4">空行</string>
<string name="optimization5">整理代碼</string>
<string name="optimization6">註釋</string>
<string name="optimization7">其他語言翻譯</string>
<string name="optimization8">未用到的資源文件</string>
<string name="sync_header">開發者選項</string>
<string name="mod_title">模組</string>
<string name="edit_title">代碼編輯</string>
<string name="template_title">模板</string>
<string name="reply_title">語言</string>
<string name="developers_mode">開發者模式</string>
<string name="developers_mode_off">面向模板,數據庫開發者的選項。</string>
<string name="database_directent">數據庫存放目錄</string>
<string name="template_directent">模板存放目錄</string>
<string name="auto_create_nomedia">屏蔽系統圖庫掃描</string>
<string name="only_load_coniant_language_template">僅加載符合語言的模板</string>
<string name="dialog_title3">修復</string>
<string name="dialog_repair">正在修復%1$s的信息文件...</string>
<string name="repair_complete">修復完成</string>
<string name="repair_failed">修復失敗</string>
<string name="file_not_exist">文件不存在。</string>
<string name="mod_action10">修復信息文件</string>
<string name="convert_template">製作模板</string>
<string name="select_template">選擇模板</string>
<string name="set_action">設置活動</string>
<string name="action">活動</string>
<string name="attach_tip">使用此模板構建單位時,生成的附加文件。</string>
<string name="add_attach_error">不能重復添加文件。</string>
<string name="attach">附加</string>
<string name="template_name">模板名稱</string>
<string name="create_template">創建模板包</string>
<string name="template_name_error">請輸入模板名稱。</string>
<string name="template_developer_error">請輸入開發者。</string>
<string name="template_description_error">請輸入描述。</string>
<string name="template_update_error">請輸入更新鏈接。</string>
<string name="template_version_num_error">請輸入版本號。</string>
<string name="template_version_name_error">請輸入版本名。</string>
<string name="template_developer">開發者</string>
<string name="template_error">無法創建,此模板已存在。</string>
<string name="template_description">描述</string>
<string name="template_update">更新鏈接</string>
<string name="template_version_name">版本名</string>
<string name="template_version_num">版本號</string>
<string name="action_type1">输入</string>
<string name="action_type2">選擇文件</string>
<string name="compiler_error2">找不到引用的%1$s節。</string>
<string name="compiler_error3">找不到名為%1$s的文件應位於%2$s。</string>
<string name="type_information">解釋%1$s</string>
<string name="create_section">創建 %1$s 節</string>
<string name="importing">導入中...</string>
<string name="import_name">導入</string>
<string name="import_complete">%1$s 導入成功。</string>
<string name="import_tip1">打開此文件(%1$s)?</string>
<string name="import_tip2">導入此模組(%1$s)?</string>
<string name="auto_add_notes_complete">已自動添加註釋。</string>
<string name="set_up_auto_add_notes">前往設置關閉自動添加註釋</string>
<string name="format_failed">格式化失敗。</string>
<string name="developers_mode_on">已在某些功能內提供額外的選項。</string>
<string name="add_file">添加文件</string>
<string name="action_type">類型</string>
<string name="action_name">顯示文本:</string>
<string name="icon_tip">模板圖標:</string>
<string name="add_icon_error">無效的圖標。</string>
<string name="dialog_close_tip2">已轉到後臺修復。</string>
<string name="compilation_prompt">編譯日誌</string>
<string name="compilationing">編譯%1$.2f%%...</string>
<string name="location_info">位於%1$s第%2$d行</string>
<string name="is_know">不是代碼。</string>
<string name="night_mode">深色主題</string>
<string name="not_find_template">沒有找到模板</string>
<string name="compilation_result_tip">編譯完成,共%1$s個錯誤,耗時%2$s毫秒。</string>
<string name="copy_complete">已復製%1$s。</string>
<string name="need_name_error1">%1$s節不需要附加名。</string>
<string name="need_name_error2">%1$s節需要附加名。</string>
<string name="table_not_exist">[數據庫]缺少 %1$s 表,以實現符合您的國家語言的編譯。</string>
<string name="copy_rule">復製規則</string>
<string name="save_tip">請先保存當前內容。</string>
<string name="code_language_off">中文</string>
<string name="code_language_on">英文</string>
<string name="night_mode_on">已啟用深色主題。</string>
<string name="night_mode_off">一律不自動開啟。</string>
<string name="not_find_code_navigation">沒有可導航的代碼。</string>
<string name="code_navigation">代碼導航</string>
<string name="know_data_tag">[數據庫錯誤]未知的數據標簽 %1$s 。</string>
<string name="goto_line">跳轉到錯誤位置</string>
</resources>

Some files were not shown because too many files have changed in this diff Show More