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
7dbae837
Commit
7dbae837
authored
Mar 22, 2017
by
Nathan Freitas
Browse files
modify notification display
parent
c0d082ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout-v21/layout_notification_expanded.xml
View file @
7dbae837
...
...
@@ -73,7 +73,7 @@
android:singleLine=
"true"
android:ellipsize=
"marquee"
android:fadingEdge=
"horizontal"
android:textAppearance=
"@style/NotificationT
ext"
android:textAppearance=
"@style/NotificationT
itle"
/>
<TextView
android:id=
"@+id/info"
android:layout_width=
"wrap_content"
...
...
@@ -83,7 +83,7 @@
android:singleLine=
"true"
android:gravity=
"center"
android:paddingStart=
"8dp"
android:textAppearance=
"@style/NotificationT
ext
"
android:textAppearance=
"@style/NotificationT
itle
"
/>
<ImageView
android:id=
"@+id/right_icon"
android:layout_width=
"16dp"
...
...
orbotservice/src/main/res/layout/layout_notification_expanded.xml
View file @
7dbae837
...
...
@@ -30,9 +30,12 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"fill_vertical"
android:layout_marginStart=
"@dimen/notification_large_icon_width"
android:layout_marginLeft=
"@dimen/notification_large_icon_width"
android:minHeight=
"@dimen/notification_large_icon_height"
android:orientation=
"vertical"
android:paddingEnd=
"8dp"
android:paddingRight=
"8dp"
android:paddingTop=
"2dp"
android:paddingBottom=
"2dp"
android:gravity=
"top"
...
...
@@ -43,6 +46,7 @@
android:layout_height=
"wrap_content"
android:paddingTop=
"6dp"
android:layout_marginStart=
"8dp"
android:layout_marginLeft=
"8dp"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/title"
...
...
@@ -53,7 +57,6 @@
android:fadingEdge=
"horizontal"
android:layout_weight=
"1"
android:textStyle=
"bold"
android:textAppearance=
"@style/NotificationTitle"
/>
</LinearLayout>
...
...
@@ -62,7 +65,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:layout_marginStart=
"8dp"
android:layout_marginStart=
"8dp"
android:layout_marginLeft=
"8dp"
>
<TextView
android:id=
"@+id/text"
android:layout_width=
"0dp"
...
...
@@ -72,7 +76,6 @@
android:singleLine=
"true"
android:ellipsize=
"marquee"
android:fadingEdge=
"horizontal"
android:textAppearance=
"@style/NotificationText"
/>
<TextView
android:id=
"@+id/info"
android:layout_width=
"wrap_content"
...
...
@@ -82,14 +85,14 @@
android:singleLine=
"true"
android:gravity=
"center"
android:paddingStart=
"8dp"
android:textAppearance=
"@style/NotificationText
"
android:paddingLeft=
"8dp
"
/>
<ImageView
android:id=
"@+id/right_icon"
android:layout_width=
"16dp"
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 +118,8 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"-2dp"
android:layout_marginBottom=
"-2dp"
android:layout_marginStart=
"8dp"
android:layout_marginStart=
"8dp"
android:layout_marginLeft=
"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