Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ANON-Public
orbot
Commits
5b9a3419
Commit
5b9a3419
authored
Mar 22, 2017
by
Nathan Freitas
Browse files
update notification styling
parent
248bcc97
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout-v21/layout_notification_expanded.xml
View file @
5b9a3419
...
...
@@ -18,8 +18,8 @@
xmlns:internal=
"http://schemas.android.com/apk/prv/res/android"
android:id=
"@+id/status_bar_latest_event_content"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"#
333333
"
android:layout_height=
"wrap_content"
android:background=
"#
545454
"
>
<ImageView
android:id=
"@+id/icon"
android:layout_width=
"@dimen/notification_large_icon_width"
...
...
@@ -117,7 +117,8 @@
android:layout_marginTop=
"-2dp"
android:layout_marginBottom=
"-2dp"
android:layout_marginStart=
"8dp"
android:fadingEdge=
"horizontal"
android:fadingEdge=
"horizontal"
android:textColor=
"#cdcdcd"
/>
</LinearLayout>
</FrameLayout>
app/src/main/res/layout/layout_notification_expanded.xml
View file @
5b9a3419
...
...
@@ -29,10 +29,10 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"fill_vertical"
android:layout_margin
Star
t=
"@dimen/notification_large_icon_width"
android:layout_margin
Lef
t=
"@dimen/notification_large_icon_width"
android:minHeight=
"@dimen/notification_large_icon_height"
android:orientation=
"vertical"
android:padding
End
=
"8dp"
android:padding
Left
=
"8dp"
android:paddingTop=
"2dp"
android:paddingBottom=
"2dp"
android:gravity=
"top"
...
...
@@ -42,7 +42,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingTop=
"6dp"
android:layout_margin
Star
t=
"8dp"
android:layout_margin
Lef
t=
"8dp"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/title"
...
...
@@ -62,7 +62,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:layout_margin
Star
t=
"8dp"
android:layout_margin
Lef
t=
"8dp"
>
<TextView
android:id=
"@+id/text"
android:layout_width=
"0dp"
...
...
@@ -81,7 +81,7 @@
android:layout_weight=
"0"
android:singleLine=
"true"
android:gravity=
"center"
android:padding
Star
t=
"8dp"
android:padding
Lef
t=
"8dp"
android:textAppearance=
"@style/NotificationText"
/>
<ImageView
android:id=
"@+id/right_icon"
...
...
@@ -89,7 +89,7 @@
android:layout_height=
"16dp"
android:layout_gravity=
"center"
android:layout_weight=
"0"
android:layout_margin
Star
t=
"8dp"
android:layout_margin
Lef
t=
"8dp"
android:scaleType=
"centerInside"
android:visibility=
"gone"
/>
...
...
@@ -115,7 +115,7 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"-2dp"
android:layout_marginBottom=
"-2dp"
android:layout_margin
Star
t=
"8dp"
android:layout_margin
Lef
t=
"8dp"
android:fadingEdge=
"horizontal"
/>
</LinearLayout>
...
...
Write
Preview
Supports
Markdown
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