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
c584d070
Commit
c584d070
authored
Sep 23, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings screen
parent
bcb38009
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
208 additions
and
0 deletions
+208
-0
render.experimental.xml
.idea/render.experimental.xml
+6
-0
bell_switcher_with_text_viewholder.xml
...rc/main/res/layout/bell_switcher_with_text_viewholder.xml
+23
-0
settings_screen.xml
app/src/main/res/layout/settings_screen.xml
+143
-0
text_description_viewholder.xml
app/src/main/res/layout/text_description_viewholder.xml
+24
-0
styles.xml
app/src/main/res/values/styles.xml
+12
-0
No files found.
.idea/render.experimental.xml
0 → 100644
View file @
c584d070
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"RenderSettings"
>
<option
name=
"showDecorations"
value=
"true"
/>
</component>
</project>
\ No newline at end of file
app/src/main/res/layout/bell_switcher_with_text_viewholder.xml
0 → 100644
View file @
c584d070
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"16dp"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Common_Text.Default"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"start|center_vertical"
android:text=
"блабла"
/>
<include
layout=
"@layout/bell_switch_view"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
android:weightSum=
"1"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/settings_screen.xml
0 → 100644
View file @
c584d070
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<com.google.android.material.textview.MaterialTextView
style=
"@style/LiteText.Divider"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:gravity=
"bottom"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:paddingBottom=
"8dp"
android:text=
"PUSH УВЕДОМЛЕНИЯ"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
tools:itemCount=
"1"
tools:listitem=
"@layout/bell_switcher_with_text_viewholder"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/LiteText.Divider"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:gravity=
"bottom"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:paddingBottom=
"8dp"
android:text=
"ОФФЛАЙН ДОСТУП"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"16dp"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Common_Text.Default"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"32dp"
android:layout_weight=
"1"
android:gravity=
"start|center_vertical"
android:text=
"Скачать карточки моих
квартир из избранного
и сделок (4 MB)"
/>
<ImageView
android:src=
"@drawable/ic_flat"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_gravity=
"end|center_vertical"
android:weightSum=
"1"
/>
</LinearLayout>
<include
layout=
"@layout/horizontal_divider"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"16dp"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Common_Text.Default"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"32dp"
android:layout_weight=
"1"
android:gravity=
"start|center_vertical"
android:text=
"Скачать виртуальные туры
моих квартир из избранного
и сделок (477 MB)"
/>
<ImageView
android:src=
"@drawable/ic_flat"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_gravity=
"end|center_vertical"
android:weightSum=
"1"
/>
</LinearLayout>
<com.google.android.material.textview.MaterialTextView
style=
"@style/LiteText.Divider"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:gravity=
"bottom"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:paddingBottom=
"8dp"
android:text=
"КЕШИРОВАННЫЕ ДАННЫX"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
tools:itemCount=
"1"
tools:listitem=
"@layout/text_description_viewholder"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Cancel_Text"
android:layout_margin=
"32dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/LiteText.Divider"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:gravity=
"bottom"
android:paddingStart=
"16dp"
android:paddingEnd=
"16dp"
android:paddingBottom=
"8dp"
android:text=
"ВЫ АВТОРИЗОВАНЫ КАК USERNAME@DOMAIN.COM"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Cancel_Text"
android:layout_margin=
"32dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/layout/text_description_viewholder.xml
0 → 100644
View file @
c584d070
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"16dp"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"start|center_vertical"
android:text=
"блабла"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Notice_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end|center_vertical"
android:text=
"50 mb"
android:weightSum=
"1"
/>
</LinearLayout>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
c584d070
...
...
@@ -249,9 +249,15 @@
</style>
<style
name=
"Default_TextView.Cancel_Text"
>
<item
name=
"android:text"
>
"ОТМЕНА"
</item>
<item
name=
"android:gravity"
>
center
</item>
<item
name=
"android:textColor"
>
@color/colorError
</item>
</style>
<style
name=
"Default_TextView.Notice_Text"
>
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
"Feed_Title"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/common_text
</item>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
...
...
@@ -294,6 +300,7 @@
</style>
<style
name=
"Accent_Minor_TextView.DatePlaceHolder"
>
<item
name=
"android:textColor"
>
@color/colorCommonText
</item>
<item
name=
"android:background"
>
@drawable/rounded_text
</item>
...
...
@@ -327,6 +334,11 @@
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
"LiteText.Divider"
>
<item
name=
"android:background"
>
@color/colorNoticeBackground
</item>
<item
name=
"android:textColor"
>
@color/colorGray
</item>
</style>
//endregion
...
...
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