Skip to content

Commit

Permalink
Merge pull request #138 from timeforcoffee/correct_round_layout
Browse files Browse the repository at this point in the history
remove box inset displayed on round watches
  • Loading branch information
Nicolas authored Apr 28, 2021
2 parents 68e5f6e + f2f13d9 commit 7040bd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions wear/src/main/res/layout/activity_wear.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.wearable.view.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.wear.widget.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
Expand All @@ -9,8 +9,7 @@

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_box="all">
android:layout_height="match_parent">

<ch.liip.timeforcoffee.view.FragmentViewPager
android:id="@+id/gridViewPager"
Expand All @@ -31,4 +30,4 @@
android:layout_height="match_parent"
android:layout_width="match_parent"/>

</android.support.wearable.view.BoxInsetLayout>
</androidx.wear.widget.BoxInsetLayout>
3 changes: 1 addition & 2 deletions wear/src/main/res/layout/fragment_departure_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
android:layout_marginTop="34dp"
android:dividerHeight="0dp"
android:listSelector="@android:color/transparent"
android:visibility="gone"
app:layout_box="left|bottom|right" />
android:visibility="gone"/>

</FrameLayout>
3 changes: 1 addition & 2 deletions wear/src/main/res/layout/fragment_station_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
android:layout_height="match_parent"
android:layout_marginTop="34dp"
android:dividerHeight="0dp"
android:visibility="gone"
app:layout_box="left|bottom|right" />
android:visibility="gone"/>

</FrameLayout>

0 comments on commit 7040bd7

Please sign in to comment.