Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
quick_max
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e9056a6a
authored
Sep 24, 2019
by
likorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ButtonNext as a style
parent
41503125
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
14 deletions
app/src/main/res/layout/fragment_response.xml
app/src/main/res/layout/fragment_time_is_over.xml
app/src/main/res/values/styles.xml
app/src/main/res/layout/fragment_response.xml
View file @
e9056a6a
...
@@ -10,13 +10,7 @@
...
@@ -10,13 +10,7 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_next"
android:id=
"@+id/btn_next"
android:layout_width=
"wrap_content"
style=
"@style/ButtonNext"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginEnd=
"24dp"
android:layout_marginBottom=
"8dp"
android:background=
"#009C27B0"
android:tint=
"#FFFFFF"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
...
...
app/src/main/res/layout/fragment_time_is_over.xml
View file @
e9056a6a
...
@@ -42,13 +42,7 @@
...
@@ -42,13 +42,7 @@
<ImageButton
<ImageButton
android:id=
"@+id/btn_next"
android:id=
"@+id/btn_next"
android:layout_width=
"wrap_content"
style=
"@style/ButtonNext"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_marginEnd=
"24dp"
android:layout_marginBottom=
"8dp"
android:background=
"#009C27B0"
android:tint=
"@color/gradient_light"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
...
...
app/src/main/res/values/styles.xml
View file @
e9056a6a
...
@@ -26,4 +26,14 @@
...
@@ -26,4 +26,14 @@
<item
name=
"android:textAppearance"
>
@style/TextAppearance.MaterialComponents.Headline4
</item>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.MaterialComponents.Headline4
</item>
</style>
</style>
<style
name=
"ButtonNext"
>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
<item
name=
"android:layout_marginTop"
>
8dp
</item>
<item
name=
"android:layout_marginEnd"
>
24dp
</item>
<item
name=
"android:layout_marginBottom"
>
8dp
</item>
<item
name=
"android:background"
>
@android:color/transparent
</item>
<item
name=
"android:tint"
>
@color/white
</item>
</style>
</resources>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment