Commit deb9628d by Wyh

3-09 首頁自動滑出問題

parent a88d8385
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:descendantFocusability="blocksDescendants"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- 側邊欄內容--> <!-- 側邊欄內容-->
<LinearLayout <LinearLayout
...@@ -54,8 +55,9 @@ ...@@ -54,8 +55,9 @@
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_side_menu" android:id="@+id/rv_side_menu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_marginTop="@dimen/dp_20"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginBottom="@dimen/dp_20"
android:layout_weight="1" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
......
...@@ -51,7 +51,7 @@ public class TimeUtils { ...@@ -51,7 +51,7 @@ public class TimeUtils {
*/ */
public static String dateFormatAHM = "aHH:mm"; public static String dateFormatAHM = "aHH:mm";
public static SimpleDateFormat dateFormatYMDE = new SimpleDateFormat("yyyy/MM/dd E"); public static SimpleDateFormat dateFormatYMDE = new SimpleDateFormat("yyyy/MM/dd E");//, Locale.TRADITIONAL_CHINESE
public static String dateFormatYMD2 = "yyyy/MM/dd"; public static String dateFormatYMD2 = "yyyy/MM/dd";
private TimeUtils() { private TimeUtils() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment