master v2.1.6
fengyuecanzhu 3 years ago
parent ed08a230cf
commit 47fbf10db1
  1. 10
      app/src/main/java/xyz/fycz/myreader/ui/activity/AboutActivity.java
  2. 52
      app/src/main/res/layout/layout_about_content.xml
  3. 2
      app/version_code.properties

@ -59,10 +59,6 @@ public class AboutActivity extends BaseActivity {
protected void initWidget() {
super.initWidget();
binding.il.tvVersionName.setText(String.format("风月读书v%s", App.getStrVersionName()));
if (!App.isDestroy(this)) {
ImageLoader.INSTANCE.load(this, "http://yunjuw.cn/template/mytheme/statics/img/logo.png")
.into(binding.il.ivDyys);
}
}
@Override
@ -108,12 +104,6 @@ public class AboutActivity extends BaseActivity {
.showFullWebViewDia(this, "file:///android_asset/PrivacyPolicy.html",
false, null));
binding.il.rlDisclaimer.setOnClickListener(v -> DialogCreator.createAssetTipDialog(this, "免责声明", "disclaimer.fy"));
binding.il.rlDyys.setOnClickListener(v -> {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("http://yunjuw.cn/"));
startActivity(intent);
});
}
void openIntent(String intentName, String address) {

@ -308,58 +308,6 @@
app:srcCompat="@drawable/ic_right_arrow"
app:tint="@color/textSecondary" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="35dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:clickable="false">
<ImageView
android:id="@+id/iv_links"
android:layout_alignParentStart="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:src="@drawable/ic_link"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="15dp"
android:layout_toEndOf="@id/iv_links"
android:textColor="@color/textSecondary"
android:textSize="@dimen/text_small_size"
android:text="友情链接"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_dyys"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@drawable/selector_common_bg"
android:paddingLeft="20dp"
android:paddingRight="20dp">
<ImageView
android:id="@+id/iv_dyys"
android:layout_width="90dp"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_centerVertical="true" />
<TextView
android:id="@+id/tv_dyys"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginStart="15dp"
android:layout_toEndOf="@id/iv_dyys"
android:text="@string/dyys"
android:textColor="@color/textSecondary"
android:textSize="@dimen/text_normal_size" />
</RelativeLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -1,3 +1,3 @@
#Fri Jun 18 21:45:31 CST 2021
VERSION_CODE=216
NEED_CREATE_RELEASE=false
NEED_CREATE_RELEASE=true

Loading…
Cancel
Save