diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-08-15 15:20:21 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-08-15 15:20:21 -0600 |
commit | b5b615d63b926e6ce8042ac82a0ce46ab38dad6d (patch) | |
tree | a4490b9e97b9950bb43f8d1bbb9af6fc2fade636 /app/src/main/res | |
parent | 39c888b7089cd5eb24c43b64ec6d0d365e946f9d (diff) | |
download | wiimmfi-watcher-b5b615d63b926e6ce8042ac82a0ce46ab38dad6d.tar wiimmfi-watcher-b5b615d63b926e6ce8042ac82a0ce46ab38dad6d.tar.gz wiimmfi-watcher-b5b615d63b926e6ce8042ac82a0ce46ab38dad6d.tar.bz2 |
made class to handle changing photo, implemented updater fix
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/globe.jpg | bin | 0 -> 27859 bytes | |||
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 40 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_wiimmfi.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/room_fragment.xml | 7 |
4 files changed, 27 insertions, 23 deletions
diff --git a/app/src/main/res/drawable/globe.jpg b/app/src/main/res/drawable/globe.jpg Binary files differnew file mode 100644 index 0000000..0ee5e50 --- /dev/null +++ b/app/src/main/res/drawable/globe.jpg diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 863ff0c..6ee8a70 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -31,26 +31,26 @@ app:title="Wiimmfi Watcher" app:titleTextColor="@color/white" /> - <com.google.android.material.tabs.TabLayout - android:id="@+id/tablayout_main" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/blue_700" - app:tabIndicatorColor="@color/white" - app:tabMode="fixed" - app:tabTextColor="@color/white"> - - <com.google.android.material.tabs.TabItem - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Friend Code" /> - - <com.google.android.material.tabs.TabItem - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Mii Name" /> - - </com.google.android.material.tabs.TabLayout> +<!-- <com.google.android.material.tabs.TabLayout--> +<!-- android:id="@+id/tablayout_main"--> +<!-- android:layout_width="match_parent"--> +<!-- android:layout_height="match_parent"--> +<!-- android:background="@color/blue_700"--> +<!-- app:tabIndicatorColor="@color/white"--> +<!-- app:tabMode="fixed"--> +<!-- app:tabTextColor="@color/white">--> + +<!-- <com.google.android.material.tabs.TabItem--> +<!-- android:layout_width="wrap_content"--> +<!-- android:layout_height="wrap_content"--> +<!-- android:text="Friend Code" />--> + +<!-- <com.google.android.material.tabs.TabItem--> +<!-- android:layout_width="wrap_content"--> +<!-- android:layout_height="wrap_content"--> +<!-- android:text="Mii Name" />--> + +<!-- </com.google.android.material.tabs.TabLayout>--> </com.google.android.material.appbar.AppBarLayout> diff --git a/app/src/main/res/layout/activity_wiimmfi.xml b/app/src/main/res/layout/activity_wiimmfi.xml index 41cf4fe..478ad10 100644 --- a/app/src/main/res/layout/activity_wiimmfi.xml +++ b/app/src/main/res/layout/activity_wiimmfi.xml @@ -26,11 +26,12 @@ app:collapsedTitleTextAppearance="@style/TextAppearance.App.CollapsingToolbar.Collapsed"> <ImageView + android:id="@+id/image" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" android:scaleType="centerCrop" - android:src="@drawable/course_ctgp" /> + android:src="@drawable/globe" /> <com.google.android.material.appbar.MaterialToolbar android:id="@+id/toolbar" diff --git a/app/src/main/res/layout/room_fragment.xml b/app/src/main/res/layout/room_fragment.xml index bf49aa1..c0e7807 100644 --- a/app/src/main/res/layout/room_fragment.xml +++ b/app/src/main/res/layout/room_fragment.xml @@ -11,10 +11,13 @@ android:id="@+id/room_header_text" android:layout_width="0dp" android:layout_height="wrap_content" - android:padding="18dp" + android:paddingTop="18dp" + android:paddingLeft="18dp" + android:paddingRight="18dp" android:text="TextView" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/player_data_recycler_view" |