activity_customer_service.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout>
  3. <data>
  4. <variable
  5. name="customerViewModel"
  6. type="com.datarecovery.master.module.customerservice.CustomerServiceViewModel" />
  7. </data>
  8. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  9. xmlns:app="http://schemas.android.com/apk/res-auto"
  10. xmlns:tools="http://schemas.android.com/tools"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent">
  13. <androidx.appcompat.widget.Toolbar
  14. android:id="@+id/browser_header"
  15. style="@style/tool_bar_style"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. app:layout_constraintTop_toTopOf="parent"
  19. app:navigationIcon="@drawable/icon_back"
  20. app:navigationOnClickListener="@{()-> customerViewModel.onBackClick()}">
  21. <TextView
  22. style="@style/Tool_Bar_Title_Txt"
  23. android:text="@{customerViewModel.webTitle}"
  24. tools:text="this is a test title" />
  25. </androidx.appcompat.widget.Toolbar>
  26. <WebView
  27. android:id="@+id/browser_web_view"
  28. android:layout_width="match_parent"
  29. android:layout_height="0dp"
  30. app:layout_constraintBottom_toBottomOf="parent"
  31. app:layout_constraintTop_toBottomOf="@id/browser_header" />
  32. </androidx.constraintlayout.widget.ConstraintLayout>
  33. </layout>