Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask_android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Danny de Caluwe
bitmask_android
Commits
ea90432b
Verified
Commit
ea90432b
authored
6 years ago
by
cyberta
Browse files
Options
Downloads
Patches
Plain Diff
#8920
create round background image in donation dialog
parent
0616d900
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/build.gradle
+1
-0
1 addition, 0 deletions
app/build.gradle
app/src/main/res/layout/donation_reminder_dialog.xml
+22
-6
22 additions, 6 deletions
app/src/main/res/layout/donation_reminder_dialog.xml
with
23 additions
and
6 deletions
app/build.gradle
+
1
−
0
View file @
ea90432b
...
...
@@ -161,6 +161,7 @@ dependencies {
implementation
'com.android.support:support-fragment:27.0.2'
implementation
'com.android.support.constraint:constraint-layout:1.0.2'
implementation
'com.android.support:multidex:1.0.2'
implementation
'com.android.support:cardview-v7:27.0.2'
}
// Ensure the no-op dependency is always used in JVM tests.
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/donation_reminder_dialog.xml
+
22
−
6
View file @
ea90432b
...
...
@@ -2,6 +2,7 @@
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:scrollbars=
"none"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
...
...
@@ -31,13 +32,28 @@
android:gravity=
"center"
android:text=
"@string/donate_message"
/>
<android.support.v7.widget.CardView
android:layout_width=
"120dp"
android:layout_height=
"120dp"
android:innerRadius=
"0dp"
android:shape=
"ring"
app:cardCornerRadius=
"60dp"
>
<FrameLayout
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=
"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/donation_img"
/>
android:src=
"@drawable/logo"
/>
</FrameLayout>
</android.support.v7.widget.CardView>
<Button
android:id=
"@+id/btnDonate"
...
...
@@ -45,7 +61,7 @@
android:layout_height=
"38dp"
android:layout_marginLeft=
"@dimen/add_button_margin"
android:layout_marginRight=
"@dimen/add_button_margin"
android:layout_marginTop=
"@dimen/
standard
_margin"
android:layout_marginTop=
"@dimen/
add_button
_margin"
android:background=
"@drawable/cust_button_primary"
android:text=
"@string/donate_button_donate"
android:textColor=
"@color/white"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment