tra-analysis/apps/android/main/res/layout/content_matches_table_view.xml
2018-12-26 12:14:05 -06:00

43 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_matches_table_view"
tools:context=".MatchesTableView">
<LinearLayout
android:orientation="horizontal"
android:layout_width="0dp"
android:layout_height="40dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"
android:id="@+id/linearLayout" android:layout_marginLeft="8dp" android:layout_marginStart="8dp"
app:layout_constraintEnd_toEndOf="parent" android:layout_marginEnd="8dp"
android:layout_marginRight="8dp">
<TextView
android:text="Hello! I'm"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/aliasTextView" android:layout_weight="1"/>
<Button
android:text="Change Alias"
android:layout_width="5dp"
android:layout_height="wrap_content" android:id="@+id/changeAliasButton" android:layout_weight="1"/>
</LinearLayout>
<ListView
android:id="@+id/match_list_view"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout" app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintVertical_bias="1.0" android:layout_marginTop="8dp"/>
</android.support.constraint.ConstraintLayout>