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
b6f943cf
Commit
b6f943cf
authored
Sep 16, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flat detail screen
parent
f471cb5e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
425 additions
and
0 deletions
+425
-0
bottom_line_text_view.xml
app/src/main/res/drawable/bottom_line_text_view.xml
+19
-0
flat_full_card_screen.xml
app/src/main/res/layout/flat_full_card_screen.xml
+295
-0
flate_measure_info_viewholder.xml
app/src/main/res/layout/flate_measure_info_viewholder.xml
+26
-0
simple_text_tabs.xml
app/src/main/res/layout/simple_text_tabs.xml
+32
-0
start_tour_viewholder_big.xml
app/src/main/res/layout/start_tour_viewholder_big.xml
+41
-0
styles.xml
app/src/main/res/values/styles.xml
+12
-0
No files found.
app/src/main/res/drawable/bottom_line_text_view.xml
0 → 100644
View file @
b6f943cf
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<layer-list>
<item>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"#00000000"
/>
</shape>
</item>
<item
android:gravity=
"bottom"
>
<shape
android:shape=
"rectangle"
>
<size
android:height=
"2dp"
/>
<solid
android:color=
"@color/colorAccent"
/>
</shape>
</item>
</layer-list>
</item>
</selector>
\ No newline at end of file
app/src/main/res/layout/flat_full_card_screen.xml
0 → 100644
View file @
b6f943cf
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:fillViewport=
"true"
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/linearLayout12"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/variants_choose_recycler_view"
android:layout_width=
"match_parent"
android:layout_height=
"24dp"
android:layout_marginStart=
"24dp"
android:layout_marginTop=
"24dp"
android:layout_marginEnd=
"24dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
android:id=
"@+id/include5"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/variants_choose_recycler_view"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/textView19"
style=
"@style/Common_Text.Default"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:text=
"Перепланировка"
android:textAlignment=
"viewStart"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include5"
/>
<WebView
android:id=
"@+id/flat_plan_webview"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/textView19"
/>
<include
android:id=
"@+id/include6"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"24dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/flat_plan_webview"
/>
<LinearLayout
android:id=
"@+id/sizes_switch_container"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include6"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/sizes_switch_header"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_gravity=
"start|center_vertical"
android:layout_weight=
"1"
android:text=
"Размеры"
/>
<include
android:id=
"@+id/sizes_switcher"
layout=
"@layout/bell_switch_view"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
android:layout_weight=
"0"
/>
</LinearLayout>
<include
android:id=
"@+id/include7"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/sizes_switch_container"
/>
<LinearLayout
android:id=
"@+id/furniture_switch_container"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include7"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/furniture_switch_header"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_gravity=
"start|center_vertical"
android:layout_weight=
"1"
android:text=
"Мебель"
/>
<include
android:id=
"@+id/furniture_switcher"
layout=
"@layout/bell_switch_view"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
android:layout_weight=
"0"
/>
</LinearLayout>
<include
android:id=
"@+id/include8"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/furniture_switch_container"
/>
<LinearLayout
android:id=
"@+id/electricity_switch_container"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include8"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/electrecity_switch_header"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_gravity=
"start|center_vertical"
android:layout_weight=
"1"
android:text=
"Электрика"
/>
<include
android:id=
"@+id/furniture_switcher"
layout=
"@layout/bell_switch_view"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
android:layout_weight=
"0"
/>
</LinearLayout>
<include
android:id=
"@+id/include9"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"24dp"
android:layout_marginTop=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/electricity_switch_container"
/>
<include
android:id=
"@+id/switch_flat_content_tab"
layout=
"@layout/simple_text_tabs"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include9"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/flat_content_recycler_view"
android:layout_width=
"0dp"
android:layout_height=
"232dp"
android:layout_marginTop=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/switch_flat_content_tab"
/>
<include
android:id=
"@+id/include10"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/flat_content_recycler_view"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/start_virtual_tour_header"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"32dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
android:text=
"ВИРТУАЛЬНЫЙ ТУР"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include10"
/>
<include
android:id=
"@+id/start_tour_card"
layout=
"@layout/start_tour_viewholder_big"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"32dp"
android:layout_marginEnd=
"16dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/start_virtual_tour_header"
/>
<include
android:id=
"@+id/include11"
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/start_tour_card"
/>
<include
android:id=
"@+id/site_link_viewholder"
layout=
"@layout/site_link_viewholder"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"24dp"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include11"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
\ No newline at end of file
app/src/main/res/layout/flate_measure_info_viewholder.xml
0 → 100644
View file @
b6f943cf
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/flat_measure_container"
android:layout_width=
"match_parent"
android:layout_height=
"32dp"
android:orientation=
"horizontal"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/flat_measure_description"
style=
"@style/Accent_Minor_TextView.Inverted"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
android:text=
"Стоимость"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/flat_measure_value"
style=
"@style/Accent_Minor_TextView.Default"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
android:text=
"4 000 000"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/simple_text_tabs.xml
0 → 100644
View file @
b6f943cf
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:weightSum=
"2"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/tab_variant_1"
style=
"@style/Default_TextView.Accent_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/bottom_line_text_view"
android:text=
"Общая информация"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/textView21"
style=
"@style/Default_TextView.Accent_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:text=
"/"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/tab_variant_2"
style=
"@style/Default_TextView.Accent_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"Экспликация"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/start_tour_viewholder_big.xml
0 → 100644
View file @
b6f943cf
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:cardElevation=
"4dp"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"160dp"
android:orientation=
"vertical"
>
<com.biganto.visual.roompark.view_utils.image_view.RoundedImageView
android:id=
"@+id/roundedImageView2"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/default_image_placeholder"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageView
android:id=
"@+id/roundedImageView"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
android:layout_marginStart=
"32dp"
android:layout_marginTop=
"32dp"
android:layout_marginEnd=
"32dp"
android:layout_marginBottom=
"16dp"
android:scaleType=
"fitCenter"
android:tint=
"@color/colorCommonBackground"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/roundedImageView2"
app:layout_constraintStart_toStartOf=
"@+id/roundedImageView2"
app:layout_constraintTop_toTopOf=
"parent"
app:srcCompat=
"@drawable/ic_feeds"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
b6f943cf
...
@@ -64,6 +64,18 @@
...
@@ -64,6 +64,18 @@
</style>
</style>
<style
name=
"ToggleTextButton"
parent=
"Widget.MaterialComponents.Button.TextButton"
>
<item
name=
"strokeColor"
>
@color/colorAccent
</item>
<item
name=
"rippleColor"
>
@color/colorAccentSecondary
</item>
<item
name=
"boxBackgroundColor"
>
@color/colorCommonBackground
</item>
<item
name=
"android:textSize"
>
@dimen/accent_header
</item>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
<item
name=
"errorTextAppearance"
>
@style/Auth.EditText
</item>
<item
name=
"hintTextColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
"AuthButton"
parent=
"Widget.MaterialComponents.Button.OutlinedButton"
>
<style
name=
"AuthButton"
parent=
"Widget.MaterialComponents.Button.OutlinedButton"
>
<item
name=
"strokeColor"
>
@color/colorAccent
</item>
<item
name=
"strokeColor"
>
@color/colorAccent
</item>
<item
name=
"strokeWidth"
>
4dp
</item>
<item
name=
"strokeWidth"
>
4dp
</item>
...
...
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