Új hozzászólás Aktív témák
-
thon73
tag
válasz
lanszelot #3059 üzenetére
Ezt nézd meg egyszer, (bocs a külső hivatkozásokat kivettem)
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<EditText
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="hint_name"
android:inputType="textPersonName"
android:maxLength="99"
android:singleLine="true" />
<Button
android:id="@+id/saveButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="save" />
</LinearLayout>
</ScrollView>Még van egy olyan, hogy: android:fillViewport="true" a scroll részen belül, de nem tudom, hogy egyetlen soros szövegnél van-e hatása.
A RelativeLayout-nak egyetlen ablaknál (egyetlen child-view-nál) nincs szerepe, az kivehető. És ki kell venni az összes ez-alá, e-fölé dolgot is. Itt uis. van egy scrollview, ami egyetlen "ablakot" (child-view-t) képes kezelni, ami a LinearLayout, ami viszont a benne lévőket csak egymás alatt bemutatja.
Új hozzászólás Aktív témák
- ÁRGARANCIA!Épített KomPhone Ryzen 5 7600X 32/64GB RAM RX 7800 XT 16GB GAMER PC termékbeszámítással
- Samsung Galaxy A04 64GB, Kártyafüggetlen, 1 Év Garanciával
- Lenovo Yoga Pro 9 (16IMH9) - Intel Core Ultra 9 185H, RTX 4060, 32GB, érintős ELKELT
- XFX AMD Radeon RX6700XT 12GB / Újszerű állapotban / 6 hónap jótállással
- Asus TUF Gaming F16 (2024) FX607JV Grey - 16" / Intel Core i7-13650HX / 16GB / 1 TB SSD / NVIDIA
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest