Skip to content

Commit fdcd6ea

Browse files
committed
Hidden Store option
1 parent b9e23b3 commit fdcd6ea

2 files changed

Lines changed: 105 additions & 103 deletions

File tree

source-code/app/src/main/res/layout-land/fragment_home.xml

Lines changed: 56 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -61,61 +61,62 @@
6161

6262
</android.support.v7.widget.CardView>
6363

64-
<android.support.v7.widget.CardView
65-
android:id="@+id/store_card_view"
66-
android:layout_width="match_parent"
67-
android:layout_height="wrap_content"
68-
android:layout_gravity="center"
69-
android:layout_marginTop="@dimen/layout_margin"
70-
card_view:cardBackgroundColor="@color/home_color"
71-
card_view:cardCornerRadius="@dimen/cardview_default_radius"
72-
card_view:cardElevation="@dimen/cardview_default_elevation">
73-
74-
<LinearLayout
75-
android:layout_width="match_parent"
76-
android:layout_height="wrap_content"
77-
android:orientation="horizontal">
78-
79-
<ImageView
80-
android:id="@+id/store_logo"
81-
android:layout_width="wrap_content"
82-
android:layout_height="match_parent"
83-
android:paddingLeft="@dimen/cardview_body_padding_left_right"
84-
android:src="@drawable/store" />
85-
86-
<LinearLayout
87-
android:layout_width="0dp"
88-
android:layout_height="wrap_content"
89-
android:layout_weight="1"
90-
android:orientation="vertical">
91-
92-
<view
93-
android:id="@+id/store_title"
94-
style="@style/CardView.Title"
95-
class="org.buildmlearn.toolkit.views.TextViewPlus"
96-
android:text="@string/buildmlearn_store_title" />
97-
98-
<view
99-
android:id="@+id/view"
100-
style="@style/CardView.Body"
101-
class="org.buildmlearn.toolkit.views.TextViewPlus"
102-
android:text="@string/buildmlearn_store_text" />
103-
104-
<Button
105-
android:id="@+id/button"
106-
style="@style/Button.Raised"
107-
android:layout_width="wrap_content"
108-
android:layout_height="wrap_content"
109-
android:layout_gravity="left"
110-
android:layout_marginBottom="@dimen/button_margin_bottom"
111-
android:layout_marginLeft="@dimen/button_margin_left_right"
112-
android:text="@string/goto_store" />
113-
</LinearLayout>
114-
115-
116-
</LinearLayout>
117-
118-
</android.support.v7.widget.CardView>
64+
<!-- Hidden until BuildmLearn store app is published to play store-->
65+
<!--<android.support.v7.widget.CardView-->
66+
<!--android:id="@+id/store_card_view"-->
67+
<!--android:layout_width="match_parent"-->
68+
<!--android:layout_height="wrap_content"-->
69+
<!--android:layout_gravity="center"-->
70+
<!--android:layout_marginTop="@dimen/layout_margin"-->
71+
<!--card_view:cardBackgroundColor="@color/home_color"-->
72+
<!--card_view:cardCornerRadius="@dimen/cardview_default_radius"-->
73+
<!--card_view:cardElevation="@dimen/cardview_default_elevation">-->
74+
75+
<!--<LinearLayout-->
76+
<!--android:layout_width="match_parent"-->
77+
<!--android:layout_height="wrap_content"-->
78+
<!--android:orientation="horizontal">-->
79+
80+
<!--<ImageView-->
81+
<!--android:id="@+id/store_logo"-->
82+
<!--android:layout_width="wrap_content"-->
83+
<!--android:layout_height="match_parent"-->
84+
<!--android:paddingLeft="@dimen/cardview_body_padding_left_right"-->
85+
<!--android:src="@drawable/store" />-->
86+
87+
<!--<LinearLayout-->
88+
<!--android:layout_width="0dp"-->
89+
<!--android:layout_height="wrap_content"-->
90+
<!--android:layout_weight="1"-->
91+
<!--android:orientation="vertical">-->
92+
93+
<!--<view-->
94+
<!--android:id="@+id/store_title"-->
95+
<!--style="@style/CardView.Title"-->
96+
<!--class="org.buildmlearn.toolkit.views.TextViewPlus"-->
97+
<!--android:text="@string/buildmlearn_store_title" />-->
98+
99+
<!--<view-->
100+
<!--android:id="@+id/view"-->
101+
<!--style="@style/CardView.Body"-->
102+
<!--class="org.buildmlearn.toolkit.views.TextViewPlus"-->
103+
<!--android:text="@string/buildmlearn_store_text" />-->
104+
105+
<!--<Button-->
106+
<!--android:id="@+id/button"-->
107+
<!--style="@style/Button.Raised"-->
108+
<!--android:layout_width="wrap_content"-->
109+
<!--android:layout_height="wrap_content"-->
110+
<!--android:layout_gravity="left"-->
111+
<!--android:layout_marginBottom="@dimen/button_margin_bottom"-->
112+
<!--android:layout_marginLeft="@dimen/button_margin_left_right"-->
113+
<!--android:text="@string/goto_store" />-->
114+
<!--</LinearLayout>-->
115+
116+
117+
<!--</LinearLayout>-->
118+
119+
<!--</android.support.v7.widget.CardView>-->
119120

