package Ġcom . tex as gam er . zephyr . fragment Ċ Ċ import Ġandroid . util . Typed Value Ċ import Ġandroid . view . View Ċ import Ġandroid . view . Window Insets Ċ import Ġandroidx . annotation . Layout Res Ċ import Ġcom . tex as gam er . zephyr . R Ċ import Ġcom . tex as gam er . zephyr . Ze phyr Application Ċ import Ġcom . tex as gam er . zephyr . databinding . Fragment About Binding Ċ import Ġcom . tex as gam er . zephyr . view model . About Fragment ViewModel Ċ Ċ /** Ċ Ġ* ĠFragment Ġwhich Ġdisplays Ġversion Ġinfo , Ġetc . Ċ Ġ*/ Ċ class ĠAbout Fragment Ġ: ĠBase Fragment < About Fragment ViewModel , ĠFragment About Binding >() Ġ{ ĊĠĠĠ Ġ@ Layout Res ĊĠĠĠ Ġoverride Ġfun Ġget Fragment Layout (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠR . layout . fragment _ about ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinject Dependencies () Ġ{ ĊĠĠĠĠĠĠĠ ĠZe phyr Application . getApplication Component (). inject ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget ViewModel Class (): ĠClass < About Fragment ViewModel > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAbout Fragment ViewModel :: class . java ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġset View Bindings ( view : ĠView ) Ġ{ ĊĠĠĠĠĠĠĠ Ġm Data Binding . viewModel Ġ= Ġm ViewModel ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Apply Window Insets ( view : ĠView , Ġwindow Insets : ĠWindow Insets ): ĠWindow Insets Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Apply Window Insets ( view , Ġwindow Insets ) ĊĠĠĠĠĠĠĠ Ġval Ġaction Bar Size Typed Value Ġ= ĠTyped Value () ĊĠĠĠĠĠĠĠ Ġrequire Context (). theme . resolve Attribute ( R . attr . action Bar Size , Ġaction Bar Size Typed Value , Ġtrue ) ĊĠĠĠĠĠĠĠ Ġview . set Padding ( 0 , Ġ 0 , Ġ 0 , Ġresources . get Dimension Pixel Size ( action Bar Size Typed Value . resourceId ) Ġ+ Ġwindow Insets . system Window Inset Bottom ) ĊĠĠĠĠĠĠĠ Ġreturn Ġwindow Insets ĊĠĠĠ Ġ} Ċ }