UI: Add tags to all the scroll views.

This commit is contained in:
Unknown W. Brackets committed 2016-01-22 22:52:13 -08:00
1 parent 1c2ac798cd
commit c0238de4ee
8 files changed
+26

No files matched your search

+2
View File
@@ -400,6 +400,7 @@ void StoreScreen::CreateViews() {
} else {
content = new LinearLayout(ORIENT_HORIZONTAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f));
ScrollView *leftScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(WRAP_CONTENT, FILL_PARENT, 0.4f));
leftScroll->SetTag("StoreMainList");
content->Add(leftScroll);
LinearLayout *scrollItemView = new LinearLayout(ORIENT_VERTICAL, new LayoutParams(FILL_PARENT, WRAP_CONTENT));
leftScroll->Add(scrollItemView);
@@ -411,6 +412,7 @@ void StoreScreen::CreateViews() {
// TODO: Similar apps, etc etc
productPanel_ = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(0.5f));
leftScroll->SetTag("StoreMainProduct");
content->Add(productPanel_);
}
root_->Add(content);