Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
06bbe455
Commit
06bbe455
authored
Nov 18, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix layout placeholder dims
parent
58e4df01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
ScreenController.kt
...al/roompark/presentation/screen/feeds/ScreenController.kt
+1
-1
feeds_block_view.xml
app/src/main/res/layout/feeds_block_view.xml
+11
-9
No files found.
app/src/main/java/com/biganto/visual/roompark/presentation/screen/feeds/ScreenController.kt
View file @
06bbe455
...
...
@@ -46,7 +46,7 @@ class FeedsScreenController :
.
map
{
storedFeedsList
[
it
].
feedId
}
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
doOnNext
{
feedsBlockView
.
findViewById
<
MaterialButton
>(
R
.
id
.
to_feed_articles
)
.
text
=
"ВСЕ ${allFeedName(it)}"
}
.
text
=
"ВСЕ ${allFeedName(it)}
→
"
}
...
...
app/src/main/res/layout/feeds_block_view.xml
View file @
06bbe455
...
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/linearLayout2"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
404dp
"
android:background=
"@drawable/gradient_background_accent"
android:orientation=
"vertical"
android:paddingStart=
"16dp"
>
...
...
@@ -13,6 +13,7 @@
android:id=
"@+id/feedsTabs"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:background=
"#00000000"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -23,12 +24,15 @@
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/feedsRecyclerView"
android:layout_width=
"0dp"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
0dp
"
android:layout_marginTop=
"16dp"
android:layout_marginBottom=
"8dp"
app:layout_constraintBottom_toTopOf=
"@+id/feeds_divider"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
tools:itemCount=
"3"
app:layout_constraintTop_toBottomOf=
"@+id/feedsTabs"
app:layout_constraintVertical_bias=
"0.0"
tools:itemCount=
"3"
tools:listitem=
"@layout/feed_preview_viewholder"
/>
<include
...
...
@@ -36,21 +40,19 @@
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:layout_marginTop=
"8dp"
android:background=
"@drawable/botttom_bar_shadow"
app:layout_constraintBottom_toTopOf=
"@+id/to_feed_articles"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/feedsRecyclerView"
/>
app:layout_constraintStart_toStartOf=
"parent"
/>
<com.google.android.material.button.MaterialButton
android:id=
"@+id/to_feed_articles"
style=
"@style/AllFeeds.News"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
64dp
"
android:gravity=
"center_vertical|end"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/feeds_divider"
/>
app:layout_constraintStart_toStartOf=
"parent"
/>
</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