diff --git a/examples/tv-app/android/App/.idea/gradle.xml b/examples/tv-app/android/App/.idea/gradle.xml index 021d59beb6e1eb..c55cb656581f0b 100644 --- a/examples/tv-app/android/App/.idea/gradle.xml +++ b/examples/tv-app/android/App/.idea/gradle.xml @@ -14,7 +14,6 @@ - diff --git a/examples/tv-app/android/App/platform-app/src/main/res/layout/activity_main.xml b/examples/tv-app/android/App/platform-app/src/main/res/layout/activity_main.xml index 32ba7adc3e1af2..c7727d9f33ebb3 100644 --- a/examples/tv-app/android/App/platform-app/src/main/res/layout/activity_main.xml +++ b/examples/tv-app/android/App/platform-app/src/main/res/layout/activity_main.xml @@ -6,30 +6,38 @@ android:layout_height="match_parent" tools:context="com.matter.tv.server.MainActivity"> - - - + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="parent"> + + + + + android:layout_alignParentBottom="true" + android:gravity="bottom" + app:menu="@menu/bottom_navigation_menu" /> - \ No newline at end of file + diff --git a/examples/tv-app/android/App/platform-app/src/main/res/layout/fragment_qr_code.xml b/examples/tv-app/android/App/platform-app/src/main/res/layout/fragment_qr_code.xml index 12ef37602374e6..33ea01bbade8c8 100644 --- a/examples/tv-app/android/App/platform-app/src/main/res/layout/fragment_qr_code.xml +++ b/examples/tv-app/android/App/platform-app/src/main/res/layout/fragment_qr_code.xml @@ -2,7 +2,7 @@ @@ -10,9 +10,10 @@ android:id="@+id/qrCodeTxt" android:layout_width="wrap_content" android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + android:layout_marginTop="20dp" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - android:layout_marginTop="20dp" /> + app:layout_constraintStart_toStartOf="parent" /> - \ No newline at end of file + diff --git a/examples/tv-app/android/App/platform-app/src/main/res/layout/bottom_navigation_menu.xml b/examples/tv-app/android/App/platform-app/src/main/res/menu/bottom_navigation_menu.xml similarity index 100% rename from examples/tv-app/android/App/platform-app/src/main/res/layout/bottom_navigation_menu.xml rename to examples/tv-app/android/App/platform-app/src/main/res/menu/bottom_navigation_menu.xml