Julian Winkler
d2f28a5b21
add some methods needed for androidx dialogs
2024-02-16 15:28:04 +01:00
Julian Winkler
77403170d2
TextView: relayout after setText()
...
This is necessary, when TextViews are recycled by RecyclerView
2024-02-10 10:28:48 +01:00
Julian Winkler
88254d822f
replace LinearLayout with AOSPs implementation
...
Also update QuickHelp.md, as LinearLayout was the last custom
implemented ViewGroup
2024-02-10 10:28:48 +01:00
Julian Winkler
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Julian Winkler
bf3f595a8c
LinearLayout: set GtkBox to homogeneous if all child weights are equal
...
Real weighted allocation is not supported by GtkBox
2024-01-01 12:11:31 +01:00
Julian Winkler
52214f47d0
ImageView: check if Drawable actually has a Paintable
2024-01-01 12:09:17 +01:00
Julian Winkler
790255f9ca
ImageView: allow non bitmap Drawables
...
Also pass size of child paintable in DrawableContainer
2023-12-30 23:38:56 +01:00
Julian Winkler
0614e6c245
add some stubs needed since we now handle onMeasure() for more Views
2023-12-29 11:40:52 +01:00
Julian Winkler
757d689689
unify View construction and measurement
...
No longer allow constructing Views without Context.
Lets have only one onMeasure() method to unify behaviour
2023-12-29 11:40:52 +01:00
Julian Winkler
878b957380
LinearLayout: remove default gravity
2023-11-12 12:16:23 +01:00
Julian Winkler
b0fdf53f9b
implement android.widget.ProgressBar using GtkProgressBar
2023-11-12 12:16:23 +01:00
Julian Winkler
4bf4887244
copy OverScroller.java from AOSP
2023-11-12 12:16:23 +01:00
Julian Winkler
72a8b3a047
add more stubs
2023-11-12 12:16:23 +01:00
Julian Winkler
d025fd3ce3
FrameLayout: replace with AOSPs implementation
...
There are many Widgets extending FrameLayout and adding custom behaviour
on top. For example NavigationView. This didn't realy work with our
custom implementation
2023-11-08 22:44:39 +01:00
Julian Winkler
bcfb384ba4
implement EditText.setOnEditorActionListener()
...
This makes the NewPipe search work again
2023-11-08 22:44:39 +01:00
Julian Winkler
3c03223085
android_layout_measure(): refactor to respect LayoutParams
...
This is needed when a Java widget gets measured from GTK
2023-11-02 08:20:13 +01:00
Julian Winkler
3de842b1d8
enable onTouchEvent for ViewGroups and add some stubs
2023-11-01 17:54:59 +01:00
Mis012
58fa4b5590
api-impl/android/widget/Toolbar: add a stub widget
2023-10-16 20:19:05 +02:00
Julian Winkler
4130e252cc
fixes to make Picasso Image Loader work
...
This library is used by newer NewPipe versions
2023-10-14 18:29:33 +02:00
Julian Winkler
520d153c55
call View.onAttachedToWindow() method
2023-10-14 18:29:33 +02:00
Julian Winkler
b88707592a
add more stubs to make exoplayer not crash
2023-10-14 18:29:33 +02:00
Julian Winkler
c830abc5f3
add more API stubs for NewPipe
2023-10-14 18:29:33 +02:00
Julian Winkler
f5fc993484
add APIs needed for non legacy NewPipe version
2023-10-14 18:29:33 +02:00
Julian Winkler
399cf87254
fix some NullPointerExceptions with Flower Finder test apk
2023-10-14 10:01:01 +00:00
Julian Winkler
37d9b13470
View.onMeasure: handle MEASURE_SPEC_AT_MOST properly
...
We decide between simple widgets which handles MEASURE_SPEC_AT_MOST the same way as
MEASURE_SPEC_EXACTLY, and complex widgets which handles MEASURE_SPEC_AT_MOST by measuring the content
2023-10-14 10:01:01 +00:00