Change it also for relative layout properties

This commit is contained in:
Javi Rueda 2020-09-08 11:01:03 +02:00
parent ef9c57f074
commit 67a7cf1db2
31 changed files with 70 additions and 70 deletions

View file

@ -48,7 +48,7 @@
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_marginEnd="24dp"
android:layout_toLeftOf="@id/invites_email_button"
android:layout_toStartOf="@id/invites_email_button"
android:visibility="gone" />
<com.google.android.material.button.MaterialButton
android:id="@+id/invites_email_button"

View file

@ -54,7 +54,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/invites_copy_invite_link"
android:layout_toStartOf="@id/invites_copy_invite_link"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="12dp"

View file

@ -28,7 +28,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_toRightOf="@id/reward_driver_icon"
android:layout_toEndOf="@id/reward_driver_icon"
android:fontFamily="@font/inter"
android:lineSpacingMultiplier="1.2"
android:textColor="@color/white"

View file

@ -189,7 +189,7 @@
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/wallet_in_tips_label"
android:layout_toEndOf="@id/wallet_in_tips_label"
android:fontFamily="@font/inter"
android:layout_marginStart="24dp"
android:text="@string/unlock"
@ -202,7 +202,7 @@
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginStart="24dp"
android:layout_toRightOf="@id/wallet_in_tips_label"
android:layout_toEndOf="@id/wallet_in_tips_label"
android:visibility="gone" />
</RelativeLayout>

View file

@ -36,7 +36,7 @@
android:id="@+id/wallet_receive_address"
android:clickable="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/wallet_copy_receive_address"
android:layout_toStartOf="@id/wallet_copy_receive_address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/inter"

View file

@ -52,7 +52,7 @@
<TextView
android:id="@+id/wallet_input_currency"
android:layout_toRightOf="@id/wallet_input_layout_amount"
android:layout_toEndOf="@id/wallet_input_layout_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -65,7 +65,7 @@
<LinearLayout
android:id="@+id/wallet_inline_balance_container"
android:layout_toRightOf="@id/wallet_input_currency"
android:layout_toEndOf="@id/wallet_input_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -89,7 +89,7 @@
android:id="@+id/wallet_send_progress"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_toLeftOf="@id/wallet_send"
android:layout_toStartOf="@id/wallet_send"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:visibility="gone" />

View file

@ -136,7 +136,7 @@
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/comment_form_avatar_container"
android:layout_toEndOf="@id/comment_form_avatar_container"
android:layout_marginStart="16dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/comment_form_body"
@ -179,7 +179,7 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/comment_form_post"
android:layout_toEndOf="@id/comment_form_post"
android:layout_marginStart="24dp"
android:visibility="gone" />
</RelativeLayout>

View file

@ -42,7 +42,7 @@
<TextView
android:id="@+id/inline_channel_form_inline_currency"
android:layout_toRightOf="@id/inline_channel_form_layout_deposit"
android:layout_toEndOf="@id/inline_channel_form_layout_deposit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -55,7 +55,7 @@
<LinearLayout
android:id="@+id/inline_channel_form_inline_balance_container"
android:layout_toRightOf="@id/inline_channel_form_inline_currency"
android:layout_toEndOf="@id/inline_channel_form_inline_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -106,7 +106,7 @@
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_marginEnd="24dp"
android:layout_toLeftOf="@id/inline_channel_form_create_button"
android:layout_toStartOf="@id/inline_channel_form_create_button"
android:visibility="gone" />
<com.google.android.material.button.MaterialButton

View file

@ -133,8 +133,8 @@
android:layout_width="160dp"
android:layout_height="90dp" />
<LinearLayout
android:layout_toRightOf="@id/global_now_playing_player_view"
android:layout_toLeftOf="@id/global_now_playing_close"
android:layout_toEndOf="@id/global_now_playing_player_view"
android:layout_toStartOf="@id/global_now_playing_close"
android:layout_marginStart="8dp"
android:layout_centerVertical="true"
android:orientation="vertical"

View file

@ -37,7 +37,7 @@
android:layout_centerVertical="true"
android:text="@string/fa_globe_americas" />
<TextView
android:layout_toRightOf="@+id/content_scope_everyone_item_icon"
android:layout_toEndOf="@+id/content_scope_everyone_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
@ -72,7 +72,7 @@
android:layout_centerVertical="true"
android:text="@string/fa_hashtag" />
<TextView
android:layout_toRightOf="@+id/content_scope_tags_item_icon"
android:layout_toEndOf="@+id/content_scope_tags_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"

View file

@ -37,7 +37,7 @@
android:src="@drawable/ic_trending"
android:tint="@color/foreground" />
<TextView
android:layout_toRightOf="@+id/sort_by_trending_item_icon"
android:layout_toEndOf="@+id/sort_by_trending_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
@ -72,7 +72,7 @@
android:src="@drawable/ic_new"
android:tint="@color/foreground" />
<TextView
android:layout_toRightOf="@+id/sort_by_new_item_icon"
android:layout_toEndOf="@+id/sort_by_new_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
@ -107,7 +107,7 @@
android:src="@drawable/ic_top"
android:tint="@color/foreground" />
<TextView
android:layout_toRightOf="@+id/sort_by_top_item_icon"
android:layout_toEndOf="@+id/sort_by_top_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"

View file

@ -83,7 +83,7 @@
<TextView
android:id="@+id/create_support_input_currency"
android:layout_toRightOf="@id/create_support_input_layout_amount"
android:layout_toEndOf="@id/create_support_input_layout_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -96,7 +96,7 @@
<LinearLayout
android:id="@+id/create_support_inline_balance_container"
android:layout_toRightOf="@id/create_support_input_currency"
android:layout_toEndOf="@id/create_support_input_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -148,7 +148,7 @@
android:id="@+id/create_support_progress"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_toLeftOf="@id/create_support_send"
android:layout_toStartOf="@id/create_support_send"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:visibility="gone" />

View file

@ -74,7 +74,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/repost_name_prefix"
android:layout_toEndOf="@id/repost_name_prefix"
android:fontFamily="@font/inter"
android:singleLine="true"
android:textSize="14sp"
@ -107,7 +107,7 @@
<TextView
android:id="@+id/repost_input_currency"
android:layout_toRightOf="@id/repost_input_layout_amount"
android:layout_toEndOf="@id/repost_input_layout_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -120,7 +120,7 @@
<LinearLayout
android:id="@+id/repost_inline_balance_container"
android:layout_toRightOf="@id/repost_input_currency"
android:layout_toEndOf="@id/repost_input_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -166,7 +166,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginEnd="24dp"
android:layout_toLeftOf="@id/repost_button"
android:layout_toStartOf="@id/repost_button"
android:fontFamily="@font/inter"
android:textSize="14sp"
android:text="@string/show_advanced" />
@ -174,7 +174,7 @@
android:id="@+id/repost_progress"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_toLeftOf="@id/repost_button"
android:layout_toStartOf="@id/repost_button"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:visibility="gone" />

View file

@ -14,7 +14,7 @@
android:layout_centerVertical="true"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_toLeftOf="@id/player_play_pause">
android:layout_toStartOf="@id/player_play_pause">
<ImageView
android:layout_width="36dp"
android:layout_height="36dp"
@ -66,7 +66,7 @@
android:layout_centerVertical="true"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_toRightOf="@id/player_play_pause">
android:layout_toEndOf="@id/player_play_pause">
<ImageView
android:layout_width="36dp"
android:layout_height="36dp"
@ -103,7 +103,7 @@
android:layout_alignParentBottom="true"
android:layout_width="56dp"
android:layout_height="48dp"
android:layout_toLeftOf="@id/player_toggle_fullscreen">
android:layout_toStartOf="@id/player_toggle_fullscreen">
<TextView
android:id="@+id/player_playback_speed_label"
android:layout_alignParentEnd="true"
@ -140,7 +140,7 @@
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@id/player_playback_speed"
android:layout_toStartOf="@id/player_playback_speed"
android:paddingStart="16dp"
android:paddingEnd="4dp">
<TextView
@ -155,8 +155,8 @@
android:textSize="14sp" />
<com.google.android.exoplayer2.ui.DefaultTimeBar
android:id="@id/exo_progress"
android:layout_toLeftOf="@id/player_duration_total"
android:layout_toRightOf="@id/player_duration_elapsed"
android:layout_toStartOf="@id/player_duration_total"
android:layout_toEndOf="@id/player_duration_elapsed"
android:layout_width="match_parent"
android:layout_height="24dp"
android:layout_marginStart="4dp"

View file

@ -85,7 +85,7 @@
<TextView
android:id="@+id/all_content_for_prefix"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/all_content_sort_link"
android:layout_toEndOf="@id/all_content_sort_link"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
@ -96,7 +96,7 @@
android:visibility="gone" />
<LinearLayout
android:id="@+id/all_content_scope_link"
android:layout_toRightOf="@id/all_content_sort_link"
android:layout_toEndOf="@id/all_content_sort_link"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:layout_width="wrap_content"
@ -126,7 +126,7 @@
<TextView
android:id="@+id/all_content_from_prefix"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/all_content_sort_link"
android:layout_toEndOf="@id/all_content_sort_link"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
@ -143,7 +143,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_toRightOf="@id/all_content_sort_link"
android:layout_toEndOf="@id/all_content_sort_link"
android:visibility="gone">
<TextView
android:id="@+id/all_content_time_link_text"

View file

@ -56,7 +56,7 @@
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_above="@+id/channel_view_tabs"
android:layout_toRightOf="@id/channel_view_icon_container"
android:layout_toEndOf="@id/channel_view_icon_container"
android:orientation="vertical">
<TextView
android:id="@+id/channel_view_title"

View file

@ -67,7 +67,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_toRightOf="@id/channel_content_sort_link"
android:layout_toEndOf="@id/channel_content_sort_link"
android:visibility="gone">
<TextView
android:id="@+id/channel_content_time_link_text"

View file

@ -195,7 +195,7 @@
<TextView
android:id="@+id/channel_form_input_currency"
android:layout_toRightOf="@id/channel_form_input_layout_deposit"
android:layout_toEndOf="@id/channel_form_input_layout_deposit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -208,7 +208,7 @@
<LinearLayout
android:id="@+id/channel_form_inline_balance_container"
android:layout_toRightOf="@id/channel_form_input_currency"
android:layout_toEndOf="@id/channel_form_input_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -324,7 +324,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginEnd="24dp"
android:layout_toLeftOf="@id/channel_form_save_button"
android:layout_toStartOf="@id/channel_form_save_button"
android:fontFamily="@font/inter"
android:textSize="14sp"
android:text="@string/show_optional_fields" />
@ -334,7 +334,7 @@
android:layout_height="20dp"
android:layout_centerVertical="true"
android:layout_marginEnd="24dp"
android:layout_toLeftOf="@+id/channel_form_save_button"
android:layout_toStartOf="@+id/channel_form_save_button"
android:visibility="gone" />
<com.google.android.material.button.MaterialButton
android:id="@+id/channel_form_save_button"

View file

@ -136,7 +136,7 @@
android:layout_centerVertical="true"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_toRightOf="@id/file_view_unsupported_gerbil"
android:layout_toEndOf="@id/file_view_unsupported_gerbil"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -226,7 +226,7 @@
<ImageView
android:id="@+id/file_view_desc_toggle_arrow"
android:src="@drawable/ic_arrow_dropdown"
android:layout_toLeftOf="@+id/file_view_title_layout"
android:layout_toStartOf="@+id/file_view_title_layout"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_width="24dp"
@ -484,7 +484,7 @@
android:paddingTop="12dp"
android:paddingStart="16dp"
android:paddingBottom="12dp"
android:layout_toLeftOf="@id/file_view_icon_follow">
android:layout_toStartOf="@id/file_view_icon_follow">
<RelativeLayout
android:id="@+id/file_view_publisher_avatar"
android:layout_width="50dp"

View file

@ -87,7 +87,7 @@
<LinearLayout
android:id="@+id/following_time_link"
android:layout_toRightOf="@id/following_sort_link"
android:layout_toEndOf="@id/following_sort_link"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:layout_width="wrap_content"

View file

@ -33,7 +33,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="24dp"
android:layout_toRightOf="@id/library_filter_link_downloads"
android:layout_toEndOf="@id/library_filter_link_downloads"
android:fontFamily="@font/inter"
android:text="@string/purchases" />
<TextView
@ -44,7 +44,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="24dp"
android:layout_toRightOf="@id/library_filter_link_purchases"
android:layout_toEndOf="@id/library_filter_link_purchases"
android:fontFamily="@font/inter"
android:text="@string/history"
android:textSize="14sp" />
@ -174,7 +174,7 @@
android:layout_height="10dp"
android:layout_centerVertical="true" />
<TextView
android:layout_toRightOf="@id/library_storage_legend_video_icon"
android:layout_toEndOf="@id/library_storage_legend_video_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
@ -210,7 +210,7 @@
android:layout_height="10dp"
android:layout_centerVertical="true" />
<TextView
android:layout_toRightOf="@id/library_storage_legend_audio_icon"
android:layout_toEndOf="@id/library_storage_legend_audio_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
@ -246,7 +246,7 @@
android:layout_height="10dp"
android:layout_centerVertical="true" />
<TextView
android:layout_toRightOf="@id/library_storage_legend_image_icon"
android:layout_toEndOf="@id/library_storage_legend_image_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
@ -282,7 +282,7 @@
android:layout_height="10dp"
android:layout_centerVertical="true" />
<TextView
android:layout_toRightOf="@id/library_storage_legend_other_icon"
android:layout_toEndOf="@id/library_storage_legend_other_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"

View file

@ -64,7 +64,7 @@
android:clickable="true"
android:background="@android:color/black"
android:foreground="?attr/selectableItemBackground"
android:layout_toRightOf="@id/publish_vertical_divider"
android:layout_toEndOf="@id/publish_vertical_divider"
android:layout_width="match_parent"
android:layout_height="148.5dp">
<LinearLayout
@ -106,7 +106,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/publish_photo_upload_divider"
android:layout_toRightOf="@id/publish_vertical_divider">
android:layout_toEndOf="@id/publish_vertical_divider">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View file

@ -191,7 +191,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@id/publish_form_video_opt_progress"
android:layout_toEndOf="@id/publish_form_video_opt_progress"
android:fontFamily="@font/inter"
android:textFontWeight="300"
android:textSize="14sp" />
@ -318,7 +318,7 @@
android:entries="@array/publish_currencies"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/publish_form_price_layout"
android:layout_toEndOf="@+id/publish_form_price_layout"
android:layout_marginStart="4dp"
android:layout_marginTop="24dp" />
</RelativeLayout>
@ -416,7 +416,7 @@
<TextView
android:id="@+id/publish_form_input_currency"
android:layout_toRightOf="@id/publish_form_input_layout_deposit"
android:layout_toEndOf="@id/publish_form_input_layout_deposit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -429,7 +429,7 @@
<LinearLayout
android:id="@+id/publish_form_inline_balance_container"
android:layout_toRightOf="@id/publish_form_input_currency"
android:layout_toEndOf="@id/publish_form_input_currency"
android:layout_marginStart="24dp"
android:layout_marginTop="28dp"
android:layout_width="wrap_content"
@ -568,7 +568,7 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="16dp"
android:layout_toLeftOf="@id/publish_form_publish_button"
android:layout_toStartOf="@id/publish_form_publish_button"
android:visibility="gone" />
<com.google.android.material.button.MaterialButton
android:id="@+id/publish_form_publish_button"

View file

@ -36,7 +36,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="16dp"
android:layout_toRightOf="@id/rewards_filter_link_unclaimed"
android:layout_toEndOf="@id/rewards_filter_link_unclaimed"
android:fontFamily="@font/inter"
android:text="@string/all"
android:textSize="14sp" />

View file

@ -136,7 +136,7 @@
android:id="@+id/verification_phone_verify_progress"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_toRightOf="@id/verification_phone_verify_button"
android:layout_toEndOf="@id/verification_phone_verify_button"
android:layout_marginStart="16dp"
android:layout_centerVertical="true"
android:visibility="gone" />

View file

@ -129,7 +129,7 @@
android:orientation="vertical"
android:layout_centerVertical="true"
android:layout_marginStart="16dp"
android:layout_toRightOf="@id/claim_media_container">
android:layout_toEndOf="@id/claim_media_container">
<TextView
android:id="@+id/claim_vanity_url"
android:layout_width="wrap_content"

View file

@ -46,7 +46,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/comment_avatar_container"
android:layout_toEndOf="@id/comment_avatar_container"
android:layout_marginStart="16dp"
android:orientation="vertical">

View file

@ -49,7 +49,7 @@
android:layout_centerVertical="true"/>
<TextView
android:id="@+id/editors_choice_content_description"
android:layout_toRightOf="@id/editors_choice_content_thumbnail"
android:layout_toEndOf="@id/editors_choice_content_thumbnail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"

View file

@ -140,7 +140,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginStart="16dp"
android:layout_toRightOf="@id/claim_media_container">
android:layout_toEndOf="@id/claim_media_container">
<TextView
android:id="@+id/claim_vanity_url"
android:layout_width="wrap_content"

View file

@ -152,7 +152,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginStart="16dp"
android:layout_toRightOf="@id/claim_media_container">
android:layout_toEndOf="@id/claim_media_container">
<LinearLayout
android:id="@+id/claim_text_loading_placeholder_1"
android:background="@color/lighterGrey"

View file

@ -18,7 +18,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/url_suggestion_icon"
android:layout_toEndOf="@id/url_suggestion_icon"
android:layout_centerVertical="true"
android:layout_marginStart="12dp"
android:orientation="vertical">