From 47ffcc64c0d443b16169f43848f1453ca8144031 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 30 Apr 2021 13:40:14 -0600 Subject: finished designing fragments, need to start programming them soon --- app/build.gradle | 3 +- app/src/main/AndroidManifest.xml | 2 + .../example/wiimmterfaceandroid/MainActivity.java | 2 +- .../wiimmterfaceandroid/RecentCodesAdapter.java | 4 ++ .../wiimmterfaceandroid/RecentCodesFragment.java | 4 ++ .../wiimmterfaceandroid/WatchCodeAdapter.java | 4 ++ .../wiimmterfaceandroid/WatchCodeFragment.java | 4 ++ .../wiimmterfaceandroid/wiimmfi/RoomAdapter.java | 4 ++ .../wiimmterfaceandroid/wiimmfi/RoomFragment.java | 4 ++ .../wiimmfi/WiimmfiActivity.java | 19 ++++++++ app/src/main/res/drawable/ic_baseline_code_24.xml | 10 ++++ app/src/main/res/drawable/ic_baseline_info_24.xml | 5 ++ app/src/main/res/drawable/ic_baseline_login_24.xml | 10 ++++ .../res/drawable/ic_baseline_meeting_room_24.xml | 10 ++++ app/src/main/res/drawable/ic_baseline_menu_24.xml | 10 ++++ .../main/res/drawable/ic_baseline_person_24.xml | 10 ++++ .../main/res/drawable/ic_baseline_public_24.xml | 10 ++++ .../main/res/drawable/ic_baseline_refresh_24.xml | 5 ++ .../res/drawable/ic_baseline_thumbs_up_down_24.xml | 10 ++++ .../main/res/drawable/ic_baseline_warning_24.xml | 10 ++++ app/src/main/res/layout/activity_main.xml | 54 +++++++++++++++++---- app/src/main/res/layout/activity_wiimmfi.xml | 55 ++++++++++++++++++++++ .../res/layout/fragment_recent_friend_codes.xml | 23 +++++++++ app/src/main/res/layout/fragment_room.xml | 25 ++++++++++ .../main/res/layout/friend_code_input_fragment.xml | 39 +++++++++++++++ .../main/res/layout/recent_friend_codes_item.xml | 18 +++++++ app/src/main/res/layout/room_player_data_item.xml | 37 +++++++++++++++ app/src/main/res/menu/drawer_navigation_menu.xml | 44 +++++++++++++++++ app/src/main/res/menu/top_app_bar.xml | 10 ++++ app/src/main/res/values-night/themes.xml | 2 +- app/src/main/res/values/themes.xml | 6 +-- 31 files changed, 437 insertions(+), 16 deletions(-) create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/RecentCodesAdapter.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/RecentCodesFragment.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeAdapter.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomAdapter.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/RoomFragment.java create mode 100644 app/src/main/java/com/example/wiimmterfaceandroid/wiimmfi/WiimmfiActivity.java create mode 100644 app/src/main/res/drawable/ic_baseline_code_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_info_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_login_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_meeting_room_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_menu_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_person_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_public_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_refresh_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_thumbs_up_down_24.xml create mode 100644 app/src/main/res/drawable/ic_baseline_warning_24.xml create mode 100644 app/src/main/res/layout/activity_wiimmfi.xml create mode 100644 app/src/main/res/layout/fragment_recent_friend_codes.xml create mode 100644 app/src/main/res/layout/fragment_room.xml create mode 100644 app/src/main/res/layout/friend_code_input_fragment.xml create mode 100644 app/src/main/res/layout/recent_friend_codes_item.xml create mode 100644 app/src/main/res/layout/room_player_data_item.xml create mode 100644 app/src/main/res/menu/drawer_navigation_menu.xml create mode 100644 app/src/main/res/menu/top_app_bar.xml (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index 579184a..a525737 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,11 +29,12 @@ android { } dependencies { - + implementation "androidx.fragment:fragment:1.3.3" implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation files('libs/jsoup-1.13.1.jar') + implementation 'com.android.support:cardview-v7:28.0.0' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bd605e1..bfbddd2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,6 +2,8 @@ + + + + diff --git a/app/src/main/res/drawable/ic_baseline_info_24.xml b/app/src/main/res/drawable/ic_baseline_info_24.xml new file mode 100644 index 0000000..654cfb3 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_info_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_login_24.xml b/app/src/main/res/drawable/ic_baseline_login_24.xml new file mode 100644 index 0000000..0d9837d --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_login_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_meeting_room_24.xml b/app/src/main/res/drawable/ic_baseline_meeting_room_24.xml new file mode 100644 index 0000000..d14eeed --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_meeting_room_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_menu_24.xml b/app/src/main/res/drawable/ic_baseline_menu_24.xml new file mode 100644 index 0000000..4350ba9 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_menu_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_person_24.xml b/app/src/main/res/drawable/ic_baseline_person_24.xml new file mode 100644 index 0000000..6bdced2 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_person_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_public_24.xml b/app/src/main/res/drawable/ic_baseline_public_24.xml new file mode 100644 index 0000000..19fb425 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_public_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_refresh_24.xml b/app/src/main/res/drawable/ic_baseline_refresh_24.xml new file mode 100644 index 0000000..788bfdf --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_refresh_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_thumbs_up_down_24.xml b/app/src/main/res/drawable/ic_baseline_thumbs_up_down_24.xml new file mode 100644 index 0000000..007d70e --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_thumbs_up_down_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_baseline_warning_24.xml b/app/src/main/res/drawable/ic_baseline_warning_24.xml new file mode 100644 index 0000000..a02bc13 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_warning_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4fc2444..47d93ae 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,18 +1,52 @@ - - + - \ No newline at end of file + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_wiimmfi.xml b/app/src/main/res/layout/activity_wiimmfi.xml new file mode 100644 index 0000000..c7a94fd --- /dev/null +++ b/app/src/main/res/layout/activity_wiimmfi.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_recent_friend_codes.xml b/app/src/main/res/layout/fragment_recent_friend_codes.xml new file mode 100644 index 0000000..b1cbfe7 --- /dev/null +++ b/app/src/main/res/layout/fragment_recent_friend_codes.xml @@ -0,0 +1,23 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_room.xml b/app/src/main/res/layout/fragment_room.xml new file mode 100644 index 0000000..42d0d60 --- /dev/null +++ b/app/src/main/res/layout/fragment_room.xml @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/friend_code_input_fragment.xml b/app/src/main/res/layout/friend_code_input_fragment.xml new file mode 100644 index 0000000..66c62ed --- /dev/null +++ b/app/src/main/res/layout/friend_code_input_fragment.xml @@ -0,0 +1,39 @@ + + + + + + + +