120121
</LinearLayout>
121122
</ScrollView>

source-code/app/src/main/res/layout/fragment_home.xml

Lines changed: 49 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -54,54 +54,55 @@
5454

5555
</android.support.v7.widget.CardView>
5656

57-
<android.support.v7.widget.CardView
58-
android:id="@+id/store_card_view"
59-
android:layout_width="match_parent"
60-
android:layout_height="wrap_content"
61-
android:layout_gravity="center"
62-
android:layout_marginTop="@dimen/layout_margin"
63-
card_view:cardBackgroundColor="@color/home_color"
64-
card_view:cardCornerRadius="@dimen/cardview_default_radius"
65-
card_view:cardElevation="@dimen/cardview_default_elevation"
66-
card_view:contentPaddingTop="@dimen/cardview_top_padding">
67-
68-
<LinearLayout
69-
android:layout_width="match_parent"
70-
android:layout_height="wrap_content"
71-
android:orientation="vertical">
72-
73-
<ImageView
74-
android:id="@+id/store_logo"
75-
android:layout_width="match_parent"
76-
android:layout_height="wrap_content"
77-
android:src="@drawable/store" />
78-
79-
<view
80-
android:id="@+id/store_title"
81-
style="@style/CardView.Title"
82-
class="org.buildmlearn.toolkit.views.TextViewPlus"
83-
android:text="@string/buildmlearn_store_title" />
84-
85-
<view
86-
android:id="@+id/view"
87-
style="@style/CardView.Body"
88-
class="org.buildmlearn.toolkit.views.TextViewPlus"
89-
android:text="@string/buildmlearn_store_text" />
90-
91-
<Button
92-
android:id="@+id/button"
93-
style="@style/Button.Raised"
94-
android:layout_width="wrap_content"
95-
android:layout_height="wrap_content"
96-
android:layout_gravity="left"
97-
android:layout_marginBottom="@dimen/button_margin_bottom"
98-
android:layout_marginLeft="@dimen/button_margin_left_right"
99-
android:text="@string/goto_store" />
100-
101-
102-
</LinearLayout>
103-
104-
</android.support.v7.widget.CardView>
57+
<!-- Hidden until BuildmLearn store app is published to play store-->
58+
<!--<android.support.v7.widget.CardView-->
59+
<!--android:id="@+id/store_card_view"-->
60+
<!--android:layout_width="match_parent"-->
61+
<!--android:layout_height="wrap_content"-->
62+
<!--android:layout_gravity="center"-->
63+
<!--android:layout_marginTop="@dimen/layout_margin"-->
64+
<!--card_view:cardBackgroundColor="@color/home_color"-->
65+
<!--card_view:cardCornerRadius="@dimen/cardview_default_radius"-->
66+
<!--card_view:cardElevation="@dimen/cardview_default_elevation"-->
67+
<!--card_view:contentPaddingTop="@dimen/cardview_top_padding">-->
68+
69+
<!--<LinearLayout-->
70+
<!--android:layout_width="match_parent"-->
71+
<!--android:layout_height="wrap_content"-->
72+
<!--android:orientation="vertical">-->
73+
74+
<!--<ImageView-->
75+
<!--android:id="@+id/store_logo"-->
76+
<!--android:layout_width="match_parent"-->
77+
<!--android:layout_height="wrap_content"-->
78+
<!--android:src="@drawable/store" />-->
79+
80+
<!--<view-->
81+
<!--android:id="@+id/store_title"-->
82+
<!--style="@style/CardView.Title"-->
83+
<!--class="org.buildmlearn.toolkit.views.TextViewPlus"-->
84+
<!--android:text="@string/buildmlearn_store_title" />-->
85+
86+
<!--<view-->
87+
<!--android:id="@+id/view"-->
88+
<!--style="@style/CardView.Body"-->
89+
<!--class="org.buildmlearn.toolkit.views.TextViewPlus"-->
90+
<!--android:text="@string/buildmlearn_store_text" />-->
91+
92+
<!--<Button-->
93+
<!--android:id="@+id/button"-->
94+
<!--style="@style/Button.Raised"-->
95+
<!--android:layout_width="wrap_content"-->
96+
<!--android:layout_height="wrap_content"-->
97+
<!--android:layout_gravity="left"-->
98+
<!--android:layout_marginBottom="@dimen/button_margin_bottom"-->
99+
<!--android:layout_marginLeft="@dimen/button_margin_left_right"-->
100+
<!--android:text="@string/goto_store" />-->
101+
102+
103+
<!--</LinearLayout>-->
104+
105+
<!--</android.support.v7.widget.CardView>-->
105106

106107
</LinearLayout>
107108
</ScrollView>

0 commit comments

Comments
 (0)