wulkanowy-mod/app/src/main/res/layout/fragment_logviewer.xml

35 lines
1.4 KiB
XML
Raw Normal View History

2020-02-22 14:24:06 -06:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.modules.about.logviewer.LogViewerFragment">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="3dp">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/logViewerRecycler"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scrollbars="vertical" />
</HorizontalScrollView>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/logViewRefreshButton"
style="@style/Widget.MaterialComponents.FloatingActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:clickable="true"
android:focusable="true"
android:text="@string/logviewer_refresh"
android:tint="?colorOnSecondary"
app:srcCompat="@drawable/ic_refresh" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>