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
Matthew Finkel
fenix
Commits
671727c3
Commit
671727c3
authored
Aug 03, 2019
by
Nikit Bhandari
Committed by
Emily Kager
Aug 03, 2019
Browse files
For #4341 use camelCase for views referenced from code
parent
1cb9f887
Changes
27
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/collections/CreateCollectionFragment.kt
View file @
671727c3
...
...
@@ -48,7 +48,7 @@ class CreateCollectionFragment : DialogFragment() {
}
collectionCreationComponent
=
CollectionCreationComponent
(
view
.
create
_c
ollection
_w
rapper
,
view
.
create
C
ollection
W
rapper
,
ActionBusFactory
.
get
(
this
),
FenixViewModelProvider
.
create
(
this
,
...
...
app/src/main/java/org/mozilla/fenix/crashes/CrashReporterFragment.kt
View file @
671727c3
...
...
@@ -38,11 +38,11 @@ class CrashReporterFragment : Fragment() {
val
selectedSession
=
requireComponents
.
core
.
sessionManager
.
selectedSession
restore
_tab_b
utton
.
setOnClickListener
{
restore
TabB
utton
.
setOnClickListener
{
selectedSession
?.
let
{
session
->
closeFragment
(
true
,
session
,
crash
)
}
}
close
_tab_b
utton
.
setOnClickListener
{
close
TabB
utton
.
setOnClickListener
{
selectedSession
?.
let
{
session
->
closeFragment
(
false
,
session
,
crash
)
}
}
}
...
...
@@ -67,7 +67,7 @@ class CrashReporterFragment : Fragment() {
private
fun
submitReportIfNecessary
(
crash
:
Crash
)
{
var
didSubmitCrashReport
=
false
if
(
Settings
.
getInstance
(
context
!!
).
isCrashReportingEnabled
&&
send
_c
rash
_c
heckbox
.
isChecked
)
{
if
(
Settings
.
getInstance
(
context
!!
).
isCrashReportingEnabled
&&
send
C
rash
C
heckbox
.
isChecked
)
{
requireComponents
.
analytics
.
crashReporter
.
submitReport
(
crash
)
didSubmitCrashReport
=
true
}
...
...
app/src/main/java/org/mozilla/fenix/exceptions/ExceptionsFragment.kt
View file @
671727c3
...
...
@@ -49,7 +49,7 @@ class ExceptionsFragment : Fragment() {
}
exceptionsInteractor
=
ExceptionsInteractor
(
::
openLearnMore
,
::
deleteOneItem
,
::
deleteAllItems
)
exceptionsView
=
ExceptionsView
(
view
.
exceptions
_l
ayout
,
exceptionsInteractor
)
exceptionsView
=
ExceptionsView
(
view
.
exceptions
L
ayout
,
exceptionsInteractor
)
return
view
}
...
...
app/src/main/java/org/mozilla/fenix/library/bookmarks/BookmarkFragment.kt
View file @
671727c3
...
...
@@ -90,8 +90,8 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), BackHandler, Accou
::
deleteMulti
)
bookmarkView
=
BookmarkView
(
view
.
bookmark
_l
ayout
,
bookmarkInteractor
)
signInView
=
SignInView
(
view
.
bookmark
_l
ayout
,
bookmarkInteractor
)
bookmarkView
=
BookmarkView
(
view
.
bookmark
L
ayout
,
bookmarkInteractor
)
signInView
=
SignInView
(
view
.
bookmark
L
ayout
,
bookmarkInteractor
)
return
view
}
...
...
app/src/main/java/org/mozilla/fenix/library/bookmarks/addfolder/AddBookmarkFolderFragment.kt
View file @
671727c3
...
...
@@ -53,8 +53,8 @@ class AddBookmarkFolderFragment : Fragment() {
sharedViewModel
.
selectedFolder
=
sharedViewModel
.
selectedFolder
?:
requireComponents
.
core
.
bookmarksStorage
.
getTree
(
BookmarkRoot
.
Mobile
.
id
)
launch
(
Main
)
{
bookmark
_add_f
older
_p
arent
_s
elector
.
text
=
sharedViewModel
.
selectedFolder
!!
.
title
bookmark
_add_f
older
_p
arent
_s
elector
.
setOnClickListener
{
bookmark
AddF
older
P
arent
S
elector
.
text
=
sharedViewModel
.
selectedFolder
!!
.
title
bookmark
AddF
older
P
arent
S
elector
.
setOnClickListener
{
nav
(
R
.
id
.
bookmarkAddFolderFragment
,
AddBookmarkFolderFragmentDirections
...
...
@@ -77,14 +77,14 @@ class AddBookmarkFolderFragment : Fragment() {
override
fun
onOptionsItemSelected
(
item
:
MenuItem
):
Boolean
{
return
when
(
item
.
itemId
)
{
R
.
id
.
confirm_add_folder_button
->
{
if
(
bookmark
_add_f
older
_t
itle
_e
dit
.
text
.
isNullOrBlank
())
{
bookmark
_add_f
older
_t
itle
_e
dit
.
error
=
if
(
bookmark
AddF
older
T
itle
E
dit
.
text
.
isNullOrBlank
())
{
bookmark
AddF
older
T
itle
E
dit
.
error
=
getString
(
R
.
string
.
bookmark_empty_title_error
)
return
true
}
lifecycleScope
.
launch
(
IO
)
{
val
newGuid
=
requireComponents
.
core
.
bookmarksStorage
.
addFolder
(
sharedViewModel
.
selectedFolder
!!
.
guid
,
bookmark
_add_f
older
_t
itle
_e
dit
.
text
.
toString
(),
null
sharedViewModel
.
selectedFolder
!!
.
guid
,
bookmark
AddF
older
T
itle
E
dit
.
text
.
toString
(),
null
)
sharedViewModel
.
selectedFolder
=
requireComponents
.
core
.
bookmarksStorage
.
getTree
(
newGuid
)
requireComponents
.
analytics
.
metrics
.
track
(
Event
.
AddBookmarkFolder
)
...
...
app/src/main/java/org/mozilla/fenix/library/bookmarks/edit/EditBookmarkFragment.kt
View file @
671727c3
...
...
@@ -84,8 +84,8 @@ class EditBookmarkFragment : Fragment() {
when
(
bookmarkNode
?.
type
)
{
BookmarkNodeType
.
FOLDER
->
{
activity
?.
title
=
getString
(
R
.
string
.
edit_bookmark_folder_fragment_title
)
bookmark
_url_e
dit
.
visibility
=
View
.
GONE
bookmark
_url_l
abel
.
visibility
=
View
.
GONE
bookmark
UrlE
dit
.
visibility
=
View
.
GONE
bookmark
UrlL
abel
.
visibility
=
View
.
GONE
}
BookmarkNodeType
.
ITEM
->
{
activity
?.
title
=
getString
(
R
.
string
.
edit_bookmark_fragment_title
)
...
...
@@ -94,8 +94,8 @@ class EditBookmarkFragment : Fragment() {
}
if
(
bookmarkNode
!=
null
)
{
bookmark
_n
ame
_e
dit
.
setText
(
bookmarkNode
!!
.
title
)
bookmark
_url_e
dit
.
setText
(
bookmarkNode
!!
.
url
)
bookmark
N
ame
E
dit
.
setText
(
bookmarkNode
!!
.
title
)
bookmark
UrlE
dit
.
setText
(
bookmarkNode
!!
.
url
)
if
(
sharedViewModel
.
selectedFolder
!=
null
&&
bookmarkNode
?.
title
!=
null
)
{
val
bookmarkPair
=
Pair
(
bookmarkNode
?.
title
,
bookmarkNode
?.
url
)
...
...
@@ -106,8 +106,8 @@ class EditBookmarkFragment : Fragment() {
bookmarkParent
?.
let
{
node
->
launch
(
Main
)
{
bookmark
_f
older
_s
elector
.
text
=
node
.
title
bookmark
_f
older
_s
elector
.
setOnClickListener
{
bookmark
F
older
S
elector
.
text
=
node
.
title
bookmark
F
older
S
elector
.
setOnClickListener
{
sharedViewModel
.
selectedFolder
=
null
nav
(
R
.
id
.
bookmarkEditFragment
,
...
...
@@ -124,14 +124,14 @@ class EditBookmarkFragment : Fragment() {
override
fun
onPause
()
{
super
.
onPause
()
bookmark
_n
ame
_e
dit
.
hideKeyboard
()
bookmark
_url_e
dit
.
hideKeyboard
()
bookmark
N
ame
E
dit
.
hideKeyboard
()
bookmark
UrlE
dit
.
hideKeyboard
()
}
private
fun
updateBookmarkFromObservableInput
()
{
Observable
.
combineLatest
(
bookmark
_n
ame
_e
dit
.
textChanges
().
skipInitialValue
(),
bookmark
_url_e
dit
.
textChanges
().
skipInitialValue
(),
bookmark
N
ame
E
dit
.
textChanges
().
skipInitialValue
(),
bookmark
UrlE
dit
.
textChanges
().
skipInitialValue
(),
BiFunction
{
name
:
CharSequence
,
url
:
CharSequence
->
Pair
(
name
.
toString
(),
url
.
toString
())
})
...
...
@@ -208,7 +208,7 @@ class EditBookmarkFragment : Fragment() {
}
}
catch
(
e
:
UrlParseFailed
)
{
launch
(
Main
)
{
bookmark
_url_e
dit
.
error
=
getString
(
R
.
string
.
bookmark_invalid_url_error
)
bookmark
UrlE
dit
.
error
=
getString
(
R
.
string
.
bookmark_invalid_url_error
)
}
}
}
...
...
app/src/main/java/org/mozilla/fenix/library/bookmarks/selectfolder/SelectBookmarkFolderFragment.kt
View file @
671727c3
...
...
@@ -60,7 +60,7 @@ class SelectBookmarkFolderFragment : Fragment(), AccountObserver {
findNavController
(),
sharedViewModel
)
signInView
=
SignInView
(
view
.
select
_b
ookmark
_l
ayout
,
bookmarkInteractor
)
signInView
=
SignInView
(
view
.
select
B
ookmark
L
ayout
,
bookmarkInteractor
)
return
view
}
...
...
@@ -88,7 +88,7 @@ class SelectBookmarkFolderFragment : Fragment(), AccountObserver {
}
activity
?.
title
=
bookmarkNode
?.
title
?:
getString
(
R
.
string
.
library_bookmarks
)
val
adapter
=
SelectBookmarkFolderAdapter
(
sharedViewModel
)
recylerView
_b
ookmark
_f
olders
.
adapter
=
adapter
recylerView
B
ookmark
F
olders
.
adapter
=
adapter
adapter
.
updateData
(
bookmarkNode
)
}
}
...
...
app/src/main/java/org/mozilla/fenix/library/history/HistoryFragment.kt
View file @
671727c3
...
...
@@ -65,7 +65,7 @@ class HistoryFragment : LibraryPageFragment<HistoryItem>(), BackHandler {
::
invalidateOptionsMenu
,
::
deleteHistoryItems
)
historyView
=
HistoryView
(
view
.
history
_l
ayout
,
historyInteractor
)
historyView
=
HistoryView
(
view
.
history
L
ayout
,
historyInteractor
)
return
view
}
...
...
app/src/main/java/org/mozilla/fenix/search/SearchFragment.kt
View file @
671727c3
...
...
@@ -108,7 +108,7 @@ class SearchFragment : Fragment(), BackHandler {
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
super
.
onViewCreated
(
view
,
savedInstanceState
)
search
_s
can
_b
utton
.
visibility
=
if
(
context
?.
hasCamera
()
==
true
)
View
.
VISIBLE
else
View
.
GONE
search
S
can
B
utton
.
visibility
=
if
(
context
?.
hasCamera
()
==
true
)
View
.
VISIBLE
else
View
.
GONE
layoutComponents
(
view
.
search_layout
)
qrFeature
.
set
(
...
...
@@ -119,7 +119,7 @@ class SearchFragment : Fragment(), BackHandler {
requestPermissions
(
permissions
,
REQUEST_CODE_CAMERA_PERMISSIONS
)
},
onScanResult
=
{
result
->
search
_s
can
_b
utton
.
isChecked
=
false
search
S
can
B
utton
.
isChecked
=
false
activity
?.
let
{
AlertDialog
.
Builder
(
it
).
apply
{
val
spannable
=
resources
.
getSpannable
(
...
...
@@ -153,7 +153,7 @@ class SearchFragment : Fragment(), BackHandler {
view
=
view
)
view
.
search
_s
can
_b
utton
.
setOnClickListener
{
view
.
search
S
can
B
utton
.
setOnClickListener
{
toolbarView
.
view
.
clearFocus
()
requireComponents
.
analytics
.
metrics
.
track
(
Event
.
QRScannerOpened
)
qrFeature
.
get
()
?.
scan
(
R
.
id
.
container
)
...
...
@@ -161,7 +161,7 @@ class SearchFragment : Fragment(), BackHandler {
view
.
toolbar_wrapper
.
clipToOutline
=
false
search
_s
hortcuts
_b
utton
.
setOnClickListener
{
search
S
hortcuts
B
utton
.
setOnClickListener
{
val
isOpen
=
searchStore
.
state
.
showShortcutEnginePicker
searchStore
.
dispatch
(
SearchAction
.
ShowSearchShortcutEnginePicker
(!
isOpen
))
...
...
@@ -204,7 +204,7 @@ class SearchFragment : Fragment(), BackHandler {
override
fun
onBackPressed
():
Boolean
{
return
when
{
qrFeature
.
onBackPressed
()
->
{
view
?.
search
_s
can
_b
utton
?.
isChecked
=
false
view
?.
search
S
can
B
utton
?.
isChecked
=
false
toolbarView
.
view
.
requestFocus
()
true
}
...
...
@@ -217,21 +217,21 @@ class SearchFragment : Fragment(), BackHandler {
val
draw
=
BitmapDrawable
(
resources
,
searchIcon
)
val
iconSize
=
resources
.
getDimension
(
R
.
dimen
.
preference_icon_drawable_size
).
toInt
()
draw
.
setBounds
(
0
,
0
,
iconSize
,
iconSize
)
search
_e
ngine
_i
con
?.
backgroundDrawable
=
draw
search
E
ngine
I
con
?.
backgroundDrawable
=
draw
}
private
fun
updateSearchWithLabel
(
searchState
:
SearchState
)
{
search
_w
ith
_s
hortcuts
.
visibility
=
if
(
searchState
.
showShortcutEnginePicker
)
View
.
VISIBLE
else
View
.
GONE
search
W
ith
S
hortcuts
.
visibility
=
if
(
searchState
.
showShortcutEnginePicker
)
View
.
VISIBLE
else
View
.
GONE
}
private
fun
updateSearchShortuctsIcon
(
searchState
:
SearchState
)
{
with
(
requireContext
())
{
val
showShortcuts
=
searchState
.
showShortcutEnginePicker
search
_s
hortcuts
_b
utton
?.
isChecked
=
showShortcuts
search
S
hortcuts
B
utton
?.
isChecked
=
showShortcuts
val
color
=
if
(
showShortcuts
)
R
.
attr
.
contrastText
else
R
.
attr
.
primaryText
search
_s
hortcuts
_b
utton
.
compoundDrawables
[
0
]
?.
setTint
(
getColorFromAttr
(
color
))
search
S
hortcuts
B
utton
.
compoundDrawables
[
0
]
?.
setTint
(
getColorFromAttr
(
color
))
}
}
...
...
@@ -244,7 +244,7 @@ class SearchFragment : Fragment(), BackHandler {
if
(
context
.
isPermissionGranted
(
Manifest
.
permission
.
CAMERA
))
{
permissionDidUpdate
=
true
}
else
{
view
?.
search
_s
can
_b
utton
?.
isChecked
=
false
view
?.
search
S
can
B
utton
?.
isChecked
=
false
}
}
}
...
...
app/src/main/java/org/mozilla/fenix/search/SearchLayouts.kt
View file @
671727c3
...
...
@@ -36,7 +36,7 @@ internal fun SearchFragment.setInExperimentConstraints(layout: ConstraintLayout)
toolbar_wrapper
{
connect
(
TOP
to
TOP
of
UNSET
,
BOTTOM
to
TOP
of
pill
_w
rapper
BOTTOM
to
TOP
of
pill
W
rapper
)
}
awesomeBar
{
...
...
@@ -46,7 +46,7 @@ internal fun SearchFragment.setInExperimentConstraints(layout: ConstraintLayout)
)
}
(
awesomeBar
.
layoutManager
as
?
LinearLayoutManager
)
?.
reverseLayout
=
true
pill
_w
rapper
{
pill
W
rapper
{
connect
(
BOTTOM
to
BOTTOM
of
PARENT_ID
)
...
...
@@ -63,7 +63,7 @@ internal fun SearchFragment.setOutOfExperimentConstraints(layout: ConstraintLayo
BOTTOM
to
TOP
of
UNSET
)
}
search
_w
ith
_s
hortcuts
{
search
W
ith
S
hortcuts
{
connect
(
TOP
to
BOTTOM
of
toolbar_wrapper
)
...
...
@@ -71,12 +71,12 @@ internal fun SearchFragment.setOutOfExperimentConstraints(layout: ConstraintLayo
awesomeBar
{
connect
(
TOP
to
TOP
of
UNSET
,
TOP
to
BOTTOM
of
search
_w
ith
_s
hortcuts
,
BOTTOM
to
TOP
of
pill
_w
rapper
TOP
to
BOTTOM
of
search
W
ith
S
hortcuts
,
BOTTOM
to
TOP
of
pill
W
rapper
)
}
(
awesomeBar
.
layoutManager
as
?
LinearLayoutManager
)
?.
reverseLayout
=
false
pill
_w
rapper
{
pill
W
rapper
{
connect
(
BOTTOM
to
BOTTOM
of
PARENT_ID
)
...
...
app/src/main/java/org/mozilla/fenix/settings/PairFragment.kt
View file @
671727c3
...
...
@@ -33,7 +33,7 @@ class PairFragment : Fragment(), BackHandler {
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
super
.
onViewCreated
(
view
,
savedInstanceState
)
pair
_i
nstructions
.
text
=
HtmlCompat
.
fromHtml
(
getString
(
R
.
string
.
pair_instructions
),
pair
I
nstructions
.
text
=
HtmlCompat
.
fromHtml
(
getString
(
R
.
string
.
pair_instructions
),
HtmlCompat
.
FROM_HTML_MODE_LEGACY
)
qrFeature
.
set
(
...
...
app/src/main/java/org/mozilla/fenix/settings/SignOutFragment.kt
View file @
671727c3
...
...
@@ -56,7 +56,7 @@ class SignOutFragment : BottomSheetDialogFragment() {
override
fun
onViewCreated
(
view
:
View
,
savedInstanceState
:
Bundle
?)
{
super
.
onViewCreated
(
view
,
savedInstanceState
)
view
.
sign
_out_d
isconnect
.
setOnClickListener
{
view
.
sign
OutD
isconnect
.
setOnClickListener
{
requireComponents
.
analytics
.
metrics
.
track
(
Event
.
SyncAccountSignOut
)
lifecycleScope
.
launch
{
accountManager
.
logoutAsync
().
await
()
...
...
@@ -67,7 +67,7 @@ class SignOutFragment : BottomSheetDialogFragment() {
}
}
view
.
sign
_out_c
ancel
.
setOnClickListener
{
view
.
sign
OutC
ancel
.
setOnClickListener
{
dismiss
()
}
}
...
...
app/src/main/java/org/mozilla/fenix/settings/TurnOnSyncFragment.kt
View file @
671727c3
...
...
@@ -47,9 +47,9 @@ class TurnOnSyncFragment : Fragment(), AccountObserver {
override
fun
onCreateView
(
inflater
:
LayoutInflater
,
container
:
ViewGroup
?,
savedInstanceState
:
Bundle
?):
View
?
{
val
view
=
inflater
.
inflate
(
R
.
layout
.
fragment_turn_on_sync
,
container
,
false
)
view
.
sign
_in_s
can
_b
utton
.
setOnClickListener
(
getClickListenerForPairing
())
view
.
sign
_in_e
mail
_b
utton
.
setOnClickListener
(
getClickListenerForSignIn
())
view
.
sign
_in_i
nstructions
.
text
=
HtmlCompat
.
fromHtml
(
view
.
sign
InS
can
B
utton
.
setOnClickListener
(
getClickListenerForPairing
())
view
.
sign
InE
mail
B
utton
.
setOnClickListener
(
getClickListenerForSignIn
())
view
.
sign
InI
nstructions
.
text
=
HtmlCompat
.
fromHtml
(
getString
(
R
.
string
.
sign_in_instructions
),
HtmlCompat
.
FROM_HTML_MODE_LEGACY
)
...
...
app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt
View file @
671727c3
...
...
@@ -54,7 +54,7 @@ class ShareFragment : AppCompatDialogFragment() {
tabs
=
args
.
tabs
?:
arrayOf
(
ShareTab
(
args
.
url
!!
,
args
.
title
?:
""
))
component
=
ShareComponent
(
view
.
share
_w
rapper
,
view
.
share
W
rapper
,
ActionBusFactory
.
get
(
this
),
FenixViewModelProvider
.
create
(
this
,
...
...
app/src/main/res/layout/fragment_add_bookmark_folder.xml
View file @
671727c3
...
...
@@ -18,10 +18,10 @@
android:textAllCaps=
"true"
android:textColor=
"?primaryText"
android:textSize=
"12sp"
android:labelFor=
"@id/bookmark
_add_f
older
_t
itle
_e
dit"
/>
android:labelFor=
"@id/bookmark
AddF
older
T
itle
E
dit"
/>
<org.mozilla.fenix.utils.ClearableEditText
android:id=
"@+id/bookmark
_add_f
older
_t
itle
_e
dit"
android:id=
"@+id/bookmark
AddF
older
T
itle
E
dit"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
...
...
@@ -41,7 +41,7 @@
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/bookmark
_add_f
older
_p
arent
_s
elector"
android:id=
"@+id/bookmark
AddF
older
P
arent
S
elector"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
...
...
app/src/main/res/layout/fragment_bookmark.xml
View file @
671727c3
...
...
@@ -9,7 +9,7 @@
tools:context=
"org.mozilla.fenix.library.bookmarks.BookmarkFragment"
>
<LinearLayout
android:id=
"@+id/bookmark
_l
ayout"
android:id=
"@+id/bookmark
L
ayout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
/>
...
...
app/src/main/res/layout/fragment_crash_reporter.xml
View file @
671727c3
...
...
@@ -38,7 +38,7 @@
tools:text=
"@string/tab_crash_title_2"
/>
<CheckBox
android:id=
"@+id/send
_c
rash
_c
heckbox"
android:id=
"@+id/send
C
rash
C
heckbox"
android:layout_width=
"0dp"
android:layout_height=
"32dp"
android:layout_marginBottom=
"20dp"
...
...
@@ -47,13 +47,13 @@
android:text=
"@string/tab_crash_send_report"
android:textColor=
"?primaryText"
android:textSize=
"15sp"
app:layout_constraintBottom_toTopOf=
"@id/close
_tab_b
utton"
app:layout_constraintBottom_toTopOf=
"@id/close
TabB
utton"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintWidth_percent=
"0.9"
/>
<Button
android:id=
"@+id/restore
_tab_b
utton"
android:id=
"@+id/restore
TabB
utton"
android:layout_width=
"0dp"
android:layout_height=
"36dp"
android:layout_marginStart=
"@dimen/crash_reporter_close_tab_button_horizontal_margin"
...
...
@@ -72,7 +72,7 @@
app:layout_constraintWidth_percent=
"0.4"
/>
<Button
android:id=
"@+id/close
_tab_b
utton"
android:id=
"@+id/close
TabB
utton"
android:layout_width=
"0dp"
android:layout_height=
"36dp"
android:layout_marginStart=
"@dimen/crash_reporter_close_tab_button_horizontal_margin"
...
...
app/src/main/res/layout/fragment_create_collection.xml
View file @
671727c3
...
...
@@ -5,7 +5,7 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/create
_c
ollection
_w
rapper"
android:id=
"@+id/create
C
ollection
W
rapper"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/scrim_background"
...
...
app/src/main/res/layout/fragment_edit_bookmark.xml
View file @
671727c3
...
...
@@ -18,10 +18,10 @@
android:textColor=
"?primaryText"
android:textSize=
"12sp"
android:textAllCaps=
"true"
android:labelFor=
"@id/bookmark
_n
ame
_e
dit"
/>
android:labelFor=
"@id/bookmark
N
ame
E
dit"
/>
<org.mozilla.fenix.utils.ClearableEditText
android:id=
"@+id/bookmark
_n
ame
_e
dit"
android:id=
"@+id/bookmark
N
ame
E
dit"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
...
...
@@ -35,7 +35,7 @@
tools:text=
"Internet for people, not profit -- Mozilla"
/>
<TextView
android:id=
"@+id/bookmark
_url_l
abel"
android:id=
"@+id/bookmark
UrlL
abel"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
...
...
@@ -43,10 +43,10 @@
android:textColor=
"?primaryText"
android:textSize=
"12sp"
android:textAllCaps=
"true"
android:labelFor=
"@id/bookmark
_url_e
dit"
/>
android:labelFor=
"@id/bookmark
UrlE
dit"
/>
<org.mozilla.fenix.utils.ClearableEditText
android:id=
"@+id/bookmark
_url_e
dit"
android:id=
"@+id/bookmark
UrlE
dit"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
...
...
@@ -68,10 +68,10 @@
android:textColor=
"?primaryText"
android:textSize=
"12sp"
android:textAllCaps=
"true"
android:labelFor=
"@id/bookmark
_f
older
_s
elector"
/>
android:labelFor=
"@id/bookmark
F
older
S
elector"
/>
<TextView
android:id=
"@+id/bookmark
_f
older
_s
elector"
android:id=
"@+id/bookmark
F
older
S
elector"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
...
...
app/src/main/res/layout/fragment_exceptions.xml
View file @
671727c3
...
...
@@ -4,7 +4,7 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/exceptions
_l
ayout"
android:id=
"@+id/exceptions
L
ayout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
...
...
Prev
1
2
Next
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