270 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			270 lines
		
	
	
		
			8.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="utf-8"?>
							 | 
						||
| 
								 | 
							
								<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
							 | 
						||
| 
								 | 
							
								    xmlns:app="http://schemas.android.com/apk/res-auto"
							 | 
						||
| 
								 | 
							
								    xmlns:tools="http://schemas.android.com/tools"
							 | 
						||
| 
								 | 
							
								    android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								     android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								    android:id="@+id/llout"
							 | 
						||
| 
								 | 
							
								    >
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <RelativeLayout
							 | 
						||
| 
								 | 
							
								        android:id="@+id/top_layout"
							 | 
						||
| 
								 | 
							
								        android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								        android:layout_height="160dp"
							 | 
						||
| 
								 | 
							
								        android:elevation="1dp"
							 | 
						||
| 
								 | 
							
								        tools:ignore="UnusedAttribute">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <LinearLayout
							 | 
						||
| 
								 | 
							
								            android:id="@+id/llBookdetail"
							 | 
						||
| 
								 | 
							
								            android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								            android:layout_height="150dp"
							 | 
						||
| 
								 | 
							
								            android:layout_alignParentBottom="true"
							 | 
						||
| 
								 | 
							
								            android:background="@color/white"
							 | 
						||
| 
								 | 
							
								            android:clickable="true"
							 | 
						||
| 
								 | 
							
								            android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								            android:paddingStart="15dp"
							 | 
						||
| 
								 | 
							
								            >
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <LinearLayout
							 | 
						||
| 
								 | 
							
								                android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								                android:layout_height="110dp"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:layout_gravity="top"
							 | 
						||
| 
								 | 
							
								                android:layout_weight="1"
							 | 
						||
| 
								 | 
							
								                android:background="@drawable/item_selector"
							 | 
						||
| 
								 | 
							
								                android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								                android:paddingStart="105dp"
							 | 
						||
| 
								 | 
							
								                android:paddingTop="5dp">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                <TextView
							 | 
						||
| 
								 | 
							
								                    android:id="@+id/bdTitle"
							 | 
						||
| 
								 | 
							
								                    android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:ellipsize="marquee"
							 | 
						||
| 
								 | 
							
								                    android:text="射雕英雄传"
							 | 
						||
| 
								 | 
							
								                    android:textColor="@color/colorPrimary"
							 | 
						||
| 
								 | 
							
								                    android:textSize="16sp"
							 | 
						||
| 
								 | 
							
								                    android:textStyle="bold"
							 | 
						||
| 
								 | 
							
								                    tools:ignore="HardcodedText,TextViewEdits" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                <TextView
							 | 
						||
| 
								 | 
							
								                    android:id="@+id/tvAuthor"
							 | 
						||
| 
								 | 
							
								                    android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:text="金庸"
							 | 
						||
| 
								 | 
							
								                    android:visibility="visible"
							 | 
						||
| 
								 | 
							
								                    tools:ignore="HardcodedText" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                <TextView
							 | 
						||
| 
								 | 
							
								                    android:id="@+id/txtLatestCate"
							 | 
						||
| 
								 | 
							
								                    style="@style/TextViewDesc"
							 | 
						||
| 
								 | 
							
								                    android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:layout_marginTop="2dp"
							 | 
						||
| 
								 | 
							
								                    android:ellipsize="end"
							 | 
						||
| 
								 | 
							
								                    android:lines="1"
							 | 
						||
| 
								 | 
							
								                    android:text=" "
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                <TextView
							 | 
						||
| 
								 | 
							
								                    android:id="@+id/txtLatestUpdate"
							 | 
						||
| 
								 | 
							
								                    style="@style/TextViewDesc.small"
							 | 
						||
| 
								 | 
							
								                    android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:lines="1"
							 | 
						||
| 
								 | 
							
								                    android:text=" "
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            </LinearLayout>
							 | 
						||
| 
								 | 
							
								        <LinearLayout
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								            android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:orientation="horizontal"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            >
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <TextView
							 | 
						||
| 
								 | 
							
								            style="@style/TextViewDesc.small"
							 | 
						||
| 
								 | 
							
								            android:layout_width="100dp"
							 | 
						||
| 
								 | 
							
								            android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:lines="1"
							 | 
						||
| 
								 | 
							
								            android:text="上次读到"
							 | 
						||
| 
								 | 
							
								            android:paddingEnd="15dp"
							 | 
						||
| 
								 | 
							
								           android:layout_gravity="center_vertical|center_horizontal"
							 | 
						||
| 
								 | 
							
								                android:gravity="right"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            />
							 | 
						||
| 
								 | 
							
								        <LinearLayout
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								                    android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                    android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								                    android:paddingLeft="5dp"
							 | 
						||
| 
								 | 
							
								                    >
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    <TextView
							 | 
						||
| 
								 | 
							
								                        android:id="@+id/txtLastDomain"
							 | 
						||
| 
								 | 
							
								                        style="@style/TextViewDesc.small"
							 | 
						||
| 
								 | 
							
								                        android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:lines="1"
							 | 
						||
| 
								 | 
							
								                        android:text=""
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                        />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    <TextView
							 | 
						||
| 
								 | 
							
								                        android:id="@+id/txtLatestReadChapter"
							 | 
						||
| 
								 | 
							
								                        style="@style/TextViewDesc.small"
							 | 
						||
| 
								 | 
							
								                        android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:lines="1"
							 | 
						||
| 
								 | 
							
								                        android:text="aaaaaaaaaa "
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                        />
							 | 
						||
| 
								 | 
							
								                    <TextView
							 | 
						||
| 
								 | 
							
								                        android:id="@+id/txtLatestVisit"
							 | 
						||
| 
								 | 
							
								                        style="@style/TextViewDesc.small"
							 | 
						||
| 
								 | 
							
								                        android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								                        android:lines="1"
							 | 
						||
| 
								 | 
							
								                        android:text="aaaaaaaaaaaa "
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                        />
							 | 
						||
| 
								 | 
							
								                </LinearLayout>
							 | 
						||
| 
								 | 
							
								        </LinearLayout>
							 | 
						||
| 
								 | 
							
								        </LinearLayout>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <android.support.v7.widget.CardView
							 | 
						||
| 
								 | 
							
								            android:id="@+id/cardView"
							 | 
						||
| 
								 | 
							
								            android:layout_width="80dp"
							 | 
						||
| 
								 | 
							
								            android:layout_height="100dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginStart="20dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginLeft="20dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginEnd="14dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginRight="14dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginBottom="5dp"
							 | 
						||
| 
								 | 
							
								            app:cardBackgroundColor="@color/white"
							 | 
						||
| 
								 | 
							
								            app:cardCornerRadius="6dp"
							 | 
						||
| 
								 | 
							
								            app:cardElevation="2dp">
							 | 
						||
| 
								 | 
							
								          <!--  <FrameLayout
							 | 
						||
| 
								 | 
							
								                android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                >-->
							 | 
						||
| 
								 | 
							
								            <ImageView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/imageG1"
							 | 
						||
| 
								 | 
							
								                android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								                android:layout_height="match_parent"
							 | 
						||
| 
								 | 
							
								                android:scaleType="centerCrop"
							 | 
						||
| 
								 | 
							
								                android:src="@drawable/googleg_standard_color_18"
							 | 
						||
| 
								 | 
							
								                tools:ignore="ContentDescription" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!--        <TextView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/tvImportTitle"
							 | 
						||
| 
								 | 
							
								                style="@style/TextViewNovelTitle"
							 | 
						||
| 
								 | 
							
								                android:layout_gravity="center"
							 | 
						||
| 
								 | 
							
								                android:layout_width="75dp"
							 | 
						||
| 
								 | 
							
								                android:gravity="center"
							 | 
						||
| 
								 | 
							
								                android:text=""
							 | 
						||
| 
								 | 
							
								                android:layout_weight="1"
							 | 
						||
| 
								 | 
							
								                android:visibility="gone"
							 | 
						||
| 
								 | 
							
								                />-->
							 | 
						||
| 
								 | 
							
								            <!--</FrameLayout>-->
							 | 
						||
| 
								 | 
							
								        </android.support.v7.widget.CardView>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </RelativeLayout>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <LinearLayout
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        android:orientation="horizontal"
							 | 
						||
| 
								 | 
							
								        android:layout_width="match_parent"
							 | 
						||
| 
								 | 
							
								        android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								        android:gravity="bottom"
							 | 
						||
| 
								 | 
							
								        android:background="@color/white"
							 | 
						||
| 
								 | 
							
								        android:paddingLeft="40dp"
							 | 
						||
| 
								 | 
							
								        android:paddingBottom="25dp"
							 | 
						||
| 
								 | 
							
								        android:paddingTop="25dp"
							 | 
						||
| 
								 | 
							
								        >
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <LinearLayout
							 | 
						||
| 
								 | 
							
								            android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								            android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:id="@+id/llClearCache"
							 | 
						||
| 
								 | 
							
								            android:gravity="bottom"
							 | 
						||
| 
								 | 
							
								            android:background="@drawable/item_selector"
							 | 
						||
| 
								 | 
							
								            android:clickable="true"
							 | 
						||
| 
								 | 
							
								            >
							 | 
						||
| 
								 | 
							
								            <TextView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/tvCache"
							 | 
						||
| 
								 | 
							
								                android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                android:layout_height="20dp"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:layout_gravity="center"
							 | 
						||
| 
								 | 
							
								                android:text=""
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:textColor="#212121" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <TextView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/tvClearCache"
							 | 
						||
| 
								 | 
							
								                android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                android:layout_height="20dp"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:layout_gravity="center"
							 | 
						||
| 
								 | 
							
								                android:text="清除缓存"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:textColor="#212121" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        </LinearLayout>.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <LinearLayout
							 | 
						||
| 
								 | 
							
								            android:id="@+id/llTop"
							 | 
						||
| 
								 | 
							
								            android:orientation="vertical"
							 | 
						||
| 
								 | 
							
								            android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:layout_height="wrap_content"
							 | 
						||
| 
								 | 
							
								            android:gravity="bottom|center_horizontal"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            android:background="@drawable/item_selector"
							 | 
						||
| 
								 | 
							
								            android:clickable="true"
							 | 
						||
| 
								 | 
							
								            android:layout_marginStart="30dp"
							 | 
						||
| 
								 | 
							
								            android:layout_marginEnd="5dp"
							 | 
						||
| 
								 | 
							
								           >
							 | 
						||
| 
								 | 
							
								            <ImageView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/imageTop"
							 | 
						||
| 
								 | 
							
								                android:layout_width="30dp"
							 | 
						||
| 
								 | 
							
								                android:layout_height="30dp"
							 | 
						||
| 
								 | 
							
								                android:layout_weight="1"
							 | 
						||
| 
								 | 
							
								                android:gravity="center"
							 | 
						||
| 
								 | 
							
								                android:src="@mipmap/star_active" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            <TextView
							 | 
						||
| 
								 | 
							
								                android:id="@+id/tvTop"
							 | 
						||
| 
								 | 
							
								                android:layout_width="wrap_content"
							 | 
						||
| 
								 | 
							
								                android:layout_height="20dp"
							 | 
						||
| 
								 | 
							
								                android:gravity="center"
							 | 
						||
| 
								 | 
							
								                android:text="置顶显示"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                android:textColor="#212121" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        </LinearLayout>.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </LinearLayout>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </LinearLayout>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |