diff --git a/README.md b/README.md index 767e890..08e4353 100644 --- a/README.md +++ b/README.md @@ -60,4 +60,4 @@ We welcome contributions! Please follow these steps: ## 📜 License -Distributed under the GPL-v3. See [LICENSE](LICENSE) for more information. \ No newline at end of file +Distributed under the GNU GPL-3.0. See [LICENSE](LICENSE) for more information. diff --git a/main/src/main/res/layout/activity_editor.xml b/main/src/main/res/layout/activity_editor.xml index 50de505..a8ee7f3 100644 --- a/main/src/main/res/layout/activity_editor.xml +++ b/main/src/main/res/layout/activity_editor.xml @@ -1,24 +1,23 @@ - + android:layout_height="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:layout_height="?attr/actionBarSize" + app:title="@string/app_name" /> @@ -51,54 +50,55 @@ android:src="@drawable/redo" /> - + android:layout_height="match_parent" + android:layout_below="@id/tabs_undo_redo" + android:id="@+id/view_pager" /> + + android:layout_height="match_parent" + android:layout_gravity="start"> + android:layout_width="wrap_content" + android:layout_height="match_parent"> + app:menuGravity="bottom" /> + android:layout_toEndOf="@+id/nav_rail" + android:text="Title" + android:textSize="25sp" /> + android:layout_toEndOf="@+id/nav_rail" +> diff --git a/main/src/main/res/layout/activity_main.xml b/main/src/main/res/layout/activity_main.xml index 77feb53..e75cfa5 100644 --- a/main/src/main/res/layout/activity_main.xml +++ b/main/src/main/res/layout/activity_main.xml @@ -1,6 +1,5 @@ - @@ -17,26 +16,26 @@ android:layout_width="match_parent" android:layout_height="45dp" android:layout_below="@id/toolbar" + android:gravity="end|center_vertical" android:orientation="horizontal" - android:padding="8dp" - android:gravity="end|center_vertical"> + android:padding="8dp"> + android:contentDescription="@string/new_project" + android:src="@drawable/plus" /> + android:layout_marginTop="8dp" + android:background="?android:attr/listDivider" /> - diff --git a/main/src/main/res/layout/dialog_new_file_layout.xml b/main/src/main/res/layout/dialog_new_file_layout.xml index 46447fb..f81031f 100644 --- a/main/src/main/res/layout/dialog_new_file_layout.xml +++ b/main/src/main/res/layout/dialog_new_file_layout.xml @@ -1,56 +1,56 @@ - + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:selectionRequired="true" + app:singleSelection="true"> - + + + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/folder" /> + app:startIconDrawable="@drawable/plus"> + android:layout_height="wrap_content" /> + android:textColor="?attr/colorError" + android:textSize="16sp" + android:visibility="gone" /> diff --git a/main/src/main/res/layout/empty_projects_recycler_layout.xml b/main/src/main/res/layout/empty_projects_recycler_layout.xml index 2037704..d2fadf5 100644 --- a/main/src/main/res/layout/empty_projects_recycler_layout.xml +++ b/main/src/main/res/layout/empty_projects_recycler_layout.xml @@ -1,26 +1,24 @@ - - + android:textStyle="bold" /> + + android:textStyle="italic" /> diff --git a/main/src/main/res/layout/fragment_file_tree.xml b/main/src/main/res/layout/fragment_file_tree.xml index a9966f0..dab6b50 100644 --- a/main/src/main/res/layout/fragment_file_tree.xml +++ b/main/src/main/res/layout/fragment_file_tree.xml @@ -1,7 +1,5 @@ - diff --git a/main/src/main/res/layout/item_project.xml b/main/src/main/res/layout/item_project.xml index 8d243b8..d2f5d21 100644 --- a/main/src/main/res/layout/item_project.xml +++ b/main/src/main/res/layout/item_project.xml @@ -1,40 +1,36 @@ - + android:clickable="true" + android:gravity="center_vertical" + android:orientation="horizontal"> + android:layout_width="30dp" + android:layout_height="match_parent" + android:layout_marginStart="12dp" + android:importantForAccessibility="no" + android:src="@drawable/folder" /> + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:textSize="20sp" /> + android:layout_width="45dp" + android:layout_height="match_parent" + android:contentDescription="@string/more" + android:src="@drawable/more" /> - + \ No newline at end of file diff --git a/main/src/main/res/values/strings.xml b/main/src/main/res/values/strings.xml index 4ef6075..a15fd68 100644 --- a/main/src/main/res/values/strings.xml +++ b/main/src/main/res/values/strings.xml @@ -1,18 +1,18 @@ Web Android IDE - You no have projects + You have no projects New project Create project Project name - Project name cannot be empty - Project successful created + Project name can\'t be empty + Project successfully created Failed to create project Project already exists Cancel More Remove - Create + Create Invalid name New File/Folder File @@ -21,8 +21,8 @@ Create file Rename file Rename folder - Folder name cannot be empty - File name cannot be empty + Folder name can\'t be empty + File name can\'t be empty Folder name Folder File already exists diff --git a/main/src/main/res/values/themes.xml b/main/src/main/res/values/themes.xml index 1427a4a..48ff326 100644 --- a/main/src/main/res/values/themes.xml +++ b/main/src/main/res/values/themes.xml @@ -1,35 +1,35 @@ - + \ No newline at end of file