Project

General

Profile

« Previous | Next » 

Revision e8f6670f

Added by Leszek Koltunski about 4 years ago

Avoid cutouts in a new way

View differences:

src/main/res/layout/main.xml
12 12
        android:layout_alignParentTop="true"/>
13 13

  
14 14
    <LinearLayout
15
        android:id="@+id/upperBar"
15
        android:id="@+id/hiddenBar"
16 16
        android:layout_alignParentTop="true"
17 17
        android:layout_width="fill_parent"
18 18
        android:layout_height="0dp"
......
21 21
        android:background="@android:color/transparent">
22 22
    </LinearLayout>
23 23

  
24
    <LinearLayout
25
        android:id="@+id/upperBar"
26
        android:layout_below="@id/hiddenBar"
27
        android:layout_width="fill_parent"
28
        android:layout_height="0dp"
29
        android:gravity="center"
30
        android:orientation="horizontal"
31
        android:background="@android:color/transparent">
32
    </LinearLayout>
33

  
24 34
    <LinearLayout
25 35
        android:id="@+id/lowerBar"
26 36
        android:layout_alignParentBottom="true"

Also available in: Unified diff