summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-09-08 20:19:02 +0200
committercyBerta <cyberta@riseup.net>2018-09-08 20:19:02 +0200
commit80b04ba633303d33207ca9438ee6933915036e84 (patch)
treefee85ab76b8b9b86d213378f697e78bd1f59b19a /app/src/main/res/layout
parent25f822e35f6f1f34a430f836d0883c19998b9452 (diff)
custom theme for riseup vpn
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/donation_reminder_dialog.xml16
-rw-r--r--app/src/main/res/layout/f_drawer_main.xml9
2 files changed, 9 insertions, 16 deletions
diff --git a/app/src/main/res/layout/donation_reminder_dialog.xml b/app/src/main/res/layout/donation_reminder_dialog.xml
index 3241071f..e8fb34d4 100644
--- a/app/src/main/res/layout/donation_reminder_dialog.xml
+++ b/app/src/main/res/layout/donation_reminder_dialog.xml
@@ -38,20 +38,12 @@
android:innerRadius="0dp"
android:shape="ring"
app:cardCornerRadius="60dp">
- <FrameLayout
+ <ImageView
+ android:id="@+id/donation_logo"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@drawable/background_main"
- >
- <ImageView
- android:id="@+id/ivImg"
- android:layout_width="120dp"
- android:layout_height="wrap_content"
- android:scaleType="centerInside"
- android:layout_marginBottom="@dimen/add_button_margin"
- android:layout_marginTop="@dimen/add_button_margin"
- android:src="@drawable/logo" />
- </FrameLayout>
+ android:scaleType="centerCrop"
+ android:src="@drawable/donation_img" />
</android.support.v7.widget.CardView>
diff --git a/app/src/main/res/layout/f_drawer_main.xml b/app/src/main/res/layout/f_drawer_main.xml
index 549b4b6a..b04d7b87 100644
--- a/app/src/main/res/layout/f_drawer_main.xml
+++ b/app/src/main/res/layout/f_drawer_main.xml
@@ -11,7 +11,7 @@
<FrameLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="150dp">
<android.support.v7.widget.AppCompatImageView
android:id="@+id/background"
@@ -23,10 +23,11 @@
app:srcCompat="@drawable/background_drawer" />
<android.support.v7.widget.AppCompatImageView
- android:id="@+id/mask"
+ android:id="@+id/foreground"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/logo" />
+ android:layout_height="match_parent"
+ android:scaleType="centerInside"
+ app:srcCompat="@drawable/drawer_logo" />
</FrameLayout>
<RelativeLayout
android:layout_width="match_parent"