2018-12-09 18:42:42 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context=".ui.StateActivity">
|
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="@dimen/appbar_padding_top"
|
|
|
|
android:theme="@style/DisTheme.AppBarOverlay">
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:popupTheme="@style/DisTheme.PopupOverlay"
|
2018-12-16 11:40:25 +01:00
|
|
|
app:title="@string/app_state">
|
2018-12-09 18:42:42 +01:00
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v7.widget.LinearLayoutCompat
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-21 09:19:06 +01:00
|
|
|
android:gravity="center_horizontal"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:background="@color/dark_grey">
|
2018-12-09 18:42:42 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/StateBtn"
|
|
|
|
android:shadowColor="@color/bg_primary_blue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-01-01 11:31:57 +01:00
|
|
|
android:maxWidth="120dp"
|
|
|
|
android:breakStrategy="simple"
|
|
|
|
android:minLines="3"
|
2018-12-09 18:42:42 +01:00
|
|
|
android:drawableTop="@drawable/ic_state"
|
|
|
|
android:text="@string/state_btn"
|
|
|
|
android:layout_gravity="center"
|
2019-01-01 11:31:57 +01:00
|
|
|
android:layout_marginRight="24dp"
|
2018-12-09 18:42:42 +01:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:textColor="#ffffff"/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/StateMessageBtn"
|
|
|
|
android:shadowColor="@color/bg_primary_blue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-01-01 11:31:57 +01:00
|
|
|
android:maxWidth="120dp"
|
|
|
|
android:breakStrategy="simple"
|
|
|
|
android:minLines="3"
|
2018-12-09 18:42:42 +01:00
|
|
|
android:drawableTop="@drawable/ic_state"
|
2018-12-16 11:40:25 +01:00
|
|
|
android:drawableTint="@color/gray"
|
2018-12-09 18:42:42 +01:00
|
|
|
android:text="@string/state_messages_btn"
|
|
|
|
android:layout_gravity="center"
|
2019-01-01 11:31:57 +01:00
|
|
|
android:layout_marginLeft="24dp"
|
2018-12-09 18:42:42 +01:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2018-12-16 11:40:25 +01:00
|
|
|
android:textColor="@color/gray"/>
|
2018-12-09 18:42:42 +01:00
|
|
|
</android.support.v7.widget.LinearLayoutCompat>
|
|
|
|
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-14 19:17:45 +01:00
|
|
|
android:background="@color/dark_grey"/>
|
2018-12-09 18:42:42 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|