Changed styles

This commit is contained in:
Agnieszka C 2024-01-09 23:54:11 +01:00
parent 8d8fe4c32c
commit bb03460dfd

View file

@ -23,16 +23,15 @@
<TextView <TextView
android:id="@+id/notifications_heading" android:id="@+id/notifications_heading"
style="@style/MaterialSectionLabelStyle" style="@style/SettingsSectionLabelStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginEnd="@dimen/activity_margin"
android:visibility="gone" android:visibility="gone"
android:text="@string/notifications" /> android:text="@string/notifications" />
<RelativeLayout <RelativeLayout
android:id="@+id/custom_notifications_holder" android:id="@+id/custom_notifications_holder"
style="@style/SettingsHolderCheckboxStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"> android:visibility="gone">
@ -42,24 +41,25 @@
style="@style/SettingsCheckboxStyle" style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="@dimen/bigger_margin"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginEnd="@dimen/activity_margin"
android:layout_marginBottom="@dimen/bigger_margin"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/enable_custom_notifications" /> android:text="@string/enable_custom_notifications" />
</RelativeLayout> </RelativeLayout>
<org.fossify.commons.views.MyTextView <RelativeLayout
android:id="@+id/custom_notifications_button" android:id="@+id/custom_notifications_button_holder"
android:layout_width="wrap_content" style="@style/SettingsHolderTextViewOneLinerStyle"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_marginStart="@dimen/activity_margin" android:layout_height="wrap_content">
android:layout_marginEnd="@dimen/activity_margin"
android:layout_marginBottom="@dimen/bigger_margin" <org.fossify.commons.views.MyTextView
android:visibility="gone" android:id="@+id/custom_notifications_button"
android:text="@string/customize_notifications" /> style="@style/SettingsTextLabelStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:text="@string/customize_notifications" />
</RelativeLayout>
<include <include
android:id="@+id/settings_conversation_notifications_divider" android:id="@+id/settings_conversation_notifications_divider"
@ -67,31 +67,32 @@
<TextView <TextView
android:id="@+id/conversation_name_heading" android:id="@+id/conversation_name_heading"
style="@style/MaterialSectionLabelStyle" style="@style/SettingsSectionLabelStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginEnd="@dimen/activity_margin"
android:text="@string/conversation_name" /> android:text="@string/conversation_name" />
<org.fossify.commons.views.MyTextView <RelativeLayout
android:id="@+id/conversation_name" android:id="@+id/settings_customize_notifications_holder"
style="@style/SettingsHolderTextViewOneLinerStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:layout_marginTop="@dimen/small_margin"
android:background="?attr/selectableItemBackground" <org.fossify.commons.views.MyTextView
android:clickable="true" android:id="@+id/conversation_name"
android:drawableEnd="@drawable/ic_edit_vector" android:layout_width="match_parent"
android:drawablePadding="@dimen/bigger_margin" android:layout_height="wrap_content"
android:ellipsize="end" android:background="?attr/selectableItemBackground"
android:focusable="true" android:clickable="true"
android:maxLines="1" android:drawableEnd="@drawable/ic_edit_vector"
android:paddingStart="@dimen/activity_margin" android:drawablePadding="@dimen/bigger_margin"
android:paddingTop="@dimen/bigger_margin" android:ellipsize="end"
android:paddingEnd="@dimen/activity_margin" android:focusable="true"
android:paddingBottom="@dimen/bigger_margin" android:maxLines="1"
android:textSize="@dimen/bigger_text_size" android:textSize="@dimen/bigger_text_size"
tools:text="Conversation name" /> tools:text="Conversation name" />
</RelativeLayout>
<include <include
android:id="@+id/settings_conversation_name_divider" android:id="@+id/settings_conversation_name_divider"
@ -99,18 +100,15 @@
<TextView <TextView
android:id="@+id/members_heading" android:id="@+id/members_heading"
style="@style/MaterialSectionLabelStyle" style="@style/SettingsSectionLabelStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginEnd="@dimen/activity_margin"
android:text="@string/members" /> android:text="@string/members" />
<org.fossify.commons.views.MyRecyclerView <org.fossify.commons.views.MyRecyclerView
android:id="@+id/participants_recyclerview" android:id="@+id/participants_recyclerview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginTop="@dimen/normal_margin"
android:clipToPadding="false" android:clipToPadding="false"
app:layoutManager="org.fossify.commons.views.MyLinearLayoutManager" app:layoutManager="org.fossify.commons.views.MyLinearLayoutManager"
tools:itemCount="3" tools:itemCount="3"