Scaffold and first working build of an Android app that reproduces the iOS YouTube Kids interface over a local folder: shelves of 16:9 rounded thumbnails, fullscreen player, bottom bar, search grid and a parent gate. - minSdk 21, AGP 8.13.2 / Gradle 8.13 / Kotlin 2.1.20, compileSdk 35 - library from Movies/KidsTube via MediaStore, or a SAF tree the parent picks - no INTERNET permission: verified against the built APK with aapt2 - thumbnails decoded once into filesDir and cached, never on the bind path - player: VideoView, immersive, chrome auto-hides, tap_catcher restores it Verified on the AGS2-W09 (API 30): shelves with real frames, playback, search filtering, parent gate, back navigation.
31 lines
1013 B
XML
31 lines
1013 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<dev.lotherk.kidstube.ui.ThumbView
|
|
android:id="@+id/thumb"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:ellipsize="end"
|
|
android:maxLines="2"
|
|
android:textColor="@color/kt_text"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/meta"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:textColor="@color/kt_text_sub"
|
|
android:textSize="12sp" />
|
|
</LinearLayout>
|