I RelativeLayout
in Inhalt bekommen:RelativeLayout maxWidth funktioniert nicht
<RelativeLayout xmlns:
android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxWidth="350dp"
></RelativeLayout>
android:maxWidth="350dp"
nicht funktioniert. Mit wrap_content
für layout_width
und layout_height
funktioniert keiner `.
Bitte teilen Sie Screenshot für das gleiche, was Sie genau wollen? –
Sie haben 'android: layout_width =" match_parent "' das bedeutet, Ihr Layout wird so breit wie möglich sein –
@ A.Shevchuk Ich änderte es für 'wrap_content', aber es ist das gleiche. –