mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-02 06:33:38 +01:00
Refactor a large portion of the payments code to prep it for PayPal support.
This commit is contained in:
committed by
Greyson Parrelli
parent
c563ef27da
commit
9d71c4df81
@@ -1,31 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44sp"
|
||||
android:layout_marginTop="2sp"
|
||||
android:layout_marginBottom="2sp"
|
||||
android:background="@drawable/donate_with_google_pay_rounded_background"
|
||||
android:padding="2sp"
|
||||
android:contentDescription="@string/donate_with_googlepay_button_content_description">
|
||||
android:clickable="true"
|
||||
android:contentDescription="@string/donate_with_googlepay_button_content_description"
|
||||
android:focusable="true"
|
||||
android:padding="2sp">
|
||||
|
||||
<LinearLayout
|
||||
android:duplicateParentState="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:weightSum="2"
|
||||
android:duplicateParentState="true"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:weightSum="2">
|
||||
|
||||
<ImageView
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_weight="1"
|
||||
android:duplicateParentState="true"
|
||||
android:src="@drawable/donate_with_googlepay_button_content"/>
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/donate_with_googlepay_button_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:duplicateParentState="true"
|
||||
android:src="@drawable/googlepay_button_overlay"/>
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/googlepay_button_overlay" />
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user