11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <RelativeLayout
3- xmlns : android =" http://schemas.android.com/apk/res/android"
4- android : id =" @+id/root"
2+ <ScrollView xmlns : android =" http://schemas.android.com/apk/res/android"
53 android : layout_width =" match_parent"
6- android : layout_height =" match_parent" >
4+ android : layout_height =" match_parent"
5+ android : layout_gravity =" center" >
76
8- <androidx .appcompat.widget.AppCompatTextView
9- android : id =" @+id/serviceConnectionStatus "
7+ <LinearLayout
8+ android : id =" @+id/root "
109 android : layout_width =" match_parent"
1110 android : layout_height =" wrap_content"
12- android : layout_marginTop = " 16sp "
11+ android : layout_gravity = " center "
1312 android : gravity =" center"
14- android : text = " @string/general_service_connection_not_connected_text " / >
13+ android : orientation = " vertical " >
1514
16- <androidx .appcompat.widget.AppCompatEditText
17- android : id =" @+id/skuValueInput "
18- android : layout_width =" match_parent"
19- android : layout_height =" 56dp "
20- android : layout_above = " @+id/consumeSwitch "
21- android : hint = " @string/general_product_id_hint "
22- android : padding = " 16dp " />
15+ <androidx .appcompat.widget.AppCompatTextView
16+ android : id =" @+id/serviceConnectionStatus "
17+ android : layout_width =" match_parent"
18+ android : layout_height =" wrap_content "
19+ android : layout_marginTop = " 16sp "
20+ android : gravity = " center "
21+ android : text = " @string/general_service_connection_not_connected_text " />
2322
24- <androidx .appcompat.widget.SwitchCompat
25- android : id =" @+id/consumeSwitch"
26- android : layout_width =" match_parent"
27- android : layout_height =" 56dp"
28- android : layout_above =" @+id/purchaseButton"
29- android : padding =" 16dp"
30- android : text =" @string/general_consume_purchase_text" />
31-
32- <androidx .appcompat.widget.AppCompatButton
33- android : id =" @+id/purchaseButton"
34- android : layout_width =" wrap_content"
35- android : layout_height =" wrap_content"
36- android : layout_centerInParent =" true"
37- android : text =" @string/general_purchase_text" />
23+ <androidx .appcompat.widget.AppCompatEditText
24+ android : id =" @+id/skuValueInput"
25+ android : layout_width =" match_parent"
26+ android : layout_height =" 56dp"
27+ android : hint =" @string/general_product_id_hint"
28+ android : padding =" 16dp" />
3829
39- <androidx .appcompat.widget.AppCompatButton
40- android : id =" @+id/subscribeButton"
41- android : layout_width =" wrap_content"
42- android : layout_height =" wrap_content"
43- android : layout_below =" @id/purchaseButton"
44- android : layout_centerHorizontal =" true"
45- android : text =" @string/general_subscribe_text" />
30+ <androidx .appcompat.widget.SwitchCompat
31+ android : id =" @+id/consumeSwitch"
32+ android : layout_width =" match_parent"
33+ android : layout_height =" 56dp"
34+ android : padding =" 16dp"
35+ android : text =" @string/general_consume_purchase_text" />
4636
47- <androidx .appcompat.widget.AppCompatButton
48- android : id =" @+id/queryPurchasedItemsButton"
49- android : layout_width =" wrap_content"
50- android : layout_height =" wrap_content"
51- android : layout_below =" @id/subscribeButton"
52- android : layout_centerHorizontal =" true"
53- android : text =" @string/general_query_purchase_text" />
37+ <androidx .appcompat.widget.AppCompatButton
38+ android : id =" @+id/purchaseButton"
39+ android : layout_width =" wrap_content"
40+ android : layout_height =" wrap_content"
41+ android : text =" @string/general_purchase_text" />
5442
55- <androidx .appcompat.widget.AppCompatButton
56- android : id =" @+id/querySubscribedItemsButton"
57- android : layout_width =" wrap_content"
58- android : layout_height =" wrap_content"
59- android : layout_below =" @id/queryPurchasedItemsButton"
60- android : layout_centerHorizontal =" true"
61- android : text =" @string/general_query_subscription_text" />
43+ <androidx .appcompat.widget.AppCompatButton
44+ android : id =" @+id/subscribeButton"
45+ android : layout_width =" wrap_content"
46+ android : layout_height =" wrap_content"
47+ android : text =" @string/general_subscribe_text" />
48+
49+ <androidx .appcompat.widget.AppCompatButton
50+ android : id =" @+id/queryPurchasedItemsButton"
51+ android : layout_width =" wrap_content"
52+ android : layout_height =" wrap_content"
53+ android : text =" @string/general_query_purchase_text" />
54+
55+ <androidx .appcompat.widget.AppCompatButton
56+ android : id =" @+id/querySubscribedItemsButton"
57+ android : layout_width =" wrap_content"
58+ android : layout_height =" wrap_content"
59+ android : text =" @string/general_query_subscription_text" />
60+
61+ <androidx .appcompat.widget.AppCompatButton
62+ android : id =" @+id/getSkuDetailInAppButton"
63+ android : layout_width =" wrap_content"
64+ android : layout_height =" wrap_content"
65+ android : text =" @string/general_get_sku_detail_inapp_text" />
66+
67+ <androidx .appcompat.widget.AppCompatButton
68+ android : id =" @+id/getSkuDetailSubscriptionButton"
69+ android : layout_width =" wrap_content"
70+ android : layout_height =" wrap_content"
71+ android : text =" @string/general_get_sku_detail_sub_text" />
6272
63- </RelativeLayout >
73+ </LinearLayout >
74+ </ScrollView >
0 commit comments