This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
android-app/res/layout/main.xml
T

73 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent">
<!-- Header -->
<include layout="@layout/header"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_alignParentTop="true"/>
<!-- MENU: -->
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_below="@id/header"
android:layout_alignParentBottom="true"
android:layout_marginTop="20px"
android:layout_marginBottom="50px"
android:orientation="vertical"
android:gravity="center">
<!-- Opening hours: -->
<include layout="@layout/main_hours"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_alignParentTop="true"/>
<!-- Row nr 1: -->
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_weight="1"
android:gravity="center">
<include layout="@layout/main_tile_program"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
<include layout="@layout/main_tile_news"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
</LinearLayout>
<!-- Row nr 2: -->
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_weight="1"
android:gravity="center">
<include layout="@layout/main_tile_tickets"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
<include layout="@layout/main_tile_join"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>