Android简易图片浏览器

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“动漫”

android:textSize=“45sp”

android:textColor=“@color/colorAccent”

/>

<Button

android:id=“@+id/btn2”

android:layout_marginTop=“40dp”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“游戏”

android:textSize=“45sp”

android:textColor=“@color/colorAccent”

/>

<Button

android:id=“@+id/btn3”

android:layout_marginTop=“40dp”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“美女”

android:textSize=“45sp”

android:textColor=“@color/colorAccent”

/>

activity_main2.xml

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”

android:layout_width=“match_parent”

android:layout_height=“match_parent”

android:background=“#7A3F51B5”

android:orientation=“vertical”>

<ScrollView

android:layout_width=“match_parent”

android:layout_height=“wrap_content”>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“vertical”>

<TextView

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“欢迎来到动漫世界”

android:gravity=“center”

android:textSize=“40sp”

/>

<ImageView

android:background=“@drawable/dm”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm1”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm2”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm3”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm4”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm5”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<ImageView

android:background=“@drawable/dm6”

android:layout_width=“match_parent”

android:layout_height=“350dp”

/>

<TextView

android:gravity=“center”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:textSize=“40sp”

android:text=“滑到最后一页了哦”

/>

activity_main3.xml

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”

android:layout_width=“match_parent”

android:layout_height=“match_parent”

android:background=“#FF226F”

android:orientation=“vertical”>

<ScrollView

android:layout_width=“match_parent”

android:layout_height=“wrap_content”>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“vertical”>

<TextView

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“欢迎来到游戏世界”

android:gravity=“center”

android:textSize=“40sp”

/>

<ImageView

android:background=“@drawable/youxi”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi2”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi3”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi4”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi1”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi5”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi6”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi7”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<ImageView

android:background=“@drawable/youxi8”

android:layout_width=“match_parent”

android:layout_height=“250dp”

/>

<TextView

android:gravity=“center”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:textSize=“40sp”

android:text=“滑到最后一页了哦”

/>

activity_main4.xml

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”

android:layout_width=“match_parent”

android:layout_height=“match_parent”

android:orientation=“vertical”>

<ScrollView

android:layout_width=“match_parent”

android:layout_height=“wrap_content”>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“vertical”>

<TextView

android:background=“#9A86AF4C”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=“欢迎来到美女世界”

android:gravity=“center”

android:textSize=“40sp”

/>

<ImageView

android:background=“@drawable/mn1”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn2”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn3”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn4”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn5”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn6”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn7”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

android:background=“@drawable/mn8”

android:layout_width=“match_parent”

android:layout_height=“550dp”

/>

<ImageView

  • 16
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值