diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-05-29 12:25:52 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-05-29 12:25:52 +0530 |
commit | 4dff537d21b868da40ac190b4ae196e814d9439d (patch) | |
tree | d19c21bd24f88e6e88820446d3b3ab36955777ea /ui/src/main/res/xml | |
parent | 761c2ade4a498ed91b5a78852f0f2eb954afa0f6 (diff) |
ui: address new databinding requirements
Layouts in differing configurations must agree on their root tags, so we give
both copies of main_activity the same root ID, and adjust the check for
two-pane layout to simply test for nullability. This also changes the inset
dispatch code to use ViewCompat and WindowInsetsCompat since they will adjust
insets based on the SDK level allowing us to abstract away that concern.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/xml')
0 files changed, 0 insertions, 0 deletions