Project

General

Profile

« Previous | Next » 

Revision 4ac0ea40

Added by Leszek Koltunski almost 2 years ago

Purchase Pane: buttons

View differences:

src/main/res/layout/purchase.xml
76 76
            android:maxLines="1"
77 77
            android:text="@string/buy_one"/>
78 78

  
79
        <Button
79
        <ImageButton
80 80
            android:id="@+id/purchaseButtonOne"
81 81
            android:layout_width="0dp"
82 82
            android:layout_height="match_parent"
83 83
            android:layout_weight="1.0"
84 84
            android:gravity="center_vertical|end"
85 85
            android:backgroundTint="@color/dark_white"
86
            android:paddingStart="5dp"
87
            android:textSize="26sp"
88
            android:singleLine="true"
89
            android:maxLines="1"/>
86
            android:scaleType="fitCenter"
87
            android:src="@drawable/price_50"/>
90 88

  
91 89
    </LinearLayout>
92 90

  
......
111 109
            android:maxLines="1"
112 110
            android:text="@string/buy_all"/>
113 111

  
114
        <Button
112
        <ImageButton
115 113
            android:id="@+id/purchaseButtonAll"
116 114
            android:layout_width="0dp"
117 115
            android:layout_height="match_parent"
118 116
            android:layout_weight="1.0"
119 117
            android:gravity="center_vertical|end"
120 118
            android:backgroundTint="@color/dark_white"
121
            android:paddingStart="5dp"
122
            android:textSize="26sp"
123
            android:singleLine="true"
124
            android:maxLines="1"/>
119
            android:scaleType="fitCenter"
120
            android:src="@drawable/price_500"/>
125 121
    </LinearLayout>
126 122

  
127 123
    <LinearLayout

Also available in: Unified diff