Files
sailing-analytics/mobile/com.sap.sailing.racecommittee.app/res/layout/photo_list.xml
T

51 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.sap.sailing.racecommittee.app.ui.layouts.HeaderLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:headerText="@string/finished_list" />
<android.support.v7.widget.RecyclerView
android:id="@+id/photo_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="4"
android:paddingTop="@dimen/side_padding" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:baselineAligned="false"
android:orientation="horizontal">
<FrameLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<ImageView
android:id="@+id/photo_button"
android:layout_width="@dimen/photo_shutter_size"
android:layout_height="@dimen/photo_shutter_size"
android:layout_gravity="center"
android:background="@drawable/round_button_outline"
android:padding="@dimen/default_padding_half"
android:src="?attr/photo_camera" />
</FrameLayout>
<FrameLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<include layout="@layout/photo_list_button" />
</FrameLayout>
</LinearLayout>
</LinearLayout>