android/source/lint-baseline.xml | 37 +----------------------- android/source/res/layout/presentation_mode.xml | 5 --- 2 files changed, 3 insertions(+), 39 deletions(-)
New commits: commit 10e0ff06fd4ecd3c50ce52706ef4f7c191ab7b83 Author: Michael Weghorn <[email protected]> AuthorDate: Wed Jul 9 14:59:11 2025 +0200 Commit: Skyler Grey <[email protected]> CommitDate: Wed Oct 8 11:53:17 2025 +0200 android lint: Drop redundant android:alignParent* attrs Address those lint warnings which would otherwise trigger build errors in a WIP branch updating compileSdkVersion and targetSdkVersion to 36. Regenerate android/source/lint-baseline.xml Change-Id: I0c3cbd10f6f177636a4960dd93674dde7c04b470 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187576 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192036 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Skyler Grey <[email protected]> diff --git a/android/source/lint-baseline.xml b/android/source/lint-baseline.xml index 965e1ac48903..f0f46388adc4 100644 --- a/android/source/lint-baseline.xml +++ b/android/source/lint-baseline.xml @@ -1524,7 +1524,7 @@ errorLine2=" ~~~~~~~~~~~"> <location file="res/layout/presentation_mode.xml" - line="25" + line="24" column="10"/> </issue> @@ -2085,7 +2085,7 @@ errorLine2=" ~~~~~~"> <location file="res/layout/presentation_mode.xml" - line="34" + line="32" column="10"/> </issue> @@ -2144,39 +2144,6 @@ column="21"/> </issue> - <issue - id="RtlHardcoded" - message="Redundant attribute `layout_alignParentRight`; already defining `layout_alignParentEnd` with `targetSdkVersion` 34" - errorLine1=" android:layout_alignParentRight="true"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/layout/presentation_mode.xml" - line="21" - column="13"/> - </issue> - - <issue - id="RtlHardcoded" - message="Redundant attribute `layout_alignParentRight`; already defining `layout_alignParentEnd` with `targetSdkVersion` 34" - errorLine1=" android:layout_alignParentRight="true"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/layout/presentation_mode.xml" - line="31" - column="13"/> - </issue> - - <issue - id="RtlHardcoded" - message="Redundant attribute `layout_alignParentLeft`; already defining `layout_alignParentStart` with `targetSdkVersion` 34" - errorLine1=" android:layout_alignParentLeft="true"" - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - <location - file="res/layout/presentation_mode.xml" - line="38" - column="13"/> - </issue> - <issue id="RtlHardcoded" message="Consider replacing `android:layout_alignParentLeft` with `android:layout_alignParentStart="true"` to better support right-to-left layouts" diff --git a/android/source/res/layout/presentation_mode.xml b/android/source/res/layout/presentation_mode.xml index ec1845ab68ab..7e39f88bcf1d 100644 --- a/android/source/res/layout/presentation_mode.xml +++ b/android/source/res/layout/presentation_mode.xml @@ -18,7 +18,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:src="@drawable/ic_search_direction_up" /> @@ -28,18 +27,16 @@ android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" android:src="@drawable/ic_search_direction_down" /> <Button android:id="@+id/slide_show_nav_back" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignParentTop="true" android:text="@string/slideshow_action_back" /> </RelativeLayout> -</RelativeLayout> \ No newline at end of file +</RelativeLayout>
