Files
loongoffice/android/source/res/layout
Michael Weghorn d942b4a7d1 android: Set sample texts for design view
As cloph suggested in [1], set sample texts for the
version and vendor information in the About dialog,
using the `tools:text` attribute as described at [2].

These are displayed when viewing the layout in
Android Studio's layout preview. With these placeholder
texts, this gives a better impression at design time
what the actual result will look like at runtime.

The actual texts for the view are set at runtime, s.
`AboutDialogFragment#onCreateDialog`.

[1] https://gerrit.libreoffice.org/c/core/+/160047/comments/52584e2e_50869bef
[2] https://developer.android.com/studio/write/tool-attributes#design-time_view_attributes

Change-Id: I92b1c3d9f947fd1aa68a3ef4f0eee9e5c742e0c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160826
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15 17:28:28 +01:00
..