Adds back button xml ui

This commit is contained in:
ericdecanini 2022-05-09 16:58:15 +02:00
parent 20a72e640b
commit fee96b45bc
2 changed files with 30 additions and 4 deletions

View File

@ -24,8 +24,7 @@
<com.google.android.material.appbar.MaterialToolbar <com.google.android.material.appbar.MaterialToolbar
android:id="@+id/groupToolbar" android:id="@+id/groupToolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:paddingTop="24dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -122,11 +121,37 @@
</RelativeLayout> </RelativeLayout>
<ImageView
android:id="@+id/back_button_chevron"
android:layout_width="20dp"
android:layout_height="20dp"
android:importantForAccessibility="no"
android:src="@drawable/ic_arrow_right"
android:rotation="180"
app:layout_constraintTop_toTopOf="@id/back_button_text"
app:layout_constraintBottom_toBottomOf="@id/back_button_text"
app:layout_constraintStart_toStartOf="parent"
app:tint="@color/palette_element_green" />
<TextView
android:id="@+id/back_button_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/chats"
android:layout_marginStart="6dp"
android:layout_marginTop="16dp"
android:textSize="17sp"
android:textColor="@color/palette_element_green"
app:layout_constraintStart_toEndOf="@id/back_button_chevron"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/all_chats_layout" android:id="@+id/all_chats_layout"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" android:layout_marginTop="16dp"
android:paddingBottom="8dp"
app:layout_constraintTop_toBottomOf="@id/back_button_chevron"
app:layout_constraintStart_toStartOf="parent"> app:layout_constraintStart_toStartOf="parent">
<TextView <TextView

View File

@ -3038,5 +3038,6 @@
<string name="screen_sharing_notification_title">${app_name} Screen Sharing</string> <string name="screen_sharing_notification_title">${app_name} Screen Sharing</string>
<string name="screen_sharing_notification_description">Screen sharing is in progress</string> <string name="screen_sharing_notification_description">Screen sharing is in progress</string>
<string name="all_chats">All Chats</string> <string name="all_chats">All Chats</string>
<string name="choose_a_space">Choose a space</string> <string name="choose_a_space">Spaces</string>
<string name="chats">Chats</string>
</resources> </resources>