Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
a22b00ea
Commit
a22b00ea
authored
Nov 04, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
6c5901e9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
python/tools/garble/layout_garble.py
+1
-1
src/main/res/layout/base_topbar.xml
+1
-7
No files found.
python/tools/garble/layout_garble.py
View file @
a22b00ea
...
...
@@ -103,7 +103,7 @@ class LayoutGarble:
if
"/"
in
line
and
view_name
in
ignores
:
ignores
.
remove
(
view_name
)
if
len
(
ignores
)
==
0
:
if
len
(
ignores
)
==
0
and
"<!--"
not
in
line
:
if
"</LinearLayout>"
in
line
or
"</RelativeLayout>"
in
line
or
"</FrameLayout>"
in
line
or
"<TextView"
in
line
\
or
"<ImageView"
in
line
or
"<EditText"
in
line
or
"<Button"
in
line
or
"<ImageButton"
in
line
or
"<CheckBox"
in
line
:
if
random
.
randint
(
0
,
10
)
%
random
.
randint
(
2
,
3
)
==
0
:
...
...
src/main/res/layout/base_topbar.xml
View file @
a22b00ea
<?xml version="1.0" encoding="utf-8"?>
<!--<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"--><!--android:id="@+id/layout_title"--><!--android:layout_width="match_parent"--><!--android:layout_height="wrap_content"--><!--android:orientation="vertical">-->
<!--<TextView--><!--android:id="@+id/layout_statusbar"--><!--android:layout_width="match_parent"--><!--android:layout_height="13dp"--><!--android:visibility="gone" />-->
<!--<com.qmuiteam.qmui.widget.QMUITopBar--><!--android:id="@+id/layout_topbar"--><!--android:layout_width="match_parent"--><!--android:layout_height="50dp" />-->
<!----><!--</LinearLayout>-->
<?xml version="1.0" encoding="utf-8"?>
<com.common.widget.TopBar
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/topbar"
...
...
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