Hirdetés

Új hozzászólás Aktív témák

  • doc

    nagyúr

    segitsetek plz, hulyet kapok mar...
    mi nem jo ebben a layoutban? azt szeretnem hogy a ket fragment az imageview ALATT legyen, egymas mellett (tehat fejleckent mukodik a logo, alatta ket 'hasabban' a ket fragment), de valamiert a fragmentek is a kepernyo tetejen kezdodnek, ahogy a logo :W

    <?xml version="1.0" encoding="utf-8"?>
    <android.support.constraint.ConstraintLayout 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:id="@+id/mainLayout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg"
    android:orientation="horizontal"
    tools:context=".MainActivity">

    <ImageView
    android:id="@+id/logo"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="0dp"
    android:layout_marginStart="0dp"
    android:layout_marginTop="0dp"
    android:contentDescription="@android:string/dialog_alert_title"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent"
    app:srcCompat="@drawable/srtitlebar" />

    <fragment
    android:id="@+id/values"
    class="hu.glezmen.streetrodcalculator.Values"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintLeft_toLeftOf="parent"
    app:layout_constraintTop_toBottomOf="@id/logo" />

    <fragment
    android:id="@+id/racepoints"
    class="hu.glezmen.streetrodcalculator.RacePoints"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    app:layout_constraintLeft_toRightOf="@id/values"
    app:layout_constraintTop_toBottomOf="@id/logo" />

    </android.support.constraint.ConstraintLayout>

Új hozzászólás Aktív témák