Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2021-05-04 11:27:42 +0300
committerStefan Niedermann <info@niedermann.it>2021-05-04 11:27:42 +0300
commit081c1ed7e2ee0d354339fad3ec8af9b3c5a74e2b (patch)
tree41568ca91c2fc8d9c11cefeb33a20e2ced3bb196 /News-Android-App/src/main/res/layout
parent9425d91b4639dcc47fb8388d8a300065baba8adb (diff)
Replace left/right with start/end for better accessibility
Diffstat (limited to 'News-Android-App/src/main/res/layout')
-rw-r--r--News-Android-App/src/main/res/layout/activity_login_dialog.xml8
-rw-r--r--News-Android-App/src/main/res/layout/activity_new_feed.xml4
-rw-r--r--News-Android-App/src/main/res/layout/fragment_dialog_feedoptions.xml24
-rw-r--r--News-Android-App/src/main/res/layout/fragment_dialog_image.xml8
-rw-r--r--News-Android-App/src/main/res/layout/fragment_podcast.xml32
-rw-r--r--News-Android-App/src/main/res/layout/fragment_sync_interval_selector.xml4
-rw-r--r--News-Android-App/src/main/res/layout/subscription_detail_list_item_card_view.xml4
-rw-r--r--News-Android-App/src/main/res/layout/subscription_detail_list_item_text.xml4
8 files changed, 43 insertions, 45 deletions
diff --git a/News-Android-App/src/main/res/layout/activity_login_dialog.xml b/News-Android-App/src/main/res/layout/activity_login_dialog.xml
index 4ee06bd6..c5d87994 100644
--- a/News-Android-App/src/main/res/layout/activity_login_dialog.xml
+++ b/News-Android-App/src/main/res/layout/activity_login_dialog.xml
@@ -10,9 +10,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:layout_marginLeft="@dimen/abc_dialog_padding_material"
+ android:layout_marginStart="@dimen/abc_dialog_padding_material"
android:layout_marginTop="@dimen/abc_dialog_padding_material"
- android:layout_marginRight="@dimen/abc_dialog_padding_material"
+ android:layout_marginEnd="@dimen/abc_dialog_padding_material"
android:layout_marginBottom="@dimen/abc_dialog_padding_material"
android:orientation="vertical">
@@ -144,8 +144,8 @@
android:layout_alignBottom="@+id/password_container"
android:layout_gravity="end"
android:contentDescription="@string/content_desc_show_password"
- android:paddingLeft="10dp"
- android:paddingRight="10dp"
+ android:paddingStart="10dp"
+ android:paddingEnd="10dp"
android:src="@drawable/ic_action_visibility" />
<CheckBox
diff --git a/News-Android-App/src/main/res/layout/activity_new_feed.xml b/News-Android-App/src/main/res/layout/activity_new_feed.xml
index 7d34c0f4..c1189475 100644
--- a/News-Android-App/src/main/res/layout/activity_new_feed.xml
+++ b/News-Android-App/src/main/res/layout/activity_new_feed.xml
@@ -27,8 +27,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin">
<LinearLayout
diff --git a/News-Android-App/src/main/res/layout/fragment_dialog_feedoptions.xml b/News-Android-App/src/main/res/layout/fragment_dialog_feedoptions.xml
index 34815dac..1e647905 100644
--- a/News-Android-App/src/main/res/layout/fragment_dialog_feedoptions.xml
+++ b/News-Android-App/src/main/res/layout/fragment_dialog_feedoptions.xml
@@ -7,8 +7,8 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="6dp"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin">
<RelativeLayout
@@ -55,8 +55,8 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@+id/tv_menu_text"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="0dp"
android:layout_marginTop="12dp"
android:background="#c8ababab"/>
@@ -84,8 +84,8 @@
android:layout_alignParentStart="true"
android:layout_marginBottom="13dp"
android:layout_marginTop="13dp"
- android:paddingLeft="6dp"
- android:paddingRight="6dp"
+ android:paddingStart="6dp"
+ android:paddingEnd="6dp"
android:text="@string/confirm_feed_remove"
android:textSize="18sp" />
@@ -94,8 +94,8 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_below="@+id/tv_detail_text"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="0dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
@@ -137,8 +137,8 @@
android:imeOptions="actionDone"
android:inputType="textVisiblePassword"
android:lines="1"
- android:paddingLeft="6dp"
- android:paddingRight="6dp"
+ android:paddingStart="6dp"
+ android:paddingEnd="6dp"
android:singleLine="true"
android:textSize="18sp" />
@@ -147,8 +147,8 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_below="@+id/renamefeed_feedname"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="0dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
diff --git a/News-Android-App/src/main/res/layout/fragment_dialog_image.xml b/News-Android-App/src/main/res/layout/fragment_dialog_image.xml
index 63153374..60539fb7 100644
--- a/News-Android-App/src/main/res/layout/fragment_dialog_image.xml
+++ b/News-Android-App/src/main/res/layout/fragment_dialog_image.xml
@@ -8,8 +8,8 @@
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="6dp"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin">
+ android:paddingEnd="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin">
<RelativeLayout
android:layout_width="wrap_content"
@@ -56,8 +56,8 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="12dp"
- android:layout_marginLeft="0dp"
- android:layout_marginRight="0dp"
+ android:layout_marginStart="0dp"
+ android:layout_marginEnd="0dp"
android:background="#c8ababab"
android:layout_below="@+id/ic_menu_item_text"/>
diff --git a/News-Android-App/src/main/res/layout/fragment_podcast.xml b/News-Android-App/src/main/res/layout/fragment_podcast.xml
index 2e109d9f..228d0cc3 100644
--- a/News-Android-App/src/main/res/layout/fragment_podcast.xml
+++ b/News-Android-App/src/main/res/layout/fragment_podcast.xml
@@ -31,8 +31,8 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
- android:layout_marginLeft="@dimen/podcast_horizontal_margin"
- android:layout_marginRight="@dimen/podcast_horizontal_margin"
+ android:layout_marginStart="@dimen/podcast_horizontal_margin"
+ android:layout_marginEnd="@dimen/podcast_horizontal_margin"
android:src="@drawable/default_feed_icon_light"
android:contentDescription="@string/content_desc_none"/>
@@ -41,7 +41,6 @@
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="match_parent"
- android:layout_marginRight="10dp"
android:layout_marginEnd="10dp"
android:gravity="center_vertical"
android:orientation="vertical">
@@ -133,8 +132,8 @@
android:ellipsize="end"
android:maxLines="2"
android:textColor="@color/primaryTextColor"
- android:layout_marginLeft="@dimen/podcast_horizontal_margin"
- android:layout_marginRight="@dimen/podcast_horizontal_margin"
+ android:layout_marginStart="@dimen/podcast_horizontal_margin"
+ android:layout_marginEnd="@dimen/podcast_horizontal_margin"
android:text="@string/no_podcast_selected"
android:textSize="18sp" />
@@ -170,11 +169,11 @@
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
- android:paddingLeft="@dimen/podcast_horizontal_margin"
- android:paddingRight="@dimen/podcast_horizontal_margin">
+ android:paddingStart="@dimen/podcast_horizontal_margin"
+ android:paddingEnd="@dimen/podcast_horizontal_margin">
<!--
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
-->
<!--
@@ -242,8 +241,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/podcast_media_control_height"
- android:paddingLeft="@dimen/podcast_horizontal_margin"
- android:paddingRight="@dimen/podcast_horizontal_margin"
+ android:paddingStart="@dimen/podcast_horizontal_margin"
+ android:paddingEnd="@dimen/podcast_horizontal_margin"
android:background="@color/slide_up_panel_slider_background_color"
android:orientation="vertical"
android:layoutDirection="ltr">
@@ -263,8 +262,8 @@
<FrameLayout
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp"
+ android:layout_marginStart="5dp"
+ android:layout_marginEnd="5dp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -283,8 +282,8 @@
android:id="@+id/pb_progress2"
style="?android:attr/progressBarStyleHorizontal"
android:progressTint="@color/colorAccent"
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp"
+ android:layout_marginStart="5dp"
+ android:layout_marginEnd="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:indeterminate="true" />
@@ -314,7 +313,6 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
- android:layout_marginRight="20dp"
android:layout_marginEnd="20dp"
android:src="@drawable/ic_action_replay_10"
android:tint="@color/tintColor"
@@ -355,7 +353,7 @@
android:tint="@color/tintColor"
android:background="?attr/selectableItemBackgroundBorderless"
android:scaleType="fitXY"
- android:layout_marginLeft="36dp"
+ android:layout_marginStart="36dp"
android:contentDescription="@string/content_desc_playback_speed"/>
diff --git a/News-Android-App/src/main/res/layout/fragment_sync_interval_selector.xml b/News-Android-App/src/main/res/layout/fragment_sync_interval_selector.xml
index 58b3084e..850ed5b5 100644
--- a/News-Android-App/src/main/res/layout/fragment_sync_interval_selector.xml
+++ b/News-Android-App/src/main/res/layout/fragment_sync_interval_selector.xml
@@ -2,8 +2,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="de.luhmer.owncloudnewsreader.SyncIntervalSelectorActivity$PlaceholderFragment">
diff --git a/News-Android-App/src/main/res/layout/subscription_detail_list_item_card_view.xml b/News-Android-App/src/main/res/layout/subscription_detail_list_item_card_view.xml
index fa9815d2..858bd827 100644
--- a/News-Android-App/src/main/res/layout/subscription_detail_list_item_card_view.xml
+++ b/News-Android-App/src/main/res/layout/subscription_detail_list_item_card_view.xml
@@ -132,8 +132,8 @@
layout="@layout/subscription_detail_list_item_podcast_wrapper"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp"
+ android:layout_marginStart="5dp"
+ android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:layout_marginTop="22dp"
android:id="@+id/podcast_wrapper"
diff --git a/News-Android-App/src/main/res/layout/subscription_detail_list_item_text.xml b/News-Android-App/src/main/res/layout/subscription_detail_list_item_text.xml
index 97234388..de624310 100644
--- a/News-Android-App/src/main/res/layout/subscription_detail_list_item_text.xml
+++ b/News-Android-App/src/main/res/layout/subscription_detail_list_item_text.xml
@@ -122,8 +122,8 @@
layout="@layout/subscription_detail_list_item_podcast_wrapper"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp"
+ android:layout_marginStart="5dp"
+ android:layout_marginEnd="5dp"
android:layout_marginBottom="5dp"
android:layout_marginTop="22dp"
android:id="@+id/podcast_wrapper"