AsyncTask fix and UI adjustment
This commit is contained in:
parent
7bf83371d5
commit
5baa2e9069
@ -9,8 +9,8 @@ android {
|
||||
applicationId "com.topjohnwu.magisk"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 24
|
||||
versionCode 3
|
||||
versionName "v4"
|
||||
versionCode 4
|
||||
versionName "2.0"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
@ -27,7 +27,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
|
||||
|
||||
private static final String SELECTED_ITEM_ID = "SELECTED_ITEM_ID";
|
||||
private final Handler mDrawerHandler = new Handler();
|
||||
public static Init initialize = new Init();
|
||||
public static Init initialize;
|
||||
public static View view;
|
||||
|
||||
@BindView(R.id.toolbar) Toolbar toolbar;
|
||||
@ -69,6 +69,7 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
|
||||
}
|
||||
initialize = new Init();
|
||||
|
||||
initialize.execute();
|
||||
|
||||
|
@ -30,15 +30,10 @@
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="wrap_content"
|
||||
android:singleLine="false"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textIsSelectable="false"/>
|
||||
@ -47,14 +42,10 @@
|
||||
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>
|
||||
android:textIsSelectable="false"
|
||||
android:textStyle="bold|italic" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/description"
|
||||
|
Loading…
Reference in New Issue
Block a user