Logo
Explore Help
Sign In
Karl/BobStore
1
0
Fork 0
You've already forked BobStore
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
BobStore/app/src/main/res/layout-ldpi/start_swap_header.xml

7 lines
283 B
XML
Raw Normal View History

Correctly expand list of nearby people to the entire height of the screen. If the device is small, then the "Conenct and trade apps with people near you" header takes up too much space and we end up not being able to see any nearby people at all, even if they are in the list. As such, this also removes that header for "small" and "ldpi" devices. During testing I found that "small" was not enough, because a 240x400 screen is considered "medium" and there is not enough space. ldpi seems to be a reasonable metric for "that header is going to be taking valuable space and should not be shown then". All larger devices retain the header and seem to look nice. This also pushes the "Can't find what you're looking for?" message and associated buttons right to the bottom of the screen. This is more in line with the original design. Fixes #604.
2016-05-15 10:45:56 +10:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true">
</RelativeLayout>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 797ms Template: 61ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API