Update activity_settings.xml

This commit is contained in:
Tibor Kaputa 2021-11-23 12:27:49 +01:00 committed by GitHub
parent f8addc7a1e
commit 6363d8d511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,33 +57,6 @@
android:text="@string/customize_widget_colors" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_highlight_weekends_color_holder"
style="@style/SettingsHolderTextViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_highlight_weekends_color_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:layout_centerVertical="true"
android:layout_toStartOf="@+id/settings_highlight_weekends_color"
android:text="@string/highlight_weekends_color" />
<ImageView
android:id="@+id/settings_highlight_weekends_color"
android:layout_width="@dimen/color_sample_size"
android:layout_height="@dimen/color_sample_size"
android:layout_alignParentEnd="true"
android:layout_marginEnd="@dimen/medium_margin"
android:clickable="false" />
</RelativeLayout>
</LinearLayout>
<TextView
@ -196,6 +169,33 @@
android:text="@string/highlight_weekends" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_highlight_weekends_color_holder"
style="@style/SettingsHolderTextViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/ripple_bottom_corners">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_highlight_weekends_color_text_label"
style="@style/SettingsTextLabelStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/settings_highlight_weekends_color"
android:layout_alignBottom="@+id/settings_highlight_weekends_color"
android:layout_toStartOf="@+id/settings_highlight_weekends_color"
android:gravity="center_vertical|start"
android:text="@string/highlight_weekends_color" />
<ImageView
android:id="@+id/settings_highlight_weekends_color"
android:layout_width="@dimen/color_sample_size"
android:layout_height="@dimen/color_sample_size"
android:layout_alignParentEnd="true"
android:clickable="false" />
</RelativeLayout>
</LinearLayout>
<TextView