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
528f6dd0
authored
Sep 28, 2019
by
likorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added landscape gradient_timer
parent
d0276422
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
19 deletions
app/src/main/res/layout-land/activity_task.xml
app/src/main/res/layout-land/gradient_timer.xml
app/src/main/res/layout-land/activity_task.xml
View file @
528f6dd0
...
...
@@ -8,11 +8,10 @@
android:background=
"#DADADA"
tools:context=
"com.paktalin.quickmax.TaskActivity"
>
<
View
android:id=
"@+id/
layout_gradient
"
<
FrameLayout
android:id=
"@+id/
fragment_timer
"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:background=
"@drawable/gradient"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -37,22 +36,6 @@
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.5"
/>
<TextView
android:id=
"@+id/tv_response"
style=
"@style/TextAppearance.MaterialComponents.Headline4"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"@string/response_correct"
android:textColor=
"@android:color/white"
android:textSize=
"60sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/cv_task"
app:layout_constraintStart_toStartOf=
"@+id/cv_task"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.25"
app:layout_constraintVertical_chainStyle=
"spread"
/>
<com.google.android.material.card.MaterialCardView
android:id=
"@+id/cv_task"
android:layout_width=
"0dp"
...
...
app/src/main/res/layout-land/gradient_timer.xml
0 → 100644
View file @
528f6dd0
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:background=
"@drawable/gradient"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/guideline2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.5"
/>
<TextView
android:id=
"@+id/tv_response"
style=
"@style/TextAppearance.MaterialComponents.Headline4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:textColor=
"@android:color/white"
android:textSize=
"60sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/guideline2"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.25"
app:layout_constraintVertical_chainStyle=
"spread"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
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