-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unnecessary string resources
- Loading branch information
Showing
4 changed files
with
65 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,5 @@ | ||
<resources> | ||
<string name="app_name">تقویم پارسی</string> | ||
<string name="saturday">شنبه</string> | ||
<string name="sunday">یکشنبه</string> | ||
<string name="monday">دوشنبه</string> | ||
<string name="tuesday">سه شنبه</string> | ||
<string name="wednesdays">چهارشنبه</string> | ||
<string name="thursday">پنجشنبه</string> | ||
<string name="friday">جمعه</string> | ||
<string name="events_of_this_day">مناسبت های این روز :</string> | ||
<string name="set_a_work_to_do">کاری برای انجام در این روز تنظیم کنید</string> | ||
<string name="google_calendar_events">رویدادهای تقویم گوگل :</string> | ||
<string name="last_month">ماه قبل</string> | ||
<string name="next_month">ماه بعد</string> | ||
<string name="farvardin">فروردین</string> | ||
<string name="ordibehesht">اردیبهشت</string> | ||
<string name="khordad">خرداد</string> | ||
<string name="tir">تیر</string> | ||
<string name="mordad">مرداد</string> | ||
<string name="shahrivar">شهریور</string> | ||
<string name="mehr">مهر</string> | ||
<string name="aban">آبان</string> | ||
<string name="azar">آذر</string> | ||
<string name="dey">دی</string> | ||
<string name="bahman">بهمن</string> | ||
<string name="esfand">اسفند</string> | ||
<string name="january">ژانویه</string> | ||
<string name="february">فوریه</string> | ||
<string name="march">مارس</string> | ||
<string name="april">آوریل</string> | ||
<string name="may">مه</string> | ||
<string name="jun">ژوئن</string> | ||
<string name="july">ژوئیه</string> | ||
<string name="august">اوت</string> | ||
<string name="september">سپتامبر</string> | ||
<string name="october">اکتبر</string> | ||
<string name="november">نوامبر</string> | ||
<string name="december">دسامبر</string> | ||
<string name="no_events">مناسبتی برای این روز وجود ندارد</string> | ||
<string name="google_calendar_is_not_installed">برای استفاده از این ویژگی نیاز است که برنامه تقویم گوگل را نصب نمایید</string> | ||
<string name="persian_full_date">%1s %2s %3s %4s</string> | ||
<string name="gregorian_full_date">%1s %2s %3s</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
141 changes: 62 additions & 79 deletions
141
features/calendar-details/src/main/res/layout/fragment_dialog_date_details.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,79 @@ | ||
<?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" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<TextView | ||
android:id="@+id/txtPersianDate" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:background="@color/colorPrimary" | ||
android:gravity="center" | ||
android:padding="8dp" | ||
android:textColor="@android:color/primary_text_dark" | ||
android:textSize="20sp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/txtGregorianDate" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:background="@color/colorPrimary" | ||
android:gravity="center" | ||
android:padding="8dp" | ||
android:textColor="@android:color/primary_text_dark" | ||
android:textSize="18sp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/txtPersianDate" /> | ||
<Button | ||
android:id="@+id/btnAddEvent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="8dp" | ||
android:text="@string/set_a_work_to_do" | ||
android:textColor="@android:color/white" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
|
||
<ScrollView | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintBottom_toTopOf="@id/btnAddEvent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/txtGregorianDate"> | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintBottom_toTopOf="@id/btnAddEvent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/txtGregorianDate"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="8dp" | ||
android:layout_marginEnd="8dp" | ||
android:text="@string/events_of_this_day" | ||
android:textColor="@color/colorAccent" | ||
android:textSize="14sp" /> | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:id="@+id/txtDayEvents" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginEnd="8dp" | ||
android:textSize="12sp" /> | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="8dp" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="8dp" | ||
android:text="@string/events_of_this_day" | ||
android:textColor="@color/colorAccent" | ||
android:textSize="14sp" /> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="8dp" | ||
android:layout_marginEnd="8dp" | ||
android:text="@string/google_calendar_events" | ||
android:textColor="@color/colorAccent" | ||
android:textSize="14sp" /> | ||
android:id="@+id/txtDayEvents" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="8dp" | ||
android:layout_marginStart="8dp" | ||
android:textSize="12sp" /> | ||
|
||
<TextView | ||
android:id="@+id/txtCalendarEvents" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginEnd="8dp" | ||
android:textSize="12sp" /> | ||
</LinearLayout> | ||
</ScrollView> | ||
|
||
<Button | ||
android:id="@+id/btnAddEvent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="8dp" | ||
android:text="@string/set_a_work_to_do" | ||
android:textColor="@android:color/white" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
<TextView | ||
android:id="@+id/txtPersianDate" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:background="@color/colorPrimary" | ||
android:gravity="center" | ||
android:padding="8dp" | ||
android:textColor="@android:color/primary_text_dark" | ||
android:textSize="20sp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/txtGregorianDate" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:background="@color/colorPrimary" | ||
android:gravity="center" | ||
android:padding="8dp" | ||
android:textColor="@android:color/primary_text_dark" | ||
android:textSize="18sp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/txtPersianDate" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file was deleted.
Oops, something went wrong.