I got a list view for navigation drawer, how can I put list item like "Add Friends", "Settings" align at the bottom of the list view.
Update 1
I add a setting view to the footer view.
View settingView = getLayoutInflater().inflate(R.layout.drawer_list_item, null);
TextView textView = (TextView)settingView.findViewById(R.id.drawer_list_item_text_view);
textView.setText("Settings");
drawerListView.addFooterView(settingView);
The settings item appear at the last one in the list view successfully. But how can I make it to stick and align at the bottom? Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…