mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Migrated Explore Package From Butterknife to ViewBinding (#5592)
* Butterknife to ViewBinding * code cleanup and tests migrated to binding * tests fixed * adjustments and code cleanup
This commit is contained in:
parent
7b63185d5a
commit
2076bf9b29
15 changed files with 246 additions and 355 deletions
|
|
@ -15,7 +15,9 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:background="?attr/mainBackground">
|
||||
|
||||
<include layout="@layout/toolbar"/>
|
||||
<include
|
||||
android:id="@+id/toolbarBinding"
|
||||
layout="@layout/toolbar"/>
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tab_layout"
|
||||
|
|
@ -44,4 +46,4 @@
|
|||
android:layout_below="@id/toolbar_layout" />
|
||||
</RelativeLayout>
|
||||
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
app:elevation="@dimen/dimen_6" />
|
||||
|
||||
<include
|
||||
android:id="@+id/bottom_sheet_details"
|
||||
android:id="@+id/bottom_sheet_details_binding"
|
||||
layout="@layout/bottom_sheet_details_explore" />
|
||||
|
||||
<ProgressBar
|
||||
|
|
@ -78,4 +78,4 @@
|
|||
android:visibility="gone"
|
||||
app:elevation="@dimen/dimen_6" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Authors:
|
||||
* Winston Sung
|
||||
-->
|
||||
<resources>
|
||||
<string name="crash_dialog_title">同享壞咗</string>
|
||||
<string name="crash_dialog_text">哎呀。出咗錯!</string>
|
||||
<string name="crash_dialog_ok_toast">多謝你!</string>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue