diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/donation_reminder_dialog.xml | 16 | ||||
-rw-r--r-- | app/src/main/res/layout/f_drawer_main.xml | 9 |
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" |