Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
edited all
Browse files Browse the repository at this point in the history
  • Loading branch information
nisaefendioglu committed Apr 12, 2022
1 parent 0e09d9d commit 0b57bd0
Show file tree
Hide file tree
Showing 33 changed files with 41 additions and 100 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/gradient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<shape>
<gradient
android:startColor="@color/white"
android:endColor="@color/purple_500"
android:endColor="#7b9afc"
android:angle="135"/>
</shape>
</item>
Expand Down
74 changes: 0 additions & 74 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/main/res/drawable/spinner_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<layer-list>
<item>
<shape android:shape="rectangle">
<solid android:color="@color/purple_200"/>
<solid android:color="@color/black"/>
<padding android:right="12dp"
android:left="12dp"/>
<corners android:radius="4dp"/>
<corners android:radius="15dp"/>
<stroke android:color="#000000" android:width="1dp" />
</shape>

Expand Down
Binary file modified app/src/main/res/drawable/translate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/translator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginTop="30dp"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="horizontal">
Expand Down Expand Up @@ -73,7 +73,7 @@
android:id="@+id/enterText"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_margin="5dp"
android:layout_margin="10dp"
android:background="@drawable/rectangle"
android:ems="10"
android:gravity="top"
Expand Down Expand Up @@ -111,7 +111,7 @@
android:layout_gravity="center"
android:text="Translate"
android:textSize="17dp"
android:layout_marginTop="5dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="5dp"
tools:layout_editor_absoluteX="23dp"
tools:layout_editor_absoluteY="390dp" />
Expand All @@ -125,7 +125,7 @@
android:id="@+id/result"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_margin="5dp"
android:layout_margin="10dp"
android:background="@drawable/rectangle"
android:gravity="top"
android:scrollbars="vertical"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_progress_bar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
app:layout_constraintStart_toStartOf="parent"
android:layout_margin="12dp"
android:text="Downloading Language"
android:textColor="@color/black"
android:textColor="#7b9afc"
/>
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/pb"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/splash_screen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center"
android:background="@drawable/translate" />
android:background="@drawable/translator" />

<TextView
android:layout_width="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
2 changes: 1 addition & 1 deletion app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<style name="Theme.Translate" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/black</item>
<item name="colorOnPrimary">@color/black</item>
<item name="colorPrimaryVariant">@color/white</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<item name="colorOnSecondary">@color/white</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_500">@color/black</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>
17 changes: 12 additions & 5 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
<resources>
<string name="app_name">translate</string>
<string name="app_name">Translate</string>
<string name="title_home">Home</string>
<string name="title_dashboard">Dashboard</string>
<string name="title_notifications">Notifications</string>

<string name="splash_screen">Im here when you need translation 👀</string>
<string name="translate">Lets Translate 👻</string>
<string name="enter">Enter Text</string>
<string name="detected">Language Detected Please 👆</string>
<string name="gototranslation">Translate</string>
<string name="translated">Translated Text</string>


<string-array name="languages_supporteds">
<item>English</item>
<item>French</item>
<item>Arabic </item>
<item>Belarusian </item>
<item>Bulgarian </item>
<item>Bengali </item>
<item>Catalan </item>
<item> Czech </item>
<item>Czech </item>
<item>Welsh </item>
<item>Danish </item>
<item>German</item>
Expand All @@ -22,7 +31,6 @@
<item>Estonian</item>
<item>Persian</item>
<item>Finnish</item>
<item>French</item>
<item>Irish</item>
<item>Galician</item>
<item>Gujarati</item>
Expand Down Expand Up @@ -67,7 +75,7 @@
</string-array>

<string-array name="languages_supported1">
<item>Auto-Detect</item>
<item>Turkish</item>
<item>English</item>
<item>Arabic </item>
<item>Belarusian </item>
Expand Down Expand Up @@ -122,7 +130,6 @@
<item>Telugu</item>
<item>Thai</item>
<item>Tagalog</item>
<item>Turkish</item>
<item>Ukrainian</item>
<item>Urdu</item>
<item>Vietnamese</item>
Expand Down

0 comments on commit 0b57bd0

Please sign in to comment.