Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
5baa2e90
Commit
5baa2e90
authored
Aug 22, 2016
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AsyncTask fix and UI adjustment
parent
7bf83371
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
27 deletions
+19
-27
build.gradle
app/build.gradle
+2
-2
WelcomeActivity.java
app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java
+2
-1
list_item_module.xml
app/src/main/res/layout/list_item_module.xml
+15
-24
No files found.
app/build.gradle
View file @
5baa2e90
...
@@ -9,8 +9,8 @@ android {
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.topjohnwu.magisk"
applicationId
"com.topjohnwu.magisk"
minSdkVersion
21
minSdkVersion
21
targetSdkVersion
24
targetSdkVersion
24
versionCode
3
versionCode
4
versionName
"
v4
"
versionName
"
2.0
"
}
}
buildTypes
{
buildTypes
{
release
{
release
{
...
...
app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java
View file @
5baa2e90
...
@@ -27,7 +27,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
...
@@ -27,7 +27,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
private
static
final
String
SELECTED_ITEM_ID
=
"SELECTED_ITEM_ID"
;
private
static
final
String
SELECTED_ITEM_ID
=
"SELECTED_ITEM_ID"
;
private
final
Handler
mDrawerHandler
=
new
Handler
();
private
final
Handler
mDrawerHandler
=
new
Handler
();
public
static
Init
initialize
=
new
Init
()
;
public
static
Init
initialize
;
public
static
View
view
;
public
static
View
view
;
@BindView
(
R
.
id
.
toolbar
)
Toolbar
toolbar
;
@BindView
(
R
.
id
.
toolbar
)
Toolbar
toolbar
;
...
@@ -69,6 +69,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
...
@@ -69,6 +69,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
M
)
{
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
M
)
{
getWindow
().
getDecorView
().
setSystemUiVisibility
(
View
.
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
);
getWindow
().
getDecorView
().
setSystemUiVisibility
(
View
.
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
);
}
}
initialize
=
new
Init
();
initialize
.
execute
();
initialize
.
execute
();
...
...
app/src/main/res/layout/list_item_module.xml
View file @
5baa2e90
...
@@ -30,31 +30,22 @@
...
@@ -30,31 +30,22 @@
android:layout_weight=
"1"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<LinearLayout
<TextView
android:layout_width=
"match_parent"
android:id=
"@+id/title"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
android:layout_width=
"wrap_content"
<TextView
android:singleLine=
"false"
android:id=
"@+id/title"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:layout_width=
"0dip"
android:textIsSelectable=
"false"
/>
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:singleLine=
"false"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:textIsSelectable=
"false"
/>
<TextView
android:id=
"@+id/version_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"4dip"
android:layout_marginRight=
"4dip"
android:gravity=
"end"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@android:color/tertiary_text_dark"
android:textIsSelectable=
"false"
/>
</LinearLayout>
<TextView
android:id=
"@+id/version_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@android:color/tertiary_text_dark"
android:textIsSelectable=
"false"
android:textStyle=
"bold|italic"
/>
<TextView
<TextView
android:id=
"@+id/description"
android:id=
"@+id/description"
...
...
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