add reset button

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-10-28 21:05:43 +01:00
parent 2aac51d8bb
commit 9f7c899368
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220
2 changed files with 15 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1"
android:paddingStart="8dp"
@ -48,4 +48,17 @@
tools:text="an hour" />
</LinearLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/reset_status_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="48dp"
android:minHeight="48dp"
android:layout_gravity="center"
android:backgroundTint="@android:color/darker_gray"
android:textColor="@android:color/holo_red_light"
android:text= "@string/reset_status"
android:textSize="14sp"
android:padding="8dp"/>
</LinearLayout>

View File

@ -381,6 +381,7 @@ How to translate with transifex:
<string name="fourHours">4 hours</string>
<string name="thisWeek">This week</string>
<string name="secondsAgo">seconds ago</string>
<string name="reset_status">Reset status</string>
<!-- Conversations List-->
<string name="nc_new_mention">Unread mentions</string>