Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Resize library panels correctly for small window sizes (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Sep 23, 2019
1 parent d8b921c commit 7432674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions app/src/main/res/layout/bookmarks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="180dp"
android:layout_marginEnd="180dp"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical"
app:visibleGone="@{!isLoading &amp;&amp; isEmpty}">
Expand Down Expand Up @@ -65,6 +63,7 @@
android:textColor="@color/fog"
android:textSize="@dimen/text_medium_big_size"
android:textStyle="normal"
android:maxWidth="360dp"
app:textDrawable="@{@drawable/ic_icon_bookmarked}"
app:textString="@{@string/bookmarks_description}"
tools:text="@string/bookmarks_description" />
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/res/layout/history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="180dp"
android:layout_marginEnd="180dp"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical"
app:visibleGone="@{!isLoading &amp;&amp; isEmpty}">
Expand Down Expand Up @@ -64,7 +62,8 @@
android:textAllCaps="false"
android:textColor="@color/fog"
android:textSize="@dimen/text_medium_big_size"
android:textStyle="normal" />
android:textStyle="normal"
android:maxWidth="360dp" />

</LinearLayout>

Expand Down

0 comments on commit 7432674

Please sign in to comment.