Skip to content
Snippets Groups Projects
Commit d078a097 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Simplifies the landscape layout for sw600dp setup slides

parent c9fc4a41
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout 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:layout_height="match_parent"
android:paddingLeft="?attr/actionBarSize"
android:paddingRight="?attr/actionBarSize">
<LinearLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|end"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/view"
android:layout_marginEnd="?attr/actionBarSize"
android:layout_marginStart="?attr/actionBarSize"
android:layout_toLeftOf="@+id/scrollView"
android:layout_toStartOf="@+id/scrollView"
android:layout_gravity="end"
android:gravity="end"
android:textSize="28sp"
android:theme="@style/TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse"
tools:text="Connection" />
<android.support.v4.widget.Space
android:id="@+id/view"
android:layout_width="match_parent"
android:layout_height="8dp"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/scrollView"
android:layout_toStartOf="@+id/scrollView" />
android:layout_gravity="end" />
<TextView
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/view"
android:layout_marginEnd="?attr/actionBarSize"
android:layout_marginStart="?attr/actionBarSize"
android:layout_toLeftOf="@+id/scrollView"
android:layout_toStartOf="@+id/scrollView"
android:layout_gravity="end"
android:gravity="end"
android:textSize="16sp"
android:theme="@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse"
tools:text="First, please choose which server your core is hosted on." />
</LinearLayout>
<android.support.v4.widget.Space
android:layout_width="?attr/actionBarSize"
android:layout_height="match_parent" />
<android.support.v4.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="400dp"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginEnd="?attr/actionBarSize"
android:layout_marginRight="?attr/actionBarSize">
android:layout_width="0dip"
android:layout_height="match_parent"
android:layout_weight="1">
<android.support.v7.widget.CardView
android:id="@+id/content_host"
android:layout_width="match_parent"
android:layout_width="400dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom|start"
android:layout_marginTop="?attr/actionBarSize"
android:minHeight="400dp"
app:cardElevation="4dp" />
</android.support.v4.widget.NestedScrollView>
</RelativeLayout>
</LinearLayout>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment