110 lines
4.3 KiB
XML
110 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2016 Hippo Seven
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<FrameLayout 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"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<androidx.swiperefreshlayout.widget.ThemedSwipeRefreshLayout
|
|
android:id="@+id/refresh_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.hippo.ehviewer.ui.legacy.EasyRecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:paddingBottom="@dimen/fab_rv_padding_size"
|
|
android:paddingLeft="@dimen/keyline_margin"
|
|
android:paddingRight="@dimen/keyline_margin"
|
|
app:fitsSystemWindowsInsets="bottom" />
|
|
|
|
</androidx.swiperefreshlayout.widget.ThemedSwipeRefreshLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tip"
|
|
style="@style/TextAppearance.AppCompat.Medium"
|
|
android:layout_width="228dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_horizontal"
|
|
android:text="@string/no_one_comments_gallery"
|
|
app:fitsSystemWindowsInsets="bottom" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/edit_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/colorPrimaryContainer"
|
|
android:elevation="4dp"
|
|
android:orientation="horizontal"
|
|
android:visibility="invisible"
|
|
app:fitsSystemWindowsInsets="bottom">
|
|
|
|
<EditText
|
|
android:id="@+id/edit_text"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@null"
|
|
android:gravity="left|center_vertical"
|
|
android:inputType="textMultiLine"
|
|
android:maxHeight="168dp"
|
|
android:minHeight="56dp"
|
|
android:textSize="16sp"
|
|
android:padding="@dimen/keyline_margin"
|
|
android:textColor="?colorOnPrimaryContainer" />
|
|
|
|
<ImageView
|
|
android:id="@+id/send"
|
|
android:layout_width="56dp"
|
|
android:layout_height="56dp"
|
|
android:layout_gravity="bottom"
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:padding="16dp"
|
|
app:tint="?colorOnPrimaryContainer" />
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
<com.hippo.ehviewer.ui.legacy.FabLayout
|
|
android:id="@+id/fab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingRight="@dimen/corner_fab_margin"
|
|
android:paddingBottom="@dimen/corner_fab_margin"
|
|
app:fitsSystemWindowsInsets="bottom">
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:srcCompat="@drawable/v_reply_dark_x24" />
|
|
|
|
</com.hippo.ehviewer.ui.legacy.FabLayout>
|
|
</FrameLayout>
|