浏览代码

Refactor : Move HorizontalView to view package

Wayne 6 年之前
父节点
当前提交
5d494a218b

+ 1 - 1
reader/src/main/java/com/kdanmobile/reader/HorizontalView.java

@@ -1,4 +1,4 @@
-package com.kdanmobile.reader;
+package com.kdanmobile.reader.view;
 
 import android.app.Activity;
 import android.content.Context;

+ 4 - 4
reader/src/main/res/layout/activity_reader.xml

@@ -42,7 +42,7 @@
             android:textSize="16sp"
             android:textStyle="bold"/>
     </android.support.v7.widget.Toolbar>
-    <com.kdanmobile.reader.HorizontalView
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_leftToolbar"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintTop_toTopOf="parent"
@@ -90,8 +90,8 @@
                     android:src="@drawable/ic_pagelist_search_nor" />
             </LinearLayout>
         </android.support.constraint.ConstraintLayout>
-    </com.kdanmobile.reader.HorizontalView>
-    <com.kdanmobile.reader.HorizontalView
+    </com.kdanmobile.reader.view.HorizontalView>
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_rightToolbar"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"
@@ -231,7 +231,7 @@
                     style="@style/ReaderLeftRightToolbarIImageButton" />
             </android.support.constraint.ConstraintLayout>
         </ScrollView>
-    </com.kdanmobile.reader.HorizontalView>
+    </com.kdanmobile.reader.view.HorizontalView>
     <android.support.constraint.ConstraintLayout
         android:id="@+id/viewGroup_readerActivity_bottomToolbar"
         android:background="@color/black_54"

+ 2 - 2
reader/src/main/res/layout/activity_reader_hide_all.xml

@@ -12,14 +12,14 @@
         app:layout_constraintBottom_toTopOf="parent"
         android:layout_width="0dp"
         android:layout_height="wrap_content" />
-    <com.kdanmobile.reader.HorizontalView
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_leftToolbar"
         app:layout_constraintRight_toLeftOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content" />
-    <com.kdanmobile.reader.HorizontalView
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_rightToolbar"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"

+ 2 - 2
reader/src/main/res/layout/activity_reader_hide_top_left_bottom.xml

@@ -12,14 +12,14 @@
         app:layout_constraintBottom_toTopOf="parent"
         android:layout_width="0dp"
         android:layout_height="wrap_content" />
-    <com.kdanmobile.reader.HorizontalView
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_leftToolbar"
         app:layout_constraintRight_toLeftOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content" />
-    <com.kdanmobile.reader.HorizontalView
+    <com.kdanmobile.reader.view.HorizontalView
         android:id="@+id/viewGroup_readerActivity_rightToolbar"
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"