Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
6ff98096
Commit
6ff98096
authored
Sep 11, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added feeds block layout
parent
3b3d0528
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
0 deletions
+80
-0
gradient_background_accent.xml
app/src/main/res/drawable/gradient_background_accent.xml
+11
-0
feeds_block_view.xml
app/src/main/res/layout/feeds_block_view.xml
+38
-0
feeds_screen.xml
app/src/main/res/layout/feeds_screen.xml
+6
-0
styles.xml
app/src/main/res/values/styles.xml
+25
-0
No files found.
app/src/main/res/drawable/gradient_background_accent.xml
0 → 100644
View file @
6ff98096
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<gradient
android:type=
"linear"
android:angle=
"270"
android:startColor=
"@color/colorAccentSecondary"
android:endColor=
"@color/colorAccent"
>
</gradient>
</shape>
\ No newline at end of file
app/src/main/res/layout/feeds_block_view.xml
0 → 100644
View file @
6ff98096
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/linearLayout2"
android:layout_width=
"match_parent"
android:layout_height=
"448dp"
android:background=
"@drawable/gradient_background_accent"
android:orientation=
"vertical"
>
<androidx.viewpager.widget.ViewPager
android:id=
"@+id/viewPager"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintBottom_toTopOf=
"@+id/feeds_divider"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
</androidx.viewpager.widget.ViewPager>
<ImageView
android:id=
"@+id/feeds_divider"
android:layout_width=
"match_parent"
android:layout_height=
"10dp"
android:background=
"@drawable/botttom_bar_shadow"
app:layout_constraintBottom_toTopOf=
"@+id/textView4"
/>
<com.google.android.material.button.MaterialButton
android:id=
"@+id/textView4"
style=
"@style/AllFeeds.News"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical|end"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/feeds_screen.xml
0 → 100644
View file @
6ff98096
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
6ff98096
...
@@ -91,6 +91,31 @@
...
@@ -91,6 +91,31 @@
<item
name=
"strokeWidth"
>
0dp
</item>
<item
name=
"strokeWidth"
>
0dp
</item>
</style>
</style>
<style
name=
"AllFeeds"
parent=
"Widget.MaterialComponents.Button.OutlinedButton"
>
<item
name=
"strokeWidth"
>
0dp
</item>
<item
name=
"android:height"
>
64dp
</item>
<item
name=
"cornerRadius"
>
0dp
</item>
<item
name=
"rippleColor"
>
@color/colorOpacityBackground
</item>
<item
name=
"android:textSize"
>
@dimen/common_text
</item>
<item
name=
"android:textColor"
>
@color/colorInvertedText
</item>
<item
name=
"hintTextColor"
>
@color/colorInvertedText
</item>
<item
name=
"android:text"
>
"Я ЗАБЫЛ"
</item>
<item
name=
"android:fontFamily"
>
@font/acrom_medium
</item>
<item
name=
"android:gravity"
>
end
</item>
</style>
<style
name=
"AllFeeds.News"
>
<item
name=
"android:text"
>
"ВСЕ НОВОСТИ →"
</item>
</style>
>
<style
name=
"AllFeeds.Blogs"
>
<item
name=
"android:text"
>
"ВСЕ БЛОГИ →"
</item>
</style>
>
<style
name=
"AllFeeds.Blogs_Development"
>
<item
name=
"android:text"
>
"ПОДРОБНЕЕ →"
</item>
</style>
>
//region TextView
//region TextView
...
...
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