Skip to content

chore: remove leftovers from TabHost - #11

Open
letharion wants to merge 1 commit into
gerhardol:feature/deprecated-tabhostfrom
letharion:chore/tabhost-leftover-ids
Open

letharion wants to merge 1 commit into
gerhardol:feature/deprecated-tabhostfrom
letharion:chore/tabhost-leftover-ids

Conversation

@letharion

Copy link
Copy Markdown

Removal of various leftovers that are no longer in use after the removal of tabhost.

TabHost found its parts through fixed ids, and the code looked up the
host itself by id. After the move to TabLayout nothing uses them, and
nothing uses the TabWidget style either:

- detail.xml: drop @+id/tabhost from the plain LinearLayout, and
  @android:id/tabcontent from the tab content FrameLayout.
- start.xml: drop @+id/tabhost_start from the plain RelativeLayout, and
  start_tabcontent from the tab content FrameLayout.
- styles.xml: drop the BottomNavigationTabWidget style and the
  android:tabWidgetStyle item in MainLayoutTheme that applied it.

The names suggested a TabHost still exists, which misleads anyone
searching the layouts.
@gerhardol

Copy link
Copy Markdown
Owner

+1 squashing to the previous commit (I appreciate separate commits for review though)

@letharion

Copy link
Copy Markdown
Author

You mean this would be squashed into d001387? Makes sense to me, since that's the commit that made these bits "left overs". I don't have the access, so I'll leave that to you, but let me know if I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants