Skip to content

Commit

Permalink
Fix Connect view DPAD navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
sabercodic committed Aug 1, 2023
1 parent fafe4c9 commit b93973a
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions android/app/src/main/res/layout/connect.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<net.mullvad.mullvadvpn.ui.widget.HeaderBar android:id="@+id/header_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0.5dp" />
<androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="match_parent"
android:layout_height="match_parent">
<net.mullvad.mullvadvpn.ui.widget.NotificationBanner android:id="@+id/notification_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0.25dp" />
<androidx.compose.ui.platform.ComposeView android:id="@+id/compose_view"
app:layout_behavior="net.mullvad.mullvadvpn.ui.UnderNotificationBannerBehavior"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<net.mullvad.mullvadvpn.ui.widget.HeaderBar
android:id="@+id/header_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0.5dp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<net.mullvad.mullvadvpn.ui.widget.NotificationBanner
android:id="@+id/notification_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="0.25dp" />

<androidx.compose.ui.platform.ComposeView
android:id="@+id/compose_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="false"
app:layout_behavior="net.mullvad.mullvadvpn.ui.UnderNotificationBannerBehavior" />
</LinearLayout>
</LinearLayout>

0 comments on commit b93973a

Please sign in to comment.