mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 14:00:27 +02:00
UI: Add tags to all the scroll views.
This commit is contained in:
1 parent
1c2ac798cd
commit
c0238de4ee
8 files changed
+26
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user