mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-06 03:50:23 +02:00
Fix long list handling at the limit login category selection
This commit is contained in:
parent
7cb2806d17
commit
19acb9cba9
1 changed files with 30 additions and 24 deletions
|
@ -29,38 +29,44 @@
|
|||
<import type="android.view.View" />
|
||||
</data>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/scroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:textAppearance="?android:textAppearanceLarge"
|
||||
android:padding="8dp"
|
||||
android:text="@{title}"
|
||||
tools:text="Systemeinstellungen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/list"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- filled at runtime -->
|
||||
<TextView
|
||||
android:textAppearance="?android:textAppearanceLarge"
|
||||
android:padding="8dp"
|
||||
android:text="@{title}"
|
||||
tools:text="Systemeinstellungen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/list"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- filled at runtime -->
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:visibility="@{someOptionsDisabledDueToChildAuthentication ? View.VISIBLE : View.GONE}"
|
||||
android:drawablePadding="8dp"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:padding="8dp"
|
||||
android:text="@string/child_self_limit_add_caused_missing_options_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:drawableStartCompat="@drawable/ic_vpn_key_black_24dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:visibility="@{someOptionsDisabledDueToChildAuthentication ? View.VISIBLE : View.GONE}"
|
||||
android:drawablePadding="8dp"
|
||||
android:textAppearance="?android:textAppearanceSmall"
|
||||
android:padding="8dp"
|
||||
android:text="@string/child_self_limit_add_caused_missing_options_hint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:drawableStartCompat="@drawable/ic_vpn_key_black_24dp" />
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue