fix "load more" placeholder changing height after being clicked

This commit is contained in:
Konrad Pozniak 2018-07-30 16:28:43 +02:00
parent 9b422a97fe
commit 2b246fc379
1 changed files with 3 additions and 4 deletions

View File

@ -2,13 +2,13 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="72dp">
<Button <Button
android:id="@+id/button_load_more" android:id="@+id/button_load_more"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="72dp" android:layout_height="match_parent"
android:text="@string/load_more_placeholder_text" android:text="@string/load_more_placeholder_text"
android:textColor="?attr/colorAccent" android:textColor="?attr/colorAccent"
android:textSize="?attr/status_text_medium" /> android:textSize="?attr/status_text_medium" />
@ -19,6 +19,5 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible" tools:visibility="visible" />
android:layout_margin="8dp"/>
</FrameLayout> </FrameLayout>