GitNex-Android-App/app/src/main/res/layout/fragment_diff.xml

56 lines
2.1 KiB
XML
Raw Normal View History

2019-11-24 13:42:57 +01:00
<?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"
2019-11-24 13:42:57 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2019-11-24 13:42:57 +01:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar"
2019-11-24 13:42:57 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:theme="@style/Widget.AppCompat.SearchView"
app:elevation="0dp">
2019-11-24 13:42:57 +01:00
<com.google.android.material.appbar.MaterialToolbar
2019-11-24 13:42:57 +01:00
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/primaryBackgroundColor">
2019-11-24 13:42:57 +01:00
<ImageView
android:id="@+id/close"
android:layout_width="@dimen/dimen26dp"
android:layout_height="@dimen/dimen26dp"
2019-11-24 13:42:57 +01:00
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:contentDescription="@string/close"
android:focusable="true"
android:gravity="center_vertical"
android:src="@drawable/ic_close"/>
2019-11-24 13:42:57 +01:00
<TextView
android:id="@+id/toolbar_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="20dp"
android:ellipsize="start"
android:singleLine="true"
android:textColor="?attr/primaryTextColor"
android:textSize="18sp"/>
2019-11-24 13:42:57 +01:00
</com.google.android.material.appbar.MaterialToolbar>
2019-11-24 13:42:57 +01:00
</com.google.android.material.appbar.AppBarLayout>
<ListView
android:id="@+id/diff"
2019-11-24 13:42:57 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent"/>
2019-11-24 13:42:57 +01:00
</LinearLayout